Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Configuration problems


harry2008

Recommended Posts

Posted

Hello there everyone,

Recently i tried to install oscommerce store, everything working fine, except when adding new products, images will not appear on website.

www.bijoux-elegancia.com

 

Can anyone please help ?

Many thanks in advance

harry

Posted

Check your configuration files to see that you have the correct file path set up for your images folder.

Posted
Check your configuration files to see that you have the correct file path set up for your images folder.

Hi Belle,

Thanks for your response, i been checking them and modifying them according what i was reading in the forums. But i can't help myself more coz my ain't experience and knowledgeable in php.

 

This is my admin/includes/configure.php

 

define('HTTP_SERVER', 'http://bijoux-elegancia.com'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

define('HTTPS_SERVER', 'https://bijoux-elegancia.com'); // eg, https://localhost - should not be NULL for productive servers

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

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

define('DIR_WS_ADMIN', '/admin/');

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

define('DIR_WS_CATALOG', '/catalog/');

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); // 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_PAYMENT_MODULES', DIR_FS_CATALOG . 'includes/modules/payment/');

define('DIR_FS_SHIPPING_MODULES', DIR_FS_CATALOG . 'includes/modules/shipping/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

define('DIR_FS_CACHE_XSELL', '/home/bijoux-elegancia/public_html/cache/');

 

 

And this is the catalog/includes/configure.php

 

define('HTTP_SERVER', 'http://www.bijoux-elegancia.com');

define('HTTPS_SERVER', 'https://www.bijoux-elegancia.com');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', 'http://www.bijoux-elegancia.com/catalog/');

define('HTTPS_COOKIE_DOMAIN', 'https://www.bijoux-elegancia.com/catalog/');

define('HTTP_COOKIE_PATH', '');

define('HTTPS_COOKIE_PATH', '');

define('DIR_WS_HTTP_CATALOG', 'catalog/'); // absolute path required (only catalog if not installed in root directory);

define('DIR_WS_HTTPS_CATALOG', '/');

define('DIR_WS_IMAGES', 'catalog/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 . 'catalog/functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'catalog/classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'catalog/modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/bijoux-elegancia/public_html/catalog');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

 

Thanks in advance

Posted

Try this.

 

catalog/includes/configure.php

 

define('HTTP_SERVER', 'http://www.bijoux-elegancia.com');

define('HTTPS_SERVER', 'https://www.bijoux-elegancia.com');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', '.bijoux-elegancia.com');

define('HTTPS_COOKIE_DOMAIN', '.bijoux-elegancia.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/'); // absolute path required (only catalog if not installed in root directory);

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

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

 

define('DIR_FS_CATALOG', '/home/bijoux-elegancia/public_html/catalog/'); <--Use this, if your site is inside catalog folder.

define('DIR_FS_CATALOG', '/home/bijoux-elegancia/public_html/');<-If it's in root, use this.

 

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

Posted

Hi Bryce,

Appreciated your response. I tried it, but it's still the same. I can see in the preview the product picture and description, all working fine. After i upload it, it is not showing the image of the product.

cheers

Posted

I looked at your site's code. There are no indication of product images besides the layout.

How are you uploading those product images?

Posted

I am experiencing a similar issue at the moment.

I have just moved my shop and now when i try to upload a new image i get the following in the top of the screen:

(!) Warning: No file uploaded.

Any suggestions?

Posted

What permissions are set on the images folder?

Posted
I looked at your site's code. There are no indication of product images besides the layout.

How are you uploading those product images?

I'm uploading the product images through the oscommerece store (add new product). After i am uploading the images and description, the images are not appearing in the website. however when i checked the the catalog/images/ the prodcut images are uploading there but just not appearing in the website.

Thanks

Posted

In your Admin, under Configuration >> Product Listing be sure Display Product Image is NOT ZERO

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
In your Admin, under Configuration >> Product Listing be sure Display Product Image is NOT ZERO

Hi Germ,

The value is set on 5.

thanks

Posted

Do other fields have values 1 thru 4?

:unsure:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
Do other fields have values 1 thru 4?

:unsure:

 

They are set as follows:

 

Display Product Image =5

Display Product Manufaturer Name =0

Display Product Model =0

Display Product Name =2

Display Product Price =3

Display Product Quantity =3

Display Product Weight =5

Display Buy Now column =4

Display Category/Manufacturer Filter (0=disable; 1=enable) = 0

Location of Prev/Next Navigation Bar (1-top, 2-bottom, 3-both) =2

 

 

Thanks

Posted

That's FUBAR.

:o

 

Try this:

 

Display Product Image =1

Display Product Manufaturer Name =0

Display Product Model =0

Display Product Name =2

Display Product Price =3

Display Product Quantity =4

Display Product Weight =5

Display Buy Now column =6

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted

Congratulations.

 

You're the proud owner of a template that doesn't work.

<_<

 

I have nothing else to suggest other than get your money back from whomever you purchased the template from.

:(

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Posted
I tried germ,,,,looks like fubar, lol

 

thanks by the way

What format and naming convention are you using for the images?

 

Are you using a template?

Posted
it is a template.

I would think that the ability to display product images has been removed, so Germ's advice is good.

Posted
I would think that the ability to display product images has been removed, so Germ's advice is good.

Then can you please reccommend me a reliable affiliate or seller from where i can purchase a template for jewelry website.

Thanks and your help really appreciated, hoping didn't waste someones else times besides mine,

 

Another question though, how come other pictures are appearing like the ones came with the template.

Posted
Then can you please reccommend me a reliable affiliate or seller from where i can purchase a template for jewelry website.

Thanks and your help really appreciated, hoping didn't waste someones else times besides mine,

 

Another question though, how come other pictures are appearing like the ones came with the template.

We do not recommend any template from any source (you know part the reason why), but this forum is not for templates. Anyway, you do need a template, the osc download from here (blue solutions tab at the top of the page) can be changed without it being butchered.

 

As for the other images, they left or put them in so that you would buy the template, they are not concerned about functionality.

Posted
We do not recommend any template from any source (you know part the reason why), but this forum is not for templates. Anyway, you do need a template, the osc download from here (blue solutions tab at the top of the page) can be changed without it being butchered.

 

As for the other images, they left or put them in so that you would buy the template, they are not concerned about functionality.

 

After plucking my hairs for a while..i was able to fix that..but now when i press to my categories and subcategories,,,,wont display the page.

Posted
In your Admin, under Configuration >> Product Listing be sure Display Product Image is NOT ZERO

Hi Jim,

THe website was installed on the root, but i moved it under catalog file.

Everything is working fine now, except when i try to enter my website by typing www.mydomain.com it is giving 404 page error. But when i type as www.mydomain.com/catalog it is working fine but when i click on the categories it is resulting 404 page error again.

However,,when i click on top menu like (home page, new products, specials.) and then click on categories, all categories working and displaying the products.

 

I will greatly apperciate any help again..

 

 

This is my catalog/includes/configure.php

 

define('HTTP_SERVER', 'http://www.bijoux-elegancia.com/catalog');

define('HTTPS_SERVER', 'https://www.bijoux-elegancia.com/catalog');

define('ENABLE_SSL', false);

define('HTTP_COOKIE_DOMAIN', '.bijoux-elegancia.com');

define('HTTPS_COOKIE_DOMAIN', '.bijoux-elegancia.com');

define('HTTP_COOKIE_PATH', '/');

define('HTTPS_COOKIE_PATH', '/');

define('DIR_WS_HTTP_CATALOG', '/catalog'); // absolute path required (only catalog if not installed in root directory);

define('DIR_WS_HTTPS_CATALOG', '/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/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/bijoux-elegancia/public_html/catalog');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

 

And this is my catalog/admin/includes/configure.php

 

define('HTTP_SERVER', 'http://bijoux-elegancia.com/catalog'); // eg, http://localhost or - https://localhost should not be NULL for productive servers

define('HTTPS_SERVER', 'https://bijoux-elegancia.com/catalog'); // eg, https://localhost - should not be NULL for productive servers

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

define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs)

define('DIR_WS_ADMIN', '/admin/');

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

define('DIR_WS_CATALOG', '/catalog/');

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); // absolute path required

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . '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_PAYMENT_MODULES', DIR_FS_CATALOG . 'includes/modules/payment/');

define('DIR_FS_SHIPPING_MODULES', DIR_FS_CATALOG . 'includes/modules/shipping/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

define('DIR_FS_CACHE_XSELL', '/home/bijoux-elegancia/public_html/cache/');

  • 2 weeks later...
Posted

Hi People,

I am still having the same issue.

I am using the orig. template.

I have noticed when i select things like:

"Banner Manager" & when trying to upload images in other areas i get the following error msg:

 

 

Warning: imagepng() [function.imagepng]: Unable to open 'images/graphs/banner_infobox-1.png' for writing:

Permission denied in /home/oztatzc/public_html/oztatz_estore/admin/includes/classes/phplot.php on line 482

 

And as mentioned earlier i get the:

(!) Warning: No file uploaded.

in the top left corner of browser when i enter a new product with an image.

 

Would love a solution!

I dont want to have to start from scratch with the amount of products we have :blink:

 

Look forward to your ideas!

Regards,

Luke

Archived

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

×
×
  • Create New...