Help Oscommerce error?

2 replies
hi,

since last night I am receiving this error in all my store page

"Unable to determine the page link!"

Can you help me to fix it? It's urgent.
#error #oscommerce
  • Profile picture of the author stma
    Well I typed out a long list of crap to check - then realized I was making the same boneheaded mistake as you

    Google: oscommerce Unable to determine the page link - Google Search
    {{ DiscussionBoard.errors[3782731].message }}
  • Profile picture of the author deepakg
    Well, I read many of the posts for "Unable to determine the page link"

    and most reccommend using 2.2 than 2.1...

    Anyway, I am already using 2.1, and I have fixed the problem.

    The problem wasn't oscommerce rather PHP 4.3

    It was return empty string for the php variable $PHP_SELF

    So, all I had to do was : in function tep_href_link of general.php (include/functions) , add the following line at the very top

    global $HTTP_SERVER_VARS;
    if($page='')
    $HTTP_SERVER_VARS['PHP_SELF']

    That has solved the problem.
    {{ DiscussionBoard.errors[3788059].message }}

Trending Topics