Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Images have red X


bellins1

Recommended Posts

I installed OSC and am going thru the guide to configure all the modules however there's a red x replacing the "english, french, .." field descriptions. And when I'm creating the categories, there's also red x's showing up as a placeholder when I go to view the category back on the actual public website itself.

 

Can someone explain how to fix this? I believe it's got something to do with the image path but am not sure how to fix this exactly. thanks.

Link to comment
Share on other sites

The red X means the image could not be found or loaded. Right click on the red X and look at the properties. It will tell you the path and name of the file. Then look on your server at that location and make sure the image is there and the path is correct.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

First of all Jack, thanks so much for replying!! I was losing faith that I'd ever get any help on the forum.

 

 

If I start over and install a new OSC script and create a new database and leave everything as is during the install, everything successfully installs. So that when I go to "http://4wallsandaroof.com/os_commerce/admin/" all the default images appear correctly under the "english, espanol, german" and any other categories also such as "Hardware>CD Rom" category. etc.

 

And when I create a new category named 'test' and don't give it an image, I receive a red 'x' that has a path underneath it '/os_commerce/images/'. So if I upload an image, it works and the new category 'test' has the image that I just uploaded to the 'os_commerce/images/' path.

 

But when I install OSC with a path of "/" instead of "/os_commerce" >> that's where I have the trouble with the images at. Within the admin manager, trying to edit a category shows (the english, espanol, german) and category icon as showing up with a red 'x' and have the following address:

"http://includes/languages/english/images/icon.gif" .. and http://images/category_hardware.gif

 

If I create a new category named 'test2' and upload an image, then the category 'test2' has the image and works correctly in the store front url 'http://4wallsandaroof.com//images/Winter%20Leaves.jpg' but it still has a problem showing up within the admin url 'http://images/category_hardware.gif'.

 

I see the difference (and the problem) is that there's no '4wallsandaroof.com/' under the admin url tool icons. And that's why it shows up as a red 'x'. So, is there a way to fix that by fixing the directory structure instead of going to each icon? That's where it seems like I need to change something at since it's happened automatically under the new install.

 

Thanks Again!!

Link to comment
Share on other sites

I have the same problem and I have checked the images that are stored and the path seems fine.

 

In addition to the red x's the buttons (e.g. update and cancel) do not appear complete although you can click on them and they work. The drop down menus do not work e.g changing the time zone - not options appear at all

 

Any ideas would be greatly appreciated.

Link to comment
Share on other sites

To the OP, if you do not upload an image, that may have something to do with it.

 

In admin, you can turn off the requirement for an image.

Link to comment
Share on other sites

Those are not valid paths. It appears your configure file is not setup correctly.

this thread may help.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

I am not coder or programer lol

Is it possible you may have the possible reason of issue are incorect permissions for IMAGES folder? directory. please try change them:

 

go to In Webshell

Click ( URL )

Locate catalog folder click blue to check permissions*

” locate images folder in blue folder of images folder to see permissons

(Here u c permissions)

 

to edit catalogue images click “write” column both group and other than “click “change”.

(now images are 777 available but not secure)

 

*******when done unclick “write” column group and other than “click “change”.

 

 

755 secure that means “staple” shaped permissions “ staple”

 

777 not secure

“just make sure the write permissions for group and other are not checked in all folders”

 

 

 

Just trying to help but I am usually disguided!

Link to comment
Share on other sites

Thanks for all the help everyone!

 

Coopco,

If I upload an image, the image works fine for say a category item. But the problem is the actual default images that come with the install, not the products/categories themselves. The red 'x' shows up for instance when I'm trying to create a category and the field description icons (english, espanol, german) actually show up as a red 'x' which is because of a wrong path before I even click save for the new category.

 

DesignsJohn,

I was thinking the same thing about maybe the permissions are incorrect, but I don't think so after doing the reinstall with a different path. I did try changing the permissions on that folder but it didn't make a difference. Thanks though!

 

Jack_mcs,

I think you've got it correct where the problem is when you say something is wrong with the configure.php file. I've gone through the documentation but am not sure how to fix the configure file? Do I open this up in a text editor and change any paths to indicate the correct path instead or how do I go about fixing the configure file? Or perhaps the configure file is not in the right location of the file structure?

 

By the way, I've tried to find the url that you pasted below for my reference but was unable to find it. Could you paste the whole url maybe? Thanks.

http://www.oscommerce.com/forums/index.php?sho...8&hl="

Link to comment
Share on other sites

I don't know what happened with that link. The browser must have hung up. Hopefully this one will work better. If you can't find an answer to the confiugre problem in that thread, if that is what it is, then you can post the file here, minue the database login, and someone will take a look at it.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Thanks for all the help everyone!

 

Coopco,

If I upload an image, the image works fine for say a category item. But the problem is the actual default images that come with the install, not the products/categories themselves. The red 'x' shows up for instance when I'm trying to create a category and the field description icons (english, espanol, german) actually show up as a red 'x' which is because of a wrong path before I even click save for the new category.

Are you talking about the little flag icons found at includes/languages/english/images/icon.gif for example?

Link to comment
Share on other sites

This advice from Jim solved the same problem for me:

 

The images in the picture at the first link show the classic symptoms of images FTP'd to the server in ASCII or TEXT mode.

 

Re-FTP the images to the server but be sure the FTP program is using BINARY mode.

 

That might fix the admin problem as well.

Link to comment
Share on other sites

Coopco,

Yes. That's exactly what icons I'm talking about. They don't work because something's messed up with the installation path?

 

Jack,

Thanks for the new link. It works and I'm taking a look at that and will see if I can figure out how to fix it. Also, I'm always one to try to figure things out first, but I'm wondering if you would just suggest instead to delete and reinstall OSC into an actual subdirectory path instead of installing it all into the root directory? Since it always works when I don't install it into the root..

Link to comment
Share on other sites

Thanks for the new link. It works and I'm taking a look at that and will see if I can figure out how to fix it. Also, I'm always one to try to figure things out first, but I'm wondering if you would just suggest instead to delete and reinstall OSC into an actual subdirectory path instead of installing it all into the root directory? Since it always works when I don't install it into the root..

I wouldn't move the shop to a sub-directory just for this reason.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...