Page 1 of 1

How to reboot web site ??

Posted: Tue Oct 07, 2014 5:46 pm
by lochs
Is it possible to restart the web site? How?

I changed a .php page and found a bug in the new code.
I replaced the original page (same file name)
Now I get errors like

Notice: Undefined index: isadmin in /nfs/www/WWW_pages/lochs/ochslabs.com/cdb/prov/plogin_proc.php on line 76

the code at line 76
if ($_SESSION['isadmin'] == 1 && $backdoor) {

I'm just guessing my cache just messed up ?
So, the restart?

Any ideas?

Re: How to reboot web site ??

Posted: Wed Oct 08, 2014 12:19 pm
by cdkeen
Inside your web root there is a folder named .snapshot (which does not show up with ls) that you can use to restore your files from the shell. The oldest backups in the folder will be 1 week old while you will find 2 daily backups and multiple hourly backups as well. I hope this information helps you.