dbl07 Posted December 19, 2003 Share Posted December 19, 2003 Hidy ho OSCers, I have just put my site up and I get an error when I go to the shopping cart that says: Error! Unable to determine the page link! I have looked over the forum and I never had "Search engine safe URLs" enabled. The current setting is false. The error seems to arise because of the back button on the shopping cart page. Here's the code for it, <?php $back = sizeof($navigation->path)-2; if (isset($navigation->path[$back])) { ?> <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> <?php } ?> I have a feeling that this problem is arising because of a server config issue. I have: - safe-mode (off) - sessions stored in the db - file-uploads (on) - register globals (true) Any other flags that I need? Shaken! ... not stirred! Link to comment Share on other sites More sharing options...
dbl07 Posted December 19, 2003 Author Share Posted December 19, 2003 weirdness.... It seems to only have trouble directly after I log in. -> home (no error) -> login -> home (error) -> shopping cart (error) -> home (error) -> shopping cart (no error) my http server is www.golfpi.com my https server is id247.securedata.net Any ideas out there? Shaken! ... not stirred! Link to comment Share on other sites More sharing options...
Guest Posted December 20, 2003 Share Posted December 20, 2003 Make sure that your HTTP_SERVER and HTTPS_SERVER entries point to the same place. I.e. I suspect that your HTTPS_SERVER should be something like https://id274.securedata.net/golfpi. Note: if you change HTTPS_SERVER, you will probably need to change DIR_WS_HTTPS_CATALOG as well. Hth, Matt Link to comment Share on other sites More sharing options...
dbl07 Posted December 30, 2003 Author Share Posted December 30, 2003 I ended up taking the "back" button out. Shaken! ... not stirred! Link to comment Share on other sites More sharing options...
trendyfashion Posted December 30, 2003 Share Posted December 30, 2003 I added back button using this...I forgot if the shopping cart on was there already before I did this. It may help...Wiki Back Button The Wiki Docs: Read them, live them and be thankful for them! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.