Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't access admin folder


(a)ndy

Recommended Posts

Posted

Hi, just finished my first osc install. The main shopping area seems to be operating fine but when I enter the admin folder I get this message:

 

Warning: main(../../admin/includes/configure.php): failed to open stream: No such file or directory in /home/fhlinux203/m/mbs.com/user/htdocs/catalog/admin/includes/application_top.php on line 29

 

Warning: main(../../admin/includes/configure.php): failed to open stream: No such file or directory in /home/fhlinux203/m/mbs.com/user/htdocs/catalog/admin/includes/application_top.php on line 29

 

Fatal error: main(): Failed opening required '../../admin/includes/configure.php' (include_path='.:/usr/share/pear') in /home/fhlinux203/m/mbs.com/user/htdocs/catalog/admin/includes/application_top.php on line 29

Looking at the file through ftp it does exist and it is there. Any ideas on what could be wrong? Do you think that there may be some permissions issue on the configure.php file?

 

Thanks, (a)ndy

Posted

I answered my own problem.

 

There were too many ../ in the application_top.php file.

 

I changed ../../admin..... to ../admin and it worked.

 

(a)ndy

Posted

And for those confused by the ../.. bit (I was)...

 

I had let Dreamweaver update all of the php files when I renamed the admin folder to something else.

 

My recommendation - don't let dreamweaver update the files when you rename the folder (if you do this locally first). Use explorer instead.

 

Everything seems to be working 100% from an admin point of view. :D

 

(a)ndy

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...