Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can't access admin panel, it won't find config file!


Paul J. McCain

Recommended Posts

Posted

Hello,

 

I searched for this but couldn't find anything!!! I am sorry if this isn't posted right or anything because I am sort of a noob... Please help me, I get 15-20 orders a day and need to be able to use my admin panel! :( Right now the entire user side of the site is fully functional but I cannot access the admin side.

 

I get this error:

 

Warning: require(includes/configure.php) [function.require]: failed to open stream: No such file or directory in /home/diodedyn/public_html/catalog/admin/includes/application_top.php on line 28

 

Warning: require(includes/configure.php) [function.require]: failed to open stream: No such file or directory in /home/diodedyn/public_html/catalog/admin/includes/application_top.php on line 28

 

Fatal error: require() [function.require]: Failed opening required 'includes/configure.php' (include_path='/usr/local/lib/php/Zend') in /home/diodedyn/public_html/catalog/admin/includes/application_top.php on line 28

 

 

I guess it is not finding my admin configuration file? My admin configuration file:

 

<?php
 define('HTTP_SERVER', 'http://www.diodedynamics.com');
 define('HTTP_CATALOG_SERVER', 'http://www.diodedynamics.com');
 define('HTTPS_CATALOG_SERVER', 'https://www.diodedynamics.com');
 define('ENABLE_SSL_CATALOG', 'false');
 define('DIR_FS_DOCUMENT_ROOT', '/home/diodedyn/public_html/catalog/');
 define('DIR_WS_ADMIN', '/catalog/admin/');
 define('DIR_FS_ADMIN', '/home/diodedyn/public_html/catalog/admin/');
 define('DIR_WS_CATALOG', '/catalog/');
 define('DIR_FS_CATALOG', '/home/diodedyn/public_html/catalog/');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
 define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
 define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
 define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
 define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 define('DB_SERVER', 'localhost');
 define('DB_SERVER_USERNAME', '**removed**');
 define('DB_SERVER_PASSWORD', '**removed**');
 define('DB_DATABASE', 'diodedyn_commerce');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', 'mysql');
?>

 

Now here is the WEIRD part:

I was using it yesterday, last night, earlier this morning... just fine... all of the sudden, BAM! It stops "finding" the configuration file!!

 

I upgraded to the latest version about a week ago, no problems. Pretty modded but nothing extreme. It has been working beautifully for months.

 

http://www.diodedynamics.com

 

Can anyone help me? I am trying to fix this because I need to view and ship orders!!

 

Thanks so much,

Paul

Posted

I just had a look and the log in screen it seems to be OK,

tried to enter a password and it said it was incorrect as it should do.

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted

Odd, yes, try editing your appliction_top.php & put the full path to your config file, ie

 

replace

 

includes/configure.php

 

with

 

/home/diodedyn/public_html/catalog/admin/includes/configure.php

 

also check your site with ftp for any changes

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Archived

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

×
×
  • Create New...