Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

After the installation No Graphics


alkhataat

Recommended Posts

Look in your includes/configure.php file. Some of the paths have not had data written to them. You've probably still got settings like this in that file:

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');

 

 

It should, after installation, have the full file path e.g.

 

define('DIR_FS_CATALOG', '/var/www/html/catalog/');

 

Vger

Link to comment
Share on other sites

Look in your includes/configure.php file. Some of the paths have not had data written to them. You've probably still got settings like this in that file:

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');

It should, after installation, have the full file path e.g.

 

define('DIR_FS_CATALOG', '/var/www/html/catalog/');

 

Vger

 

 

Hi Vger,

 

Thanks for your contibution, I appreciate your help.

 

As I am new with Oscommerce, can you kindly just check the following configuration file and tell me where I have gone wrong.

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 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://qazaebooks.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'qazaebooks.com');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', 'pulic_html/qaza_cookies');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '');

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

define('DIR_WS_ICONS', 'images/icons/');

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

define('DIR_WS_BOXES', 'includes/boxes/');

define('DIR_WS_FUNCTIONS', 'includes/functions/');

define('DIR_WS_CLASSES', 'includes/classes/');

define('DIR_WS_MODULES', 'includes/modules/');

define('DIR_WS_LANGUAGES', 'includes/languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', 'www.qazaebooks.com/public_html/images');

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

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

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'qazaeboo_shoukri');

define('DB_SERVER_PASSWORD', '000000');

define('DB_DATABASE', 'qazaeboo_ebookstore');

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

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

?>

 

The files are all on the root public_html

 

Apologies for disturbing, but I am new to this and your ammendment would be the model to follow.

 

Thanks again

 

Regards

Link to comment
Share on other sites

Hi Vger,

 

Thanks for your contibution, I appreciate your help.

 

As I am new with Oscommerce, can you kindly just check the following configuration file and tell me where I have gone wrong.

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 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://qazaebooks.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'qazaebooks.com');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', 'pulic_html/qaza_cookies');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '');

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

define('DIR_WS_ICONS', 'images/icons/');

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

define('DIR_WS_BOXES', 'includes/boxes/');

define('DIR_WS_FUNCTIONS', 'includes/functions/');

define('DIR_WS_CLASSES', 'includes/classes/');

define('DIR_WS_MODULES', 'includes/modules/');

define('DIR_WS_LANGUAGES', 'includes/languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', 'www.qazaebooks.com/public_html/images');

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

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

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'qazaeboo_shoukri');

define('DB_SERVER_PASSWORD', '000000');

define('DB_DATABASE', 'qazaeboo_ebookstore');

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

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

?>

 

The files are all on the root public_html

 

Apologies for disturbing, but I am new to this and your ammendment would be the model to follow.

 

Thanks again

 

Regards

Sorry, not the answer you are looking for but I always edit the database information. With the information you posted someone can access your database and run riot. You have given them the database name, username & password.

 

Now it is posted I would advise changing all the information relating to your database.

 

I always post the information like this:

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '******');

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

define('DB_DATABASE', '******');

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

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

Link to comment
Share on other sites

Hi Vger,

 

Thanks for your contibution, I appreciate your help.

 

As I am new with Oscommerce, can you kindly just check the following configuration file and tell me where I have gone wrong.

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 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://qazaebooks.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers

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

define('HTTP_COOKIE_DOMAIN', 'qazaebooks.com');

define('HTTPS_COOKIE_DOMAIN', '');

define('HTTP_COOKIE_PATH', 'pulic_html/qaza_cookies');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', '/');

define('DIR_WS_HTTPS_CATALOG', '');

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

define('DIR_WS_ICONS', 'images/icons/');

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

define('DIR_WS_BOXES', 'includes/boxes/');

define('DIR_WS_FUNCTIONS', 'includes/functions/');

define('DIR_WS_CLASSES', 'includes/classes/');

define('DIR_WS_MODULES', 'includes/modules/');

define('DIR_WS_LANGUAGES', 'includes/languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', 'www.qazaebooks.com/public_html/images');

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

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

 

// define our database connection

define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', 'qazaeboo_shoukri');

define('DB_SERVER_PASSWORD', '000000');

define('DB_DATABASE', 'qazaeboo_ebookstore');

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

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

?>

 

The files are all on the root public_html

 

Apologies for disturbing, but I am new to this and your ammendment would be the model to follow.

 

Thanks again

 

Regards

 

 

Hi,

 

kindly, any person would verify the above configuration file please .

 

Regards

Link to comment
Share on other sites

Hi,

 

kindly, any person would verify the above configuration file please .

 

Regards

 

 

Hello again,

 

I have changed the includes/configure.php setup but no changes, I still can not see the products pictures neither the icons every where, Following is the amended configure file, can some one help and guide me where I have gone wrong to solve this matter please.

 

Please be advised that the whole site is on the root directory (public_html)

Thanks

 

<?php

/*

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 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.qazaebooks.com'); // eg, http://localhost - should not be empty for productive servers

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

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

define('HTTP_COOKIE_DOMAIN', 'www.qazaebooks.com');

define('HTTPS_COOKIE_DOMAIN', 'www.qazaebooks.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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATA . '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', 'qazaeboo_shoukri');

define('DB_SERVER_PASSWORD', '000000');

define('DB_DATABASE', 'qazaeboo_ebookstore');

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

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

?>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...