Jump to content

Recommended Posts

Posted

Now that I have the SSL problem fixed, another problem cropped up. In the admin section, when I click the Stock button to add stock, it tries to go to this address:

 

http://admin/stock.php?option6=1&quantity=...=101&action=Add

 

When it should be going to

 

http:/www.kaptainkiddo.com/admin/stock.php?option6=1&quantity=45&product_id=101&action=Add

 

Or, when I click the stock button, it sends me back to the log in screen. I've been playing with the contents of the configure file and can only get these two results.

 

Here is my configuration file for the main site and the admin section:

 

MAIN SITE

 

define('HTTP_SERVER', 'http://www.kaptainkiddo.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://www.kaptainkiddo.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.kaptainkiddo.com');

define('HTTPS_COOKIE_DOMAIN', 'www.kaptainkiddo.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/content/p/i/l/pilot33/html/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

 

ADMIN

 

define('HTTP_SERVER', 'http://www.kaptainkiddo.com/'); // eg, http://localhost - should not be empty for productive servers

define('HTTP_CATALOG_SERVER', 'http://www.kaptainkiddo.com');

define('HTTPS_CATALOG_SERVER', 'https://www.kaptainkiddo.com');

define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

define('DIR_FS_DOCUMENT_ROOT', '/home/content/p/i/l/pilot33/html/'); // where the pages are located on the server

define('DIR_WS_ADMIN', 'admin/'); // absolute path required

 

define('DIR_FS_ADMIN', '/home/content/p/i/l/pilot33/html/admin/'); // absolute pate required

 

define('DIR_WS_CATALOG', '/'); // absolute path required

 

define('DIR_FS_CATALOG', '/home/content/p/i/l/pilot33/html/'); // 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/');

 

 

Thanks in advance for any help.

Posted

Sondov,

 

Is this an OSCommerce site? It appears you are not hosting at TCH, are you on a windows server?

 

I have heard of problems like this with OSCommerce and Zen-Cart for sites hosted on windows servers.

 

Also, when I go to your site, all of the images break, I don't see any images.

Posted
Sondov,

 

Is this an OSCommerce site?  It appears you are not hosting at TCH,  are you on a windows server?

 

I have heard of problems like this with OSCommerce and Zen-Cart for sites hosted on windows servers.

 

Also, when I go to your site, all of the images break, I don't see any images.

 

 

It's a linux server.

 

I get the images when I open it. That's weird.

 

Have you heard of any fixews for this problem?

Posted

Well, now all the images show! Nice Site!

 

Did this just start happening? I am sorry, I don't know the fix. However I do recall reading that someone had a similar problem and it turned out that it was due to their host (NOT TCH) not having the latest versions of PHP and ZendOptimizer installed.**

 

Have you tried asking at the OSC forums?

 

**Actually I think they had upgraded PHP but not ZendOptimizer.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...