Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 27th Apr 2011, 01:26 AM   #1
HyperActive Warrior
 
Join Date: 2010
Posts: 220
Thanks: 21
Thanked 2 Times in 2 Posts
Default
Help Oscommerce error?
Share on: 
fb share twitter share gplus share more share

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.

samuel.johnson is offline  
Unread 27th Apr 2011, 10:00 AM   #2
HyperActive Warrior
War Room Member
 
Join Date: 2005
Location: , , USA.
Posts: 410
Thanks: 0
Thanked 101 Times in 54 Posts
Blog Entries: 5
Default
Re: Help Oscommerce error?
Share on: 
fb share twitter share gplus share more share

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
stma is offline  
Unread 28th Apr 2011, 03:56 AM   #3
Active Warrior
 
Join Date: 2010
Posts: 54
Thanks: 2
Thanked 3 Times in 3 Posts
Default
Re: Help Oscommerce error?
Share on: 
fb share twitter share gplus share more share

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.
deepakg is offline  
Closed Thread


Bookmarks

Tags
error, oscommerce


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 08:38 AM.