Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

500 Internal server error


zpupster

Recommended Posts

Posted

hello support,

 

500 Internal server error-- when trying to reach admin section of site

 

 

 

i have a few sites on a home pc --wamp testing server.

 

apache version-2.2..21

php - 5.38

mysql - 5.5.16

 

1 testing site works fine, with oscommerce 2.2, and i have a oscommerce 2.3.3 on hosting site.

 

both work fine, but i can not get the admin to work on this third site--(also 2.3.3)

 

i am looked at the error log nothing there i have been combing over the admin config file and comparing with the admin files that are working.

 

if someone would be kind enough to look at this config file maybe i am missing something.

 

thanks,

 

craig

 

<?php
 define('HTTP_SERVER', 'http://asite.dyndns.com');
 define('HTTP_CATALOG_SERVER', 'http://asite.dyndns.com');
 define('HTTPS_CATALOG_SERVER', 'http://asite.dyndns.com');
 define('ENABLE_SSL_CATALOG', 'false');
 define('DIR_FS_DOCUMENT_ROOT', 'C:/wamp/www/asite/');
 define('DIR_WS_ADMIN', '/admin/');
 define('DIR_FS_ADMIN', 'C:/wamp/www/asite/admin/');
 define('DIR_WS_CATALOG', '/asite/');
 define('DIR_FS_CATALOG', 'C:/wamp/www/asite/');
 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('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 define('DB_SERVER', 'localhost');
 define('DB_SERVER_USERNAME', 'user');
 define('DB_SERVER_PASSWORD', 'password');
 define('DB_DATABASE', '_db');
 define('USE_PCONNECT', 'false');
 define('STORE_SESSIONS', 'mysql');
?>

Posted

That appears to be the configure file from the site since it has the domain name in it but it also has what is, assumedly, the path to your local setup - 'C:/wamp/www/asite/admin' and that is not correct.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted

no this is not from the site it is a fake domain from dyndns . i use it so i can put wamp online,

 

also

 

'C:/wamp/www/asite/admin' and that is not correct.

 

i do not understand this because i am comparing this from a site on the same server that does locate the admin section but that is

oscommerce 2.2.

 

could you be more specific??

 

thanks, craig

Posted

I meant it was not correct for a live shop. Since you didn't provide accurate information, there's no way to comment on it. Internal 500 errors can be caused by many things so it may not even be related to your configure file. Many times it is because the .htaccess file has an invalid command in it (for the server). It is usually best to ask the host to look at the problem when these popup.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Archived

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

×
×
  • Create New...