Solved

cant fix warning 512 in cakephp

Posted on 2014-09-29
6
145 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

 

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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
When table data gets too large to manage or queries take too long to execute the solution is often to buy bigger hardware or assign more CPUs and memory resources to the machine to solve the problem. However, the best, cheapest and most effective so…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

738 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