Thread: Zenid issue

Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Jun 2010
    Posts
    207
    Plugin Contributions
    1

    Default Zenid issue

    Hello,

    Here's a link to the site in question: http://tinyurl.com/cp3t8ww

    If you then click on the "Relish" link , you will likely have a zenid appended to the url with an ampersand (website.com/relish&zenid=blahblahblah). Unfortunately, this gives you a Page Not Found error message. If you then click the "Relish" link again (or any other link), the page loads correctly and no zenid shows up in the URL (since the zenid is set at that point, I am assuming).

    If you go to the home page in a different browser and then click on the "Upcoming Shows and Markets" link, you will see the zenid appended to the url with a question mark. When you click this, it loads up the next page just fine.

    The difference between those two pages is that the Upcoming Shows page is a simple EZ page, and the Relish link is an EZ Page that links to the internal URL "relish", which is the URL assigned to the Relish category via CEON URI Mapping.

    I emailed the CEON developer, and he said that it isn't an issue with Ceon URI Mapping, it that his module doesn't make the mistake of appending an ampersand instead of a question mark. He said I should check the menu module being used, but it is simply the stock Zen Cart menu.

    Any ideas on how to fix this issue?

    Thanks!

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Zenid issue

    Selecting the Relish link does not generate a 404 error for me

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Zenid issue

    I did get a Page Not Found the first time I clicked the Relish link. It worked correctly the second time.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Zenid issue

    I find this happens on first click of all your pages ...

    Try turning off the SEO/rewrites and see if that clears up this problem ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Oct 2008
    Posts
    19
    Plugin Contributions
    0

    Default Re: Zenid issue

    I notice that error occours because the url is http://sunshinefoodco.com/relish&zenid=ss0a6lap50cn4l9vtpdl4ssjo5 in spite of http://sunshinefoodco.com/relish?zenid=ss0a6lap50cn4l9vtpdl4ssjo5

    I hope it's useful for you...
    I'm having the same problem but i can't solve ... at the moment!!

  6. #6
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Zenid issue

    Quote Originally Posted by ligrex View Post
    I notice that error occours because the url is http://sunshinefoodco.com/relish&zenid=ss0a6lap50cn4l9vtpdl4ssjo5 (instead) of http://sunshinefoodco.com/relish?zenid=ss0a6lap50cn4l9vtpdl4ssjo5
    I'm going to go out on a limb and guess this behavior only appears on EZ-Page links using the "Internal URL" field to point to a category or product. This is a common problem encountered due to the way EZ-Pages handle the "Internal URL" or "alt_url" field. Basically it passes the entire contents of this field to zen_href_link as the "page" with no parameters instead of correctly reading the page and splitting off the parameters.

    There are a couple workarounds:
    1. Configure Zen Cart to use "Cookie Domain" and "Force Cookie Use". These settings can be changed from "admin" -> "configuration" -> "sessions". In my experience, once these settings are enabled only users who have disabled cookies will ever see the zenid in the URL.
    2. Use a full URL in the "External URL" including the "http://".
    3. Use zen_href_link directly in your templates instead of using the EZ-Page header, footer, and sidebox.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

 

 

Similar Threads

  1. Zenid Redirect Issue
    By bumba000 in forum General Questions
    Replies: 7
    Last Post: 23 Jan 2015, 11:52 PM
  2. Replies: 5
    Last Post: 6 Apr 2008, 01:57 AM
  3. zenid
    By scottb in forum General Questions
    Replies: 8
    Last Post: 3 Jan 2007, 06:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg