Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Images not showing up + Messy links!


MissCC

Recommended Posts

Posted

It seem that all my links are going wrong. When clicking on the logo or the categories for exemple.

It goes to http://www.mysite.comdir_ws_http_catalogindex.php for exemple instead of http://www.mysite.com/shop/index.php

 

I transfered my site to another server, I do a backup of my previous site and put it up via sql in my admin panel. I upload all my images via FTP in the right folder.

 

For exemple the properties of my images is: http://www.mysite.com/shop/images/stars_5.gif

The image stars_5.gif is in my folder "/images" as it should be but doesn't show up on my site.

 

When uploading via my admin in the item description the image doesn't show up as well.

 

I set up my configure.php to:

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://mysite.com'); // eg, http://localhost -

should not be empty for productive servers

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

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

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

module

define('DIR_FS_DOCUMENT_ROOT',

'/home/misscc/public_html/mysite/shop/'); // where the pages are located

on the server

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

define('DIR_FS_ADMIN', '/home/miss/public_html/mysite/shop/admin/');

// absolute pate required

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

define('DIR_FS_CATALOG', '/home/miss/public_html/mysite/shop/'); //

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', 'here_i_wrote_my_user_name');

define('DB_SERVER_PASSWORD', 'here_i_wrote_my_password');

define('DB_DATABASE', 'miss_shop');

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

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

to 'mysql'

 

I don't know what's happening.

 

Can you please help me with that?

 

I have Simple template system installed on my site.

Posted
It seem that all my links are going wrong. When clicking on the logo or the categories for exemple.

It goes to http://www.mysite.comdir_ws_http_catalogindex.php for exemple instead of http://www.mysite.com/shop/index.php

 

I transfered my site to another server, I do a backup of my previous site and put it up via sql in my admin panel. I upload all my images via FTP in the right folder.

 

For exemple the properties of my images is: http://www.mysite.com/shop/images/stars_5.gif

The image stars_5.gif is in my folder "/images" as it should be but doesn't show up on my site.

 

When uploading via my admin in the item description the image doesn't show up as well.

 

I set up my configure.php to:

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://mysite.com'); // eg, http://localhost -

should not be empty for productive servers

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

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

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

module

define('DIR_FS_DOCUMENT_ROOT',

'/home/misscc/public_html/mysite/shop/'); // where the pages are located

on the server

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

define('DIR_FS_ADMIN', '/home/miss/public_html/mysite/shop/admin/');

// absolute pate required

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

define('DIR_FS_CATALOG', '/home/miss/public_html/mysite/shop/'); //

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', 'here_i_wrote_my_user_name');

define('DB_SERVER_PASSWORD', 'here_i_wrote_my_password');

define('DB_DATABASE', 'miss_shop');

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

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

to 'mysql'

 

I don't know what's happening.

 

Can you please help me with that?

 

I have Simple template system installed on my site.

 

Do you use a .htaccess file in the image directory?

Posted
I checked but I don't see it.

 

 

Do you use a temp URL now or the same as at the old website?

Posted

The same as the old website.

The new hosting transfer my site into another site that I already have with them like a subdomain but it appear at my real domain address.

Posted
The same as the old website.

The new hosting transfer my site into another site that I already have with them like a subdomain but it appear at my real domain address.

 

What is the URL?

Posted

The links are now working fine. The images are still missing. I can reupload the products image in my administration in the description but they are still images missing, some are working fine some not.

 

If there is any other forums where I can ask please let me know. I am still waiting for my host since yesterday to reply and I absolutly need the site to work soon!

 

Please help me.

Thanks.

Posted
The links are now working fine. The images are still missing. I can reupload the products image in my administration in the description but they are still images missing, some are working fine some not.

 

If there is any other forums where I can ask please let me know. I am still waiting for my host since yesterday to reply and I absolutly need the site to work soon!

 

Please help me.

Thanks.

 

Edit the configure.php in your /store/includes? directory....

Yesterday I did sent you the configure.php file that is placed in the /store/admin/includes.....

Posted
Edit the configure.php in your /store/includes? directory....

Yesterday I did sent you the configure.php file that is placed in the /store/admin/includes.....

 

Sorry, in your case /store/ directory

Posted

I am having a similar problem where the pics show up only in enlarged image box and not on site anywhere else. They show up fine in admin but not in catalog.

 

Any ideas on why this would be happening?

 

Thanks

Posted
Sorry, in your case /store/ directory

 

 

I try it but nothing changed. It's my images folder that doesn't work, it's strange.Some images will some don't.

Archived

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

×
×
  • Create New...