Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Anyone tell me why nothing works?


Guest

Recommended Posts

Posted

http://www.dogngun.com

 

Had my host install oscommerce, but nothing seems to work on my site. Click to login or register, nothing. Try to click on the one product I added, nothing. Click on any of the information links and nothing happens. When I add a picture to a product it uploads it to the admin images folder instead of the other one. Nothing works on this site. Any ideas why?

Posted
http://www.dogngun.com

 

Had my host install oscommerce, but nothing seems to work on my site. Click to login or register, nothing. Try to click on the one product I added, nothing. Click on any of the information links and nothing happens. When I add a picture to a product it uploads it to the admin images folder instead of the other one. Nothing works on this site. Any ideas why?

 

 

Hi!

 

When I try to see you products I get the following 500 error "Can"t find :

"www.dogngun.comdir_ws_http_catalogindex.php" "

 

So it looks like the path files in your configure.php files are not correct. Check them out once again. The same is for your images... you must have the path to the catalog incorrectly defined.

Posted
Hi!

 

When I try to see you products I get the following 500 error "Can"t find :

"www.dogngun.comdir_ws_http_catalogindex.php" "

 

So it looks like the path files in your configure.php files are not correct. Check them out once again. The same is for your images... you must have the path to the catalog incorrectly defined.

..and find another host...

Posted
Hi!

 

When I try to see you products I get the following 500 error "Can"t find :

"www.dogngun.comdir_ws_http_catalogindex.php" "

 

So it looks like the path files in your configure.php files are not correct. Check them out once again. The same is for your images... you must have the path to the catalog incorrectly defined.

 

Thanks for the help, maybe you can have a look at the top part of my config file and tell me what could be wrong?

 

  define('HTTP_SERVER', 'http://www.dogngun.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://www.dogngun.com');
 define('HTTPS_CATALOG_SERVER', 'https://www.dogngun.com');
 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/'); // absolute path required
 define('DIR_FS_CATALOG', '/'); // absolute path required
 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/');

Posted
Thanks for the help, maybe you can have a look at the top part of my config file and tell me what could be wrong?

 

  define('HTTP_SERVER', 'http://www.dogngun.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTP_CATALOG_SERVER', 'http://www.dogngun.com');
 define('HTTPS_CATALOG_SERVER', 'https://www.dogngun.com');
 define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module
 define('DIR_FS_DOCUMENT_ROOT', '/'); // where the pages are located on the server
 define('DIR_WS_ADMIN', '/admin/'); // absolute path required
 define('DIR_FS_ADMIN', '/admin/'); // absolute pate required
 define('DIR_WS_CATALOG', '/'); // absolute path required
 define('DIR_FS_CATALOG', '/'); // absolute path required
 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/');

This is the admin configure.php. you should please also show the includes/configure.php

As for this one the following entries should have absolute paths, ie.:

  define('DIR_FS_DOCUMENT_ROOT', '/home/httpd/vhosts/yourdomain.com/httpdocs/'); // where the pages are located on the server
 define('DIR_FS_ADMIN', '/home/httpd/vhosts/yourdomain.com/httpdocs/admin/'); // absolute pate required
 define('DIR_FS_CATALOG', '/home/httpd/vhosts/yourdomain.coml/httpdocs/'); // absolute path required

Posted

That was my regular config file, maybe the admin one got added to the wrong folder? I changed the admin config, would it be possible for you to post a working config file (from the main includes folder) for me to look at?

 

Really appreciate the help :)

Posted
That was my regular config file, maybe the admin one got added to the wrong folder? I changed the admin config, would it be possible for you to post a working config file (from the main includes folder) for me to look at?

 

Really appreciate the help :)

That must be it. Here you have the one for the (catalog)/includes directory:

<?php
/*
 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
 define('HTTP_SERVER', 'http://www.yourdomain.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://www.yourdomain.com'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', 'www.yourdomain.com');
 define('HTTPS_COOKIE_DOMAIN', 'www.yourdomain.com');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');
 define('DIR_WS_HTTP_CATALOG', '/');
 define('DIR_WS_HTTPS_CATALOG', '/');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 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_DOWNLOAD_PUBLIC', 'pub/');
 define('DIR_FS_CATALOG', '/home/httpd/vhosts/xxxxx/httpdocs/');
 define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
 define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
 define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers
 define('DB_SERVER_USERNAME', 'xxxxx');
 define('DB_SERVER_PASSWORD', 'xxxxx');
 define('DB_DATABASE', 'xxxxx');
 define('USE_PCONNECT', 'false'); // use persistent connections?
 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

 

Be careful, this is from a root install with SSL activated.

Posted

It works! Thank you so much to everyone who helped me :)

Archived

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

×
×
  • Create New...