Solved

cant fix warning 512 in cakephp

Posted on 2014-09-29
6
114 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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Join & Write a Comment

Suggested Solutions

In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
This article discusses how to create an extensible mechanism for linked drop downs.
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 dynamically set the form action using jQuery.

706 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

19 Experts available now in Live!

Get 1:1 Help Now