Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installation problems


drumlegend

Recommended Posts

This is the 3rd attempt at installing os commerce and I am still having issues, I can finally visualize the page but none of the images or style sheets seem linked.

 

I hope someone could help me out with this.

 

Thanks in advance.

 

http://www.iamlawrence.co.uk/ - This is what it's currently installed on. If you need anything else then let me know.

Link to comment
Share on other sites

@@drumlegend

 

It looks to me like you are using a commercial template, if so, you should seek support from the template supplier.

 

Having said that, check your /includes/configure.php file, you have several errors in it that are causing the issues.

 

 

 

Chris

Link to comment
Share on other sites

@@drumlegend

 

It looks to me like you are using a commercial template, if so, you should seek support from the template supplier.

 

Having said that, check your /includes/configure.php file, you have several errors in it that are causing the issues.

 

 

 

Chris

 

Thank you, but I'm just using the default template that came with the os commerce download. I have made no changes at all.

Link to comment
Share on other sites

@@drumlegend

 

The error still lies in the /includes/configure.php file. Once you correct those errors, the layout will render properly and the links will work.

 

 

 

Chris

Link to comment
Share on other sites

@@drumlegend

 

The error still lies in the /includes/configure.php file. Once you correct those errors, the layout will render properly and the links will work.

 

 

 

Chris

 

This is the configure file, I'm not sure what to change exactly as I have never done this before.

 

<?php

define('HTTP_SERVER', '://');

define('HTTPS_SERVER', '://');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', '');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', 'www.iamlawrence.co.uk/');

define('HTTPS_COOKIE_PATH', 'www.iamlawrence.co.uk/');

define('DIR_WS_HTTP_CATALOG', 'www.iamlawrence.co.uk/');

define('DIR_WS_HTTPS_CATALOG', 'www.iamlawrence.co.uk/');

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

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

define('DIR_WS_INCLUDES', 'includes/');

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', '//PDC3/sites/i/iamlawrence.co.uk/public_html/');

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

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

 

define('DB_SERVER', '10.168.1.55');

define('DB_SERVER_USERNAME', 'iamlawre_admin');

define('DB_SERVER_PASSWORD', 'admin');

define('DB_DATABASE', 'iamlawre_shop');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', 'mysql');

define('CFG_TIME_ZONE', 'Europe/London');

?>

Link to comment
Share on other sites

This seems to be an attempt to install directly into the public_html directory, instead of into a sub-directory with a name like 'catalog'. Just follow standard procedure, I would have thought, and accept all defaults. The configure file is indeed a mess. Here's what my

 

public_html/catalog/includes/configure.php

 

looks like

 

<?php
define('HTTP_SERVER', 'http://www.xxxxxxxxxx.co.uk');
define('HTTPS_SERVER', 'http://www.xxxxxxxxxx.co.uk');
define('ENABLE_SSL', false);
define('HTTP_COOKIE_DOMAIN', '');
define('HTTPS_COOKIE_DOMAIN', '');
define('HTTP_COOKIE_PATH', '/catalog/');
define('HTTPS_COOKIE_PATH', '/catalog/');
define('DIR_WS_HTTP_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/catalog/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_INCLUDES', 'includes/');
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/xxxxxxxxxx/public_html/catalog/');
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', 'xxxxxxxxxx_xxxxxxxxxx');
define('DB_SERVER_PASSWORD', 'xxxxxxxxxx');
define('DB_DATABASE', 'xxxxxxxxxx_xxxxxxxxxx');
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', 'mysql');
define('CFG_TIME_ZONE', 'UTC');
?>

 

As an alternative to downloading from the osCommerce site, your cPanel may offer you an icon called 'Site Software' or 'Fantastico De Luxe'.

Link to comment
Share on other sites

Hi Lawrence'

 

your

 

<script type="ext/jquery/ui/jquery-ui-1.8.22.min.js"></script>

 

Is completely wrong not sure how you got that but something has gone wrong with your install so either replace the above mentioned js file

or do a new install.

 

Regards

 

Joli

To improve is to change; to be perfect is to change often.

 

Link to comment
Share on other sites

As an alternative to downloading from the osCommerce site, your cPanel may offer you an icon called 'Site Software' or 'Fantastico De Luxe'.

These "one button" installers should be avoided if possible. They usually end up piling on extra stuff that you don't want, or configuring your site in a bizarre manner. They're OK for making a test install to see what a product looks like, but for real production use I recommend doing a manual installation.

 

And yes, any major subsystem like osC should always be installed in its own directory (subtree), such as /shop or /catalog. This keeps different applications from interfering with each other and keeps the files cleanly separated. You avoid the problem of one application's .htaccess in the root messing up other applications before their own .htaccess files are called.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...