Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

cant access admin


paragonleather

Recommended Posts

Posted

Warning: main(DIR_WS_INCLUDESincludes/filenames.php): failed to open stream: No such file or directory in /home2/leather/paragonleather-www/catalog/admin/includes/application_top.php on line 44

 

Fatal error: main(): Failed opening required 'DIR_WS_INCLUDESincludes/filenames.php' (include_path='./:/usr/local/lib/php') in /home2/leather/paragonleather-www/catalog/admin/includes/application_top.php on line 44

 

cant access my admin control pannel now... i must be really stupid cause i keep messing stuff up without meanin to...

 

can someone please help me clean this up?

Posted

both the warning and fatal error state DIR_WS_INCLUDESincludes/filenames.php

 

the first part should not show DIR_WS_INCLUDES then have includes following so this would indicate a wrong path or and missing define in your configure.php file for admin/includes/configure.php

 

there is a path to the file in includes/filenames.php however the includes should be contained within the define DIR_WS_INCLUDES

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Posted

You would need to check the defines in configure.php to see what the path is and that it is coded correctly then most likely in applications_top check that the code is correct for line 44

 

which is different in my setups to what I would guess that you have in your setup.

 

my guess would be based on the information that you have provided that line 44 of applications_top.php is meant to be this

// include the list of project filenames
 require(DIR_WS_INCLUDES . 'filenames.php');

 

where the DIR_WS_INCLUDES is defined in the configure.php file as being

  define('DIR_WS_INCLUDES', 'includes/');

No longer giving free advice. Please place deposit in meter slot provided.  Individual: [=] SME: [==] Corporation: [===]
If deposit does not fit one of the slots provided then you are asking too much! :P

Is your Osc dated try Phoenix  raising oscommerce from the ashes.

Archived

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

×
×
  • Create New...