Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error! Unable to determine the page link! Function used: tep_href_link('', '', 'NONSSL')


ecgbyme

Recommended Posts

Our Service provider upgraded to PHP 5.5. We are running PHP 5.3. But some problems still occurred. We are running originally OSC 2.2 but have done massive amounts of upgrades and editing.

We have an error: 

 

Error!  Unable to determine the page link!    Function used:    tep_href_link('', '', 'NONSSL')

 

Would anyone know the fix for this? Appreciated nay help!

Link to comment
Share on other sites

The best way is to press v.2.3.4 download button.

:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Link to comment
Share on other sites

The best way is to press v.2.3.4 download button.

 

If I press v2.3.4 will all the massive amount upgrading and customizing be there? Or will it be gone?

Link to comment
Share on other sites

SOLVED: (Just add 2 forward slashes at the beginning of the line)

 

    Look at line 34 admin/includes/application_top.php

    $PHP_SELF = (isset($HTTP_SERVER_VARS['PHP_SELF']) ? $HTTP_SERVER_VARS['PHP_SELF'] : $HTTP_SERVER_VARS['SCRIPT_NAME']);

    make it

    // $PHP_SELF = (isset($HTTP_SERVER_VARS['PHP_SELF']) ? $HTTP_SERVER_VARS['PHP_SELF'] : $HTTP_SERVER_VARS['SCRIPT_NAME']);

Link to comment
Share on other sites

@@ecgbyme

 

I wouldn't call it solved...you simple commented out that line which means that $PHP_SELF is no longer defined...if it is used afterwards (and I assume it is) it will likely cause problems.

 

Dan

Link to comment
Share on other sites

@@ecgbyme

Look at this old thread here

 

 

@@Gergely

I am in the same case as ecgbyme. When the site code is overmuch modified, it is not always possible to switch from one version to another OsCommerce by clicking a button. The MS2 works very well according to changes of versions of PHP when you consider syntax changes every time.

Everyone is not a millionaire to pay a coder to completely redo his site at each change of OsCommerce: 2.2, 2.3, 2.4, and so on ...

I am a craftsman, my job is to manufacture and to sell my products and others products to resell. The coding of my site is done when I have time, like this the site is perfect for my job. I start to change my MS2 in a responsive version with bootstrap, I'm more comfortable with the code of the MS2.2 than other versions and I am not the only apparently.

with OsC 2.2 since 2006 ...

Link to comment
Share on other sites

@@ecgbyme I haven't tried running a pre-2.3 shop on 5.5 but they will run on 5.4 so I think it will.  See this to change the code for that.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

  • 3 months later...

download the latest v2.3.4 and apply from application_top.php and login.php changes to your codebase.

:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Link to comment
Share on other sites

so your saying that changing code in 2.3.1 from those 2.3.4 files should fix my issue?

 

now I guess the final question is.. is this issue only a surface problem?  aka.. I can log in.. I get this error, I can go back to /catalog/admin and I get to the dashboard.

 

Now in the top right corner it says logged in as ... blank. BUT the logs show who logged in. Also I cannot log in with any credentials, they do have to be correct.

 

SO worst case.. this is just irritating not an security risk right?

Link to comment
Share on other sites

Im sorry I keep posting but it wont let me edit my messages. 

 

I tried to copy over the files from the 2.3.4 install, that did not work.

 

 

I really just want to get this working.. not interested in going through all the upgrade drama.. 

 

Does any one know a fix for this?

 

James

Link to comment
Share on other sites

@@James Schofield Did you switch off(!) htaccess security layer?

:blink:
osCommerce based shop owner with minimal design and focused on background works. When the less is more.
Email managment with tracking pixel, package managment for shipping, stock management, warehouse managment with bar code reader, parcel shops management on 3000 pickup points without local store.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...