1
kaotik
Oscommerce doesn't show images on administration
  • 2004/4/5 14:29

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


I've run into a strange problem with oscommerce on my XOOPS site. All images apear OK on the front end, but when I go into administration they are all missing. I've chmod the correct directory to 777. I can upload an image and it will show on the front end, but not on administration.

Please help!

Lenny

2
fluent
Re: Oscommerce doesn't show images on administration
  • 2004/4/5 18:15

  • fluent

  • Just popping in

  • Posts: 43

  • Since: 2003/11/22



I think this is a bug, check the path the browser is looking for (Right click on the image and select properties). I had this come up but I fixed it and I don't remember the detail.

Jonathan

3
kaotik
Re: Oscommerce doesn't show images on administration
  • 2004/4/5 22:04

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


Thanks for the tip. By right clicking i can see that the url for the images are incorrect. It's missing a directory (my XOOPS instalation isn't in root). Which file should I change to correct this?

Thanks

Lenny

4
kaotik
Re: Oscommerce doesn't show images on administration
  • 2004/4/7 11:36

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


Can anybody help me with this? I've been tring to fix this but haven't got a clue where to look. The images are using this directory:
http://www.arrepiado.com/modules/shop/images/category_hardware.gif
instead of the right one:
http://www.arrepiado.com/html/modules/shop/images/category_hardware.gif

Please help!

Thanks

Lenny

5
fluent
Re: Oscommerce doesn't show images on administration
  • 2004/4/7 12:25

  • fluent

  • Just popping in

  • Posts: 43

  • Since: 2003/11/22


The simplest thing you can do is just do a symbolic link of /modules to /html/modules, it's easier to do this than trawl through the code.

If you really want to fix it, suggest you start by doing a wordsearch (grep) in modules/shop/includes/*

Jonathan

6
kaotik
Re: Oscommerce doesn't show images on administration
  • 2004/4/8 0:56

  • kaotik

  • Just can't stay away

  • Posts: 861

  • Since: 2004/2/19


Thanks for the excelent sugestion!!
Just in case anyone else runs into this, here's my solution:
/modules/shop/admin/include/configure.php

Line 34
define('DIR_WS_CATALOG', '/html/modules/shop/'); // absolute path required

change this to fit your needs.

Lenny

7
wallstreetpi
Re: Oscommerce doesn't show images on administration

Lucky you! My oscommerce doesn't show any picture at all! not even the defaults!
Not good!

Login

Who's Online

300 user(s) are online (197 user(s) are browsing Support Forums)


Members: 0


Guests: 300


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits