ecgbyme Posted June 5, 2015 Share Posted June 5, 2015 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 More sharing options...
tgely Posted June 5, 2015 Share Posted June 5, 2015 The best way is to press v.2.3.4 download button. 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 More sharing options...
ecgbyme Posted June 5, 2015 Author Share Posted June 5, 2015 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 More sharing options...
ecgbyme Posted June 5, 2015 Author Share Posted June 5, 2015 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 More sharing options...
Dan Cole Posted June 6, 2015 Share Posted June 6, 2015 @@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 Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
bonbec Posted June 6, 2015 Share Posted June 6, 2015 @@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 More sharing options...
Jack_mcs Posted June 6, 2015 Share Posted June 6, 2015 @@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 More sharing options...
James Schofield Posted October 4, 2015 Share Posted October 4, 2015 I am having this same issue now. I have read several several threads.. and there are suggestions that seem to be work arounds... Can anyone suggest what might be the consensus solution for this problem?? James Link to comment Share on other sites More sharing options...
tgely Posted October 4, 2015 Share Posted October 4, 2015 download the latest v2.3.4 and apply from application_top.php and login.php changes to your codebase. 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 More sharing options...
James Schofield Posted October 4, 2015 Share Posted October 4, 2015 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 More sharing options...
James Schofield Posted October 9, 2015 Share Posted October 9, 2015 Gergely are you saying I can just take those 2 files from a 2.3.4 install and replace the ones in my 2.3.1 and I should be ok? For whatever reason I can not get into admin now. Link to comment Share on other sites More sharing options...
James Schofield Posted October 9, 2015 Share Posted October 9, 2015 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 More sharing options...
tgely Posted October 10, 2015 Share Posted October 10, 2015 @@James Schofield Did you switch off(!) htaccess security layer? 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 More sharing options...
James Schofield Posted October 15, 2015 Share Posted October 15, 2015 no it is working fine. I can get into the admin again.. seems to be just a re-draw .. or session error as everyone says. If I cannot get this working I guess I will live with it. James Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.