Guest Posted January 11, 2006 Posted January 11, 2006 O.K. Because I don't have much knowlede of .php I have struggled with this issue since starting my site www.brescianiandhobbs.com/catalog. I have put up numerous posts and tried many things to remedy the situation, but nonetheless, I still have broken button images in my shopping cart. If anyone can help me, I would greatly appreciate it. This is the only thing now holding up my site. Here is what I have done thus far. 1. I got rid of the .htaccess file in the /includes folder and checked for other .htaccess files in its subdirectories 2. I checked to make sure my images had been uploaded. They have been...in /includes/languages/english/images/buttons. They are .gif files. 3. I have installed one image contribution, which didn't change things since the buttons are still broken.
Guest Posted January 11, 2006 Posted January 11, 2006 If you "right click" where the image is suppose to be and select properties, the "adderss (URL)" wil tell you where the browser is trying to load the image from. Your "reviews" button path is "http://www.brescianiandhobbs.com/catalog/includes/languages/english/images/buttons/button_reviews.". It is missing the file extention. Your "add to cart" button path is "http://www.brescianiandhobbs.com/catalog/product_info.php?" which does not even give the correct path. Open your "shopping_cart.php" file and look around line 210 where the "add to cart" button function is, it should look like this: <td align="right" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT) . '</a>'; ?></td>
Guest Posted January 11, 2006 Posted January 11, 2006 If you "right click" where the image is suppose to be and select properties, the "adderss (URL)" wil tell you where the browser is trying to load the image from. Your "reviews" button path is "http://www.brescianiandhobbs.com/catalog/includes/languages/english/images/buttons/button_reviews.".It is missing the file extention. Your "add to cart" button path is "http://www.brescianiandhobbs.com/catalog/product_info.php?" which does not even give the correct path. Open your "shopping_cart.php" file and look around line 210 where the "add to cart" button function is, it should look like this: <td align="right" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT) . '</a>'; ?></td> Yep. It does look exactly like that. <td align="right" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image_button('button_checkout.gif', IMAGE_BUTTON_CHECKOUT) . '</a>'; ?></td>
Jan Zonjee Posted January 11, 2006 Posted January 11, 2006 403 Forbidden You don't have permission to access /catalog/includes/languages/english/images/buttons/button_quick_find.gif on this server. Looks like the webserver has no read permission in these directories.
Guest Posted January 11, 2006 Posted January 11, 2006 Looks like the webserver has no read permission in these directories. All the button permissions are set to 644, 555, or 755. Shouldn't that allow for reading?
Jan Zonjee Posted January 11, 2006 Posted January 11, 2006 All the button permissions are set to 644, 555, or 755. Shouldn't that allow for reading? Yes, should be OK. I just assume that if there are directories in between that are not ascessible for the webserver it cannot get files from subdirectories, even if they have the correct permissons. The error is clear: forbidden to read.
Guest Posted January 11, 2006 Posted January 11, 2006 Yes, should be OK. I just assume that if there are directories in between that are not ascessible for the webserver it cannot get files from subdirectories, even if they have the correct permissons. The error is clear: forbidden to read. I appreciate your help. I am going to check all of the permissions in my subdirectories to make sure the permissions are set to read. Thanks again.
Guest Posted January 11, 2006 Posted January 11, 2006 Yes, should be OK. I just assume that if there are directories in between that are not ascessible for the webserver it cannot get files from subdirectories, even if they have the correct permissons. The error is clear: forbidden to read. All the permissions for my subdirectories are set to 755, and all the permissions for the buttons are set to 644. I am, however, still stuck with the same festering problem I have had for months...
Jan Zonjee Posted January 11, 2006 Posted January 11, 2006 All the permissions for my subdirectories are set to 755, and all the permissions for the buttons are set to 644. I am, however, still stuck with the same festering problem I have had for months... Well, the server will not even allow me to get /includes/spiders.txt I checked with three Sponsors' Shops and all three shops listed the spiders.txt so something is different on your server. Ask the hosting company?
Guest Posted January 11, 2006 Posted January 11, 2006 Well, the server will not even allow me to get /includes/spiders.txt I checked with three Sponsors' Shops and all three shops listed the spiders.txt so something is different on your server. Ask the hosting company? O.K. I'll try that for my next step. Thank you for all of your help!
Stuart Posted February 19, 2010 Posted February 19, 2010 Anyon with this problem can ask their host to add SecFilterEngine Off into htaccess - this should resolve this problem
Recommended Posts
Archived
This topic is now archived and is closed to further replies.