Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

cant fix warning 512 in cakephp

Posted on 2014-09-29
6
Medium Priority
?
234 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
This post contains step-by-step instructions for setting up alerting in Percona Monitoring and Management (PMM) using Grafana.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

876 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