Solved

cant fix warning 512 in cakephp

Posted on 2014-09-29
6
121 Views
Last Modified: 2014-11-01
In cakephp i keep getting this warning on random pages. I am using cpanel.
I have set app/tmp folder  chmod 777

Warning (512): _cake_core_ cache was unable to write 'method_cache' to Apc cache
0
Comment
Question by:jagguy
  • 4
  • 2
6 Comments
 
LVL 36

Expert Comment

by:Loganathan Natarajan
ID: 40349830
are you sure you've cleared the folders and set the permission? it is better delete folders and set permissions to run.
0
 

Author Comment

by:jagguy
ID: 40351197
ok could you please be specific as short general answers usually dont go anywhere.

you mean the files in the app/tmp folder like cache , I can delete these files and folders then recreate the folders in app/tmp with permissions?
I am not touching it until I get clearer directions
0
 
LVL 36

Expert Comment

by:Loganathan Natarajan
ID: 40351396
Yes, I meant "app/tmp" ... just delete and recreate with permissions...
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Author Comment

by:jagguy
ID: 40370581
I still get the warning when I try to view a file stored as a link in the DB with cakephp. I did as you said wit the file permissions
0
 

Accepted Solution

by:
jagguy earned 0 total points
ID: 40407677
I fixed the problem by removing an empty foreach
0
 

Author Closing Comment

by:jagguy
ID: 40416994
i found the problem
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now