Forums / General Questions / Warning: require(includes/filenames.php) After editing some files Cant get in Admin!

Warning: require(includes/filenames.php) After editing some files Cant get in Admin!

Views: 785

Results 1 to 4 of 4
12 Sep 2012, 6:26 PM
#1
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Warning: require(includes/filenames.php) After editing some files Cant get in Admin!

PLEASE HELP ASAP!

Warning: require(includes/filenames.php) [function.require]: failed to open stream: No such file or directory in /home/nothingb/public_html/myadminname/includes/init_includes/init_file_db_names.php on line 26

Warning: require(includes/filenames.php) [function.require]: failed to open stream: No such file or directory in /home/nothingb/public_html/myadminname/includes/init_includes/init_file_db_names.php on line 26

Fatal error: require() [function.require]: Failed opening required 'includes/filenames.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nothingb/public_html/myadminname/includes/init_includes/init_file_db_names.php on line 26

I was editing some files but now I cant get into my admin....

Any help ASAP much needed.

I am running 1.3.8a

12 Sep 2012, 6:45 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Warning: require(includes/filenames.php) After editing some files Cant get in Admin!

If you're really on v1.3.8a, you need to rename your admin right now so a hacker doesn't find your admin and break in. Then work on upgrading to a secure version.
Your question doesn't give much to go on... what file(s) were you editing? filenames.php?

12 Sep 2012, 7:59 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Warning: require(includes/filenames.php) After editing some files Cant get in Admin!

milobloom:

I was editing some files but now I cant get into my admin....
Therein lies the answer.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

12 Sep 2012, 9:51 PM
#4
milobloom avatar

milobloom

Totally Zenned

Join Date:
Feb 2004
Posts:
1,267
Plugin Contributions:
1

Re: Warning: require(includes/filenames.php) After editing some files Cant get in Admin!

DrByte:

Therein lies the answer.

I get that... But now I restored from backup and the problem is still there.
The backup was from a few days ago when I did have access to the backend.

I am thinking a permissions issue?? Any files that may have been corrupted?
Also the odd part is I cannot get into admin but the only files I edited were not admin
folder files.