Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

"Let's See What We Have Here" image problem


loplo

Recommended Posts

Posted

Hi,

 

I have a problem with the "Let's See What We Have Here" section. There is a picture, that does not want to appear. Could anyone help me regarding this problem? That error bothers me. It wont be a problem if no image will appear there.

 

problem%202.JPG

 

I attach a shot of the prblem.

 

Thanks in advandce.

Posted
Hi,

 

I have a problem with the "Let's See What We Have Here" section. There is a picture, that does not want to appear. Could anyone help me regarding this problem? That error bothers me. It wont be a problem if no image will appear there.

 

problem%202.JPG

 

I attach a shot of the prblem.

 

Thanks in advandce.

 

Does the image exist on your server?

If it does it maybe your file/directory CHMODs that need changing.

If it doesn't, then that is why you get this error and you will need to edit index.php to remove the call to the image !! (search for tep_image)

Its Only Me

Alex

  • 1 month later...
Posted

First thing you need to do is right click on the offending image box on the webpage and paste the link into your next post.

 

In the meantime, trace the url address it gives you into the corresponding file on your ftp file system. If the image isn't there (which is probably the case), you may need to change the routing to the image in your settings.

 

This is done by editing the settings in catalog/includes/configure.php.

 

The template system OScom works on is like playing with lego. If one bit isn't working, it's usually because a brick is out of place somewhere else.

Posted

Ok

I've rightclicked the image, checked the properties of the image.

no jpg/bmp/etc file in the properties ...

This is to much for me. I don't understand this....

 

os.JPG

 

BTW, all other images are available but this one

Posted

Firstly, what's the url of the page on which the graphic isn't showing?

 

Secondly, does that graphic not show in other instances.

 

Thirdly, that properties box is weird, you should have "/table_background_default.gif" or something similar on the end.

 

Lastly, chill mate. I was completely overawed when I first started this internet shop malarky, and the easy stuff still catches me out, but once it clicks, it clicks, you'll be fine, just keep at it! There are loads of nice peeps on here who will help.

Posted
Firstly, what's the url of the page on which the graphic isn't showing?

 

Secondly, does that graphic not show in other instances.

 

Thirdly, that properties box is weird, you should have "/table_background_default.gif" or something similar on the end.

 

Lastly, chill mate. I was completely overawed when I first started this internet shop malarky, and the easy stuff still catches me out, but once it clicks, it clicks, you'll be fine, just keep at it! There are loads of nice peeps on here who will help.

 

The URL is http://logistica2/parat/oscommerce/

this is my pc in the company LAN, at the moment I'm developing the site and when is ready we well uploadit to the webserver. On my PC I have the apachefrinds Xampp installed (mysql/php/apache/..)

 

in the images directory, there is the "table_background_default.gif". so the file is not missing.

 

I appreciate your help. If you have other suggestions, please reply.

Posted

Hmmm, not really sure there then. It's not a biggy though, once the site is uploaded, there will be loads of little teething troubles like this one. For now, I'd suggest that if it's just the one page, stop the image loading completely by editing the page file and then once the site is up, it can be sorted out then.

 

Doesn't help you much I know, but I have no clue as to how your pathways work on your test server. If it is just the one image on the one page, then it's not a big thing, but if it's that image on every page then that image has been put in the wrong place or deleted. If it's a load of images then your configure.php file needs looking at.

 

Hope that helps.

 

:thumbsup:

Posted

in index.php i found this at line 291

<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td>

 

it seems to be ok.

 

and in the configure.php

  define('HTTP_SERVER', 'http://logistica2'); // 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', 'logistica2');
 define('HTTPS_COOKIE_DOMAIN', '');
 define('HTTP_COOKIE_PATH', '/parat/oscommerce/');
 define('HTTPS_COOKIE_PATH', '');
 define('DIR_WS_HTTP_CATALOG', '/parat/oscommerce/');
 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/');

Posted

So it isn't just index.php where the graphic isn't being loaded? All the other main pages as well...?

 

What about your company logo, is that being loaded?

Posted

damn. SOLVED

 

I had a category, but the category had no image.

damn...

 

thanks a lot for trying to help me

Posted

lol

 

Rightio. Glad you solved it.

 

:)

Archived

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

×
×
  • Create New...