cooch Posted July 28, 2006 Share Posted July 28, 2006 I have a site where the continue shopping button fails to load the new page (it used to work). The url looks right, but no page loads. We have not added any new contribs or made any changes, so I am very confused... :'( Anyone heard of this? Our site is http://christianaudiohost.com/catalog/ Add a product to the cart, then try the Continue Shopping button. Thanks for any ideas! cooch Link to comment Share on other sites More sharing options...
mrphpmaster Posted July 28, 2006 Share Posted July 28, 2006 I think I can help you. find this code at catalog/shopping_cart.php <td class="main"><?php echo '<a href="' . tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']) . '">' . tep_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING) . '</a>'; ?></td> replace to this code <td class="main"><?php echo '<a href="' . tep_href_link('products_new.php') . '">' . tep_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING) . '</a>'; ?></td> And your done. regards... I have a site where the continue shopping button fails to load the new page (it used to work). The url looks right, but no page loads. We have not added any new contribs or made any changes, so I am very confused... :'( Anyone heard of this? Our site is http://christianaudiohost.com/catalog/ Add a product to the cart, then try the Continue Shopping button. Thanks for any ideas! cooch Link to comment Share on other sites More sharing options...
cooch Posted July 28, 2006 Author Share Posted July 28, 2006 Thanks for the fast reply! I'll give it a try, but do you have any idea why this suddenly happened? Some server changes??? cooch Link to comment Share on other sites More sharing options...
mrphpmaster Posted July 28, 2006 Share Posted July 28, 2006 if you didnt do something then that's weird. maybe some server changes i guess otherwise somebody is playing your site.. hehehe Thanks for the fast reply! I'll give it a try, but do you have any idea why this suddenly happened? Some server changes??? cooch Link to comment Share on other sites More sharing options...
Guest Posted July 28, 2006 Share Posted July 28, 2006 I think I can help you. find this code at catalog/shopping_cart.php <td class="main"><?php echo '<a href="' . tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']) . '">' . tep_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING) . '</a>'; ?></td> replace to this code <td class="main"><?php echo '<a href="' . tep_href_link('products_new.php') . '">' . tep_image_button('button_continue_shopping.gif', IMAGE_BUTTON_CONTINUE_SHOPPING) . '</a>'; ?></td> And your done. regards... This voids the functionality for the continue button. Why you would do that? Link to comment Share on other sites More sharing options...
cooch Posted July 29, 2006 Author Share Posted July 29, 2006 This voids the functionality for the continue button. Why you would do that? It obviously changes the functionality so that the visitor is not sent back to where they were, but at least this doesn't give them a blank page. I have no idea what changed, but this link used to work and then stopped...the visitor just gets a blank page even though the url looks correct. So, for now, I have to go with it :( cooch Link to comment Share on other sites More sharing options...
Guest Posted July 29, 2006 Share Posted July 29, 2006 It obviously changes the functionality so that the visitor is not sent back to where they were, but at least this doesn't give them a blank page. I have no idea what changed, but this link used to work and then stopped...the visitor just gets a blank page even though the url looks correct. So, for now, I have to go with it :( cooch you will need to get to the root of the problem. Because the navigation class is used on other places like when you checkout but you're not logged in yet. When it goes to a blank page, check the url that shows on the browser. Something must be wrong there so it can at least point you to what code to look for the problem. Link to comment Share on other sites More sharing options...
cooch Posted July 29, 2006 Author Share Posted July 29, 2006 you will need to get to the root of the problem. Because the navigation class is used on other places like when you checkout but you're not logged in yet. This seems to still work fine... When it goes to a blank page, check the url that shows on the browser. Something must be wrong there so it can at least point you to what code to look for the problem. I put back the original code, and this is a sample url from the Continue Shopping button: http:// christianaudiohost.com/catalog/add_product.php?products_id=263&osCsid=ef4ee3628c22d83a9f50acf59983941f&osCsid=ef4ee3628c22d83a9f50acf59983941f (I put spaces after the http:// so it would show up as text) Wierd that the osCsid is defined twice, but even when I remove one of them the new page stays blank. Can you see anything wrong? Thanks! Link to comment Share on other sites More sharing options...
Guest Posted July 29, 2006 Share Posted July 29, 2006 From the url you posted the problem seems right here: add_product.php Do you have a custom script called add_product.php? I would expect to see something like product_info.php or products_new.php. Search your files see where this is emitted. Link to comment Share on other sites More sharing options...
cooch Posted July 29, 2006 Author Share Posted July 29, 2006 From the url you posted the problem seems right here: add_product.php Do you have a custom script called add_product.php? I would expect to see something like product_info.php or products_new.php. Search your files see where this is emitted. !!!! :o Someone DID add some new files to the site without consulting me; have to track down the beast and slay him! Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.