Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / DELETED main Index.php file

DELETED main Index.php file

Locked

Views: 1,470

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
21 Jul 2010, 2:16 PM
#1
leest35 avatar

leest35

Zen Follower

Join Date:
May 2010
Location:
London UK
Posts:
134
Plugin Contributions:
0

DELETED main Index.php file

OK,

Whilst uploading a file i got side tracked and uploaded another index.php file and overided the main index.php. I immeidatley realised and from a backup folder uploaded the index.php file i had downloaded once i had installed zencart.

However my problem is now that it has just crashed and displays the following message.

Warning: require_once(hide_config_files.php) [function.require-once]: failed to open stream: No such file or directory in /home/pestcont/public_html/index.php on line 28

Fatal error: require_once() [function.require]: Failed opening required 'hide_config_files.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/pestcont/public_html/index.php on line 28

The file it refers to just simply doesn't exist and so i have no idea if i can save this or what to do can some pne please help.

Thanks

Lee

21 Jul 2010, 2:27 PM
#2
leest35 avatar

leest35

Zen Follower

Join Date:
May 2010
Location:
London UK
Posts:
134
Plugin Contributions:
0

Re: DELETED main Index.php file

Ok, i Managed to get it back, i just found the missing file.

Thanks

22 Jul 2010, 2:08 PM
#3
david52 avatar

david52

Zen Follower

Join Date:
Jun 2010
Location:
USA
Posts:
176
Plugin Contributions:
0

Re: DELETED main Index.php file

Tip, before you make any changes, and I have only been a zenner for a month and its not easy at first, but after u get the hang of it is really easy cart to set up. Anyway before you make any changes, Copy the file first and paste it in say notepad, then the changes you make, if they are not right or you crash, simply go back to note pad and copy the original file and past it back into you editor and re upload it. Thats what I have learned.
David :yes: