PHP or MySQL
I have been asked to resolve an issue and I dont really know where to start. I have googled as much as I can but havent really got any answers.
Basically our webmaster has been taking backups of our website for months now with no problem but he now needs to restore one, however when restoring it comes up with an error reporting that it doesnt have permission to wincache_ucache_get on line 48 and we are unable to restore a back up.
We are using Akeeba. We are currently usin php 5.1 which we believe could be the problem however i'd rather get a second opion and ensure if we do upgrade it doesnt cause any major issues
I have 0 knowledge about this so any help will be very usefull
Thankyou in advance
Backing up a website comes in two parts - the database itself and the PHP files.
In my opinion (from what you describe) it does sound like a database issue.
Would you recommend that we upgrade from php5.1 to 5.3?
Sorry for being a noob
If you've been using PHP 5.1 all along, then I would stick with that until this issue is resolved - then upgrade to PHP 5.3.
Could this not be the cause of the problem though? After reading on the Akeeba website that php 5.1 is not supported on joomla 2.5, but this could fix one problem and cause even more
Possibly, but then why are you using PHP 5.1 at all if that's the case?
Generally when restoring files or a database, the configuration needs to be identical or as close to, to avoid potential restore problems.
i'd look for a folder called:
take a notes of it's current permissions then set them 777 - full read and write.
try the restore again and if it all works reset the permissions on the folder back to what they were before
wincache_ucache_get is a php function which returns a variable stored in the user cache, so it is doubtful that you will find a file called that. You need to know what is it trying to get from cache to resolve the issue. Check the apache error log files.
if you host externally then just ask your host restore from backup they might make a small charge but it Will save you time and effort