shibby Posted October 19, 2012 Share Posted October 19, 2012 (edited) Hello, I am adding a shared hosting to cart. After that, when i try to get cart.php?a=view it deletes all cart items. When i try to configure product options (cart.php?a=confproduct&i=0) it sends me to cart.php. Newer loads confproduct tpl files. Problem begin about 2 days ago, i couldn't figure out why. How can i troobleshoot this problem? Edit: Damn! In a hook that i wrote there was these codes: $currentdir = dirname(__FILE__); $dirs = explode("/",$currentdir); $count = count($dirs); $path="/"; for($i = 0;$i<($count-2);$i++){ $path .= $dirs[$i]."/"; } it was running in admin area, but didn't worked for client area. You can delete this topic Edited October 19, 2012 by shibby 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.