custompilotshirts Posted September 8, 2008 Posted September 8, 2008 Hello, my website www.custompilotshirts.com isn't working right. It was fine but all of a sudden when someone tries to order a shirt (or add to the shopping cart) the site just goes back to the product info page. I'm new to this. The settings on my "My Store" panel seem to be set correctly. I noticed one that says "Display Cart After Adding Product" is set to true. I'm at a loss. Any help? Rob www.custompilotshirts.com
sLaV- Posted September 8, 2008 Posted September 8, 2008 goto www.yourdomain.com/admin then click on Configuration then under My Store set Use Search-Engine Safe URLs (still in development) to false also post in appropriate forum next time :)
custompilotshirts Posted September 8, 2008 Author Posted September 8, 2008 goto www.yourdomain.com/admin then click on Configuration then under My Store set Use Search-Engine Safe URLs (still in development) to false also post in appropriate forum next time :) Sorry about the wrong forum. I'm quite new and trying to learn as fast as possible. The suggested solution didn't work. I'll move this over to the appropriate forum. Rob
germ Posted September 8, 2008 Posted September 8, 2008 Your URL's are all "wonky".... :blink: You might go into your Admin and set "Use Search-Engine Safe URLs (still in development)" to false Save it. Things might improve after doing 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 >
germ Posted September 8, 2008 Posted September 8, 2008 And you might also have to set "Use Cache" to false in the admin to see the effects of this change. :blush: (I almost forgot that bit) 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 >
custompilotshirts Posted September 8, 2008 Author Posted September 8, 2008 Your URL's are all "wonky".... :blink: You might go into your Admin and set "Use Search-Engine Safe URLs (still in development)" to false Save it. Things might improve after doing that. ;) Hi, I set both suggested changes with no change in website behavior. I only had to set the "...Safe URLs" to false. The cache was already set to false. Also, what do you mean by "wonky"? Rob
germ Posted September 8, 2008 Posted September 8, 2008 A "wonky" URL from your site trying to add a product to the cart: http://custompilotshirts.com/product_info.php/products_id/25/action/add_product A similar URL from my site: http://www.mysite.com/product_info.php?cPath=21_22&products_id=128&action=add_product 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 >
custompilotshirts Posted September 9, 2008 Author Posted September 9, 2008 Hello, I'm having a problem with my website. When pushing the "add to cart" button the site navigates back to my product_info page. It should go to my shopping cart. My merchant account is with Authorize.net. It was working until I think I messed it up doing some cosmetic changes. I have a feeling it is file structure related. Rob www.custompilotshirts.com
Jan Zonjee Posted September 9, 2008 Posted September 9, 2008 I'm having a problem with my website. When pushing the "add to cart" button the site navigates back to my product_info page. For products that have attributes it is normal to go the product_info page if a add to cart button is clicked on e.g. a product listing. However, in your case it seriously looks like you are losing the osCsid when going to certain pages. The osCsid (session id) is in the browser url, then it is gone (meaning a cookie is set) then you go to another page and another osCsid is in the url etc.
♥FWR Media Posted September 9, 2008 Posted September 9, 2008 I grabbed the headers, as you can see the osCsid is lost and remade. http://custompilotshirts.com/product_info.php/products_id=25&action=add_product?osCsid=815397234c65b8811e180e8aff642ce5 POST /product_info.php/products_id=25&action=add_product?osCsid=815397234c65b8811e180e8aff642ce5 HTTP/1.1 Host: custompilotshirts.com User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: en,en-us;q=0.5 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Referer: http://custompilotshirts.com/build_shirt.php/products_id/25?osCsid=b703219b5bd343ce38d704bdf7bd16b9 Content-Type: application/x-www-form-urlencoded Content-Length: 120 id%5B10%5D=1&id%5B12%5D=5&id%5B9%5D=8&id%5B6%5D=16&id%5B2%5D=10&normal=10&tapered=12&checksize=&products_id=25&x=43&y=13 HTTP/1.x 200 OK Date: Tue, 09 Sep 2008 20:00:10 GMT Server: Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8g DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 X-Powered-By: PHP/5.2.6 Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html Referrer .. osCsid=b703219b5bd343ce38d704bdf7bd16b9 Then .. osCsid=815397234c65b8811e180e8aff642ce5 Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work.
germ Posted September 9, 2008 Posted September 9, 2008 Firefox says no cookies are getting created! :o 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 >
Jan Zonjee Posted September 9, 2008 Posted September 9, 2008 Firefox says no cookies are getting created! You are right. I got fooled into thinking that a cookie was set because the links on product_info.php?products_id=25 on the page itself (like to pockets.php) and in the information box on the right side do not have an osCsid in the link (probably not the tep_href_link used for making those links...).
germ Posted September 9, 2008 Posted September 9, 2008 I was thinking maybe a config file problem (cookie settings). Maybe the OP could post his cookie settings from the config file: define('HTTP_COOKIE_DOMAIN', ''); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', ''); define('HTTPS_COOKIE_PATH', ''); Whatever he has for those defines. 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 >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.