Solved

cant fix warning 512 in cakephp

Posted on 2014-09-29
6
171 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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 

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

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
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.

635 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