Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Buttons not showing (review, add to cart, quick find etc)


Annakie

Recommended Posts

Posted

Hi. My buttons (review, add to cart, quick find etc) are not showing. I suspect it is a config problem as even the stock OsC buttons are not showing (have tried to re-ftp a few gifs in binary, but they're also not showing...) I have the same problem on my admin screen.

 

My config settings are:

<?php
define('HTTP_SERVER', 'http://quiltecfabrics.co.za');
define('HTTPS_SERVER', 'https://quiltecfabrics.co.za');
define('ENABLE_SSL', false);
define('DIR_WS_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', DIR_WS_CATALOG . 'pub/');
define('DIR_FS_DOCUMENT_ROOT', '/usr/www/users/quilte');
define('DIR_FS_CATALOG', '/usr/www/users/quilte/catalog');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
define('DB_SERVER', 'sql.abc.host.xyz');
define('DB_SERVER_USERNAME', 'xxx');
define('DB_SERVER_PASSWORD', 'xxx');
define('DB_DATABASE', xxx);
define('USE_PCONNECT', 'false');
define('STORE_SESSIONS', '');

define('HTTP_COOKIE_DOMAIN', '');
define('HTTPS_COOKIE_DOMAIN', '');
define('HTTP_COOKIE_PATH', '');
define('HTTPS_COOKIE_PATH', '');
define('DIR_WS_HTTP_CATALOG', '/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/catalog/');
?>

 

What have I got wrong? It feels as if I've got something wrong in the path, but what? have spent HOURS on this trawling through the support site without any luck. Please help!

 

My site is http://quiltecfabrics.co.za/catalog/index.php

 

Thank you!!

Posted

first of all you are looking at admin version of configure.php file! You need to edit the /catalogue/includes/configure.php

 

define('DIR_FS_DOCUMENT_ROOT', '/home/username/public_html/shop/'); // where the pages are located on the server

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

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

re-check the above variables, as root of oscommerce installation not the root of domain name should be in DIR_FS_DOCUMENT_ROOT!!!! You see the difference from above example?

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Posted

When I try to access a button image directly with my browser I get:

 

Forbidden

 

You don't have permission to access /catalog/includes/languages/english/images/buttons/button_in_cart.gif on this server.

Check these FOLDER permissions:

 

includes/languages/english/images/buttons/

 

The need to be 755

 

Then check the permissions on all the image files in the buttons folder.

 

They should be 644

 

If that doesn't help, check these FOLDERS for a .htacces file and rename it to text.htaccess if found:

 

includes/languages/english/images/buttons/

 

The problem can also be cause by an incorrectly coded .htaccess file.

 

You may have to toggle a setting in your cPanel to make .htaccess files visible as they are hidden files by default in the UNIX environment.

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

Thanks for the replies but I still can't get it right!

 

I am looking at the catalog/includes config file and not the admin config file. My catalog/includes config file does not contain'DIR_WS_ADMIN', or 'DIR_FS_ADMIN'

The above two items do however appear in my admin config file. Now I'm even more confused: should they be in the catalog/includes config file??

 

And when you specify

define('DIR_FS_DOCUMENT_ROOT', '/home/username/public_html/shop/'); // where the pages are located on the server

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

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

should home be your website's root directory, i.e.

define('DIR_FS_DOCUMENT_ROOT', 'http://quiltecfabrics.co.za/quilte/public_html/catalog')

Have tried above with no change to my buttons. Feeling very blond but I can't get it right!!

 

I have also checked all the permissions as suggested by germ and renamed .htaccess files to text.htaccess, but still no luck.

 

Please help!

Posted

I still get the same error when accessing the buttons directly with my browser.

 

Not meaning to be disrespectful, but in my professional opinion you haven't totally accomplished what I said to do.

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

Is there any other reason why that error could occur?

I've rechecked permissions on the folder (/includes/languages/english/images/buttons) as well as the gif images themselves. And I've renamed all .htaccess files.

Thanks.

Posted

I said the permissions on ALL THESE FOLDERS:

 

/includes/languages/english/images/buttons

 

Until you can access it directly with a browser without an error it won't show on the web page.

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 said the permissions on ALL THESE FOLDERS:

 

/includes/languages/english/images/buttons

 

Until you can access it directly with a browser without an error it won't show on the web page.

 

Ah, thank you - my permissions wasn't set right for the includes folder. Changed it and now I can see my buttons. :rolleyes:

THANK YOU!!!!!

Posted

Now rename your .htaccess file in the includes folder back to what it was.

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 >

  • 3 weeks later...
Posted

Sorry to jump on this post but im having the same problem with my first oscommerce integration.

 

The site is at www.polepusuits.co.uk/catalog and i cant seem to get the buttons to work. I followed the user guide to install and configure oscommerce and have tried all the methods listed on this topic to try and find a fix but nothing seems to be working.

 

The site iteslf is a work in progress, just thought i would point that out :)

 

 

Any help or advice would be greatly appreciated.

Posted

When I rey to access a button directly I get:

 

Internal Server Error

 

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

 

More information about this error may be available in the server error log.

Probably a bad .htaccess file some where in this path:

 

/includes/languages/english/images/buttons/

Check all those folders for a .htaccess file (it may be hidden!) and rename it to text.htaccess if you find any.

 

Then make sure all those folders habe 755 permissions.

 

And all the image files in the buttons folder have 644 permissions.

 

I can't offer any more advice than that.

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

hiya

 

thanks for replying, i can actually use the buttons (sorry i didnt add that) but the images are not there and the styling looks bad because of this.

 

I have set all of the permissions by ftp and shell access (as some permissions didnt change properly with ftp) and this hasnt helped either.

 

Im sorry to be a pest but im stuck

 

Thanks

Posted

ive just noticed that when i changed my server over to linux (i did this after initially installing oscommerce on the domain) the I.P address has changed.

 

Could this have anything to do with the button errors and styling problems?

 

just a thought from a novice :)

 

Thanks Guys

Archived

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

×
×
  • Create New...