Forums

unable to restore

k0r54 07 Jul, 2008
Hi,

For some reason I am unable to restore files. I downloaded the test form and it just goes blank after I have restored it and when i go back it does not show up. I then did a backup of a form I made then deleted it and when i tried to restore it, it did the same thing?

Any ideas?

Thanks
k0r54
GreyHead 08 Jul, 2008
Hi k054,

I've restored many files on my local system and on live systems without any problem. I have seen restore problems a couple of times. The causes were - if I recall correctly - write permissions in one case and an obscure MySQL bug in another.

Your best bet is to turn PHP Error reporting up to Maxaimum and turn Joomla debug on and see if you can get to see a helpful error message. There is some kind of error happening in the restore process - until you know what it is you don't know what to do to fix it.

Bob
k0r54 10 Jul, 2008
hey,

I have turned on the reporting on the joomla config but where does it record the logs?

Thanks
k0r54
GreyHead 11 Jul, 2008
Hi Kr054,

Joomla debug should show at the foot of the page. Don't know about logging - probably to whatever is the standard output.

Bob
k0r54 12 Jul, 2008
Hi,

There is no error being reported at the foot of the page, despite me putting the debug up to maximum? I dont know about the logging where to enable it or where the output is.

Any ideas? I have checked the chmod of my folders/files in the chrono folder and they are all 755. I have made them 777 but it shouldn't matte i dont think.

k0r54
GreyHead 12 Jul, 2008
Hi kr054,

I think it's probably not a permissions problem. Hard to know where to go next without any error messages. If the site is on-line you can email me ftp & admin access and I'll take a look but it won't be until the end of next week as we're about to go off for a few days to London.

Bob
k0r54 12 Jul, 2008
I will send you the ftp details over the week.

As a last attempt I have removed the component and going to put it back on however i wanted to check. On your download section the is the 2.3.9 upgrade and then the normal. What one do i need?

Thanks
k0r54
GreyHead 12 Jul, 2008
Hi kr054,

Use the 'normal' to re-install, the 'upgrade' ahs teh same files but is structured to be used as an ftp upload to overwrite an exisiting installation.

Bob
k0r54 12 Jul, 2008
Hi,

Thanks for your fast response! do i need to then run the upgrade and upload them via FTP?
GreyHead 12 Jul, 2008
Hi kr054,

No, uninstall the old version.clean up if any files are left around then use the Joomla installer to install the 'normal version.

Bob
k0r54 12 Jul, 2008
nope, same problem!

Anything else i might be able to try? before you look next week?
k0r54 13 Jul, 2008
Problem Solved!

Ok basicly I had no cache folder on the root!

I went through the code and did a search for the upload command. I then found restore2 fuction. I put in echo "boo"; and a few different places and it displayed it up till

if( is_writable($path) ) {


I then looked at what $path was and realised I had no cache folder on the root dir. I created the folder and it then uploaded no prob.

Just as a note it might be useful to put and else on that if statement just saying that the $path is no accessible please make sure it exists and you have write permissions to it.

Thanks for your help
k0r54
GreyHead 18 Jul, 2008
Hi k0r54,

Thanks for that - good catch. Hopefully Max will add the path check in a future version.

Bob
This topic is locked and no more replies can be posted.