Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Urgent help needed!


Guest

Recommended Posts

Hi,

 

Can you please help me, I installed OScommerce to my virtual server. Everything seems to be working - but no.. I dont know why, but all pictures, like ENGLISH, LOG IN etc doesnt work. But they are uploaded to FTP server well. And if I press My Account, it says page cannot be displayed :x Administration page works correctly. Please help me!! Shop address is http://shop.fsbaltic.net/catalog

Link to comment
Share on other sites

Are you sure you have buttons in /catalog/includes/languages/english/images/buttons

 

Also, see if you are using $DOCUMENT_ROOT in your configure.php files and if so, change to the real path instead.

Link to comment
Share on other sites

Yes, IM SURE that all pictures are availalble in my server correct directory, double checked it too. What you mean in that root thing? Please help!

Link to comment
Share on other sites

This is my config file :

 

<?php

/*

 osCommerce, Open Source E-Commerce Solutions

 http://www.oscommerce.com



 Copyright (c) 2002 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://shop.fsbaltic.net'); // eg, http://localhost - should not be NULL for productive servers

 define('HTTPS_SERVER', 'http://shop.fsbaltic.net'); // eg, https://localhost - should not be NULL for productive servers

 define('ENABLE_SSL', false); // secure webserver for checkout procedure?

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

 define('DIR_WS_IMAGES', 'images/');

 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

 define('DIR_WS_INCLUDES', 'includes/'); // If "URL fopen wrappers" are enabled in PHP (which they are in the default configuration), this can be a URL instead of a local pathname

 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', DIR_WS_CATALOG . 'pub/');

 define('DIR_FS_DOCUMENT_ROOT', '/home/clients/shop.fsbaltic.net/www');

 define('DIR_FS_CATALOG', '/home/clients/shop.fsbaltic.net/www/catalog/');

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

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



// define our database connection

 define('DB_SERVER', 'data.nss.ee'); // eg, localhost - should not be NULL for productive servers

 define('DB_SERVER_USERNAME', 'fsbaltic');

 define('DB_SERVER_PASSWORD', '********');

 define('DB_DATABASE', 'fsbaltic');

 define('USE_PCONNECT', 'false'); // use persistent connections?

 define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

Link to comment
Share on other sites

Right-click one of the images and look at the properties for it. What is the link that is given?

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Link to comment
Share on other sites

try removing the .htaccess file from the includes directory.

That might be causing it. (If your server isn't configured properly to parse .htaccess files)

 

Mattice

"Politics is the art of preventing people from taking part in affairs which properly concern them"

Link to comment
Share on other sites

Bah! :lol:

 

Georg, if that does work then you'll need to do one of two things:

 

1)

 

In your httpd.conf, you need to do:

 

#

# Each directory to which Apache has access, can be configured with respect

# to which services and features are allowed and/or disabled in that

# directory (and its subdirectories).

#

# First, we configure the "default" to be a very restrictive set of

# permissions.

#

<Directory />

Options FollowSymLinks Includes

AllowOverride AuthConfig FileInfo Limit

 

</Directory>

 

Make sure that the Limit tag is in there, and then the problem will be solved.

 

 

or

 

 

2) Add in a blank index.htm file in every directory inside the includes directory.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...