How to reboot web site ??

Web hosting discussion, programming, and shared and dedicated servers.
2 posts Page 1 of 1
by lochs » Tue Oct 07, 2014 5:46 pm
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?
by cdkeen » Wed Oct 08, 2014 12:19 pm
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.
cdkeen - Sonic.net System Operations
2 posts Page 1 of 1