Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

admin page images not linked


Guest

Recommended Posts

I add new products into the shop but when I preveiw them on the admin page before I insert them, they show up as missing links. They show up in the store where they should. I messed around with the 2 configure.php files before I got the shop working so I'd say I have made a mistake there. Could anyone help as to which line controls this and what it should read.

Thanks in advance

Link to comment
Share on other sites

I add new products into the shop but when I preveiw them on the admin page before I insert them, they show up as missing links.  They show up in the store where they should.  I messed around with the 2 configure.php files before I got the shop working so I'd say I have made a mistake there.  Could anyone help as to which line controls this and what it should read.

Thanks in advance

 

If they are showing up in your catalog fine then the problem is with your

admin/includes/configure.php file.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Link to comment
Share on other sites

If they are showing up in your catalog fine then the problem is with your

admin/includes/configure.php file.

Thanks I thought it would be that file, any idea which line points to the images?

I'll have a play meantime

Link to comment
Share on other sites

this is my admin/includes/configure.php file can anybody spot the problem

 

 

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

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

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

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

define('DIR_FS_DOCUMENT_ROOT', '/var/www/html/'); // where the pages are located on the server

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

define('DIR_FS_ADMIN', '/var/www/html/adminastration/'); // absolute pate required

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

define('DIR_FS_CATALOG', '/var/www/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/');

 

// 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', 'myshop_com_au_-_oscommerce');

define('USE_PCONNECT', 'false'); // use persisstent 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...