Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / General Questions / Unable to determine the page link

Unable to determine the page link

Locked

Started by devis on 16 Apr 2008, 12:42 PM · Views: 2,822

Results 1 to 1 of 1
This thread is locked. New replies are disabled.
16 Apr 2008, 12:42 PM
#1
devis avatar

devis

New Zenner

Join Date:
Apr 2008
Posts:
2
Plugin Contributions:
0

Unable to determine the page link

I am using Zen Cart 1.3.8 and having this error "Unable to determine the page link".

How to reproduce my configuration:

  • Set the catalog to be visible only to registered and approved customers
  • Visit the catalog, you should see a login form
  • Login as an existing and approved customer
  • You should now see the catalog
  • Now enter the administration at http://your.store.com/admin
  • After logging in just log out

At this point I have the error "Unable to determine the page link" on the page.

As I saw it's due to "zenid" cookie, in fact I solved inserting this row at the beginning of /admin/login.php (before everything):

setcookie ("zenid", "", time() - 3600, "/", ".".$_SERVER["HTTP_HOST"]);

In this way the cookie is deleted after logging out the backoffice.

Devis Lucato

Web software developer
Italy