osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Server PHP upgrade problem. Cart won't update plus Admin login error

This is a discussion on Server PHP upgrade problem. Cart won't update plus Admin login error within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hi My host upgraded the server to PHP 5.1.6 but has kept register_globals "on". Initial testing reveals that the catalog ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 03-19-2008, 06:44 PM
Member
 
Join Date: Oct 2004
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
nemail
Default Server PHP upgrade problem. Cart won't update plus Admin login error

Hi
My host upgraded the server to PHP 5.1.6 but has kept register_globals "on".
Initial testing reveals that the catalog appears OK, but some items can't be added to cart, nor can it be updated or items deleted.
Also, I can't login to Admin and this is the message which appears:

Warning: include(includes/languages/english/) [function.include]: failed to open stream: No such file or directory in /home/xxxx/xxxxxxx/www.websitename.com/public_html/catalog/admin/includes/application_top.php on line 163

Warning: include() [function.include]: Failed opening 'includes/languages/english/' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/xxxx/xxxxxxx/www. websitename.com/public_html/catalog/admin/includes/application_top.php on line 163

Fatal error: Cannot re-assign $this in /home/xxxx/xxxxxxx/www. websitename.com/public_html/catalog/admin/includes/classes/upload.php on line 31

I have three sites affected, one of which is a test site (which I updated with the www.magic-seo-url.com fix) the other two remained unaltered. All three sites worked OK prior to the server upgrade. I'd anticipated some kind of problem that's why I had installed the "Register Globals Easy" fix on the test site but, as I said, they still all show the same problems.

Any suggestions for the cart updating problem and the Admin login? I've read through everything I could find so far and I'll keep on looking too.

Thanks for any help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 03-20-2008, 05:41 AM
osCMax Testing Team
 
Join Date: Sep 2004
Posts: 293
Thanks: 23
Thanked 34 Times in 33 Posts
Rep Power: 5
bkpie has a spectacular aura aboutbkpie has a spectacular aura about
Default Re: Server PHP upgrade problem. Cart won't update plus Admin login error

Did you check my cart fix in this thread if using magic seo fix? php5 question+oscmax rc3

Also if that does not work take out the register globals easy on your test site and try this register globals on the test site. I have tested it and it seems to work osCommerce Community Add-Ons Use version 1.5 the cmotd (Richard) did. Easiest install using a compare program.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 04-01-2008, 02:54 AM
Member
 
Join Date: Oct 2004
Posts: 53
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
nemail
Default Re: Server PHP upgrade problem. Cart won't update plus Admin login error

Hi bkpie

This is just a quick response to thank you for your reply. For some reason I've only just had the email notification of an update to my question, so sorry for the delay in responding.

Yes, I had checked your cart fix and in the course of tweaking and testing I was able to get my test site functional again. I also think that my hosting company were also modifying some things to achieve a fix, which makes it harder for me to pinpoint exactly what made the difference. I try to be methodical about stuff I do so it can be documented, but when there's other involvement it's not so clear.

In the meantime, I'd also asked my hosting company to relocate my clients' sites to a non-upgraded server to keep them functional - as well as to buy me time to identify a fix. In a few days, I'll be looking to switch them back to the upgraded server and to apply the same changes I made to my test site - and then keep my fingers crossed. I'll follow your further suggestions if the sites still encounter problems.

Thanks once again for your help, it's greatly appreciated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

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 On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Admin Login loop after server move klittl06 osCommerce 2.2 Installation Help 8 08-09-2007 07:42 PM
Internal Server Error concerning update fix 051112! cleangroove osCMax v2 Installation issues 3 12-04-2005 09:00 AM
Admin Login Problem - my customer can't login, I can pram0310 osCMax v1.7 Installation 2 10-29-2004 10:46 AM
Upgrade from 1.5.5 to 1.7 Admin problem fireburst osCMax v1.7 Installation 0 10-01-2004 06:19 AM
Anyone can login my admin.php...Help plz! spectrumpower osCommerce 2.2 Modification Help 4 09-02-2004 09:34 PM


All times are GMT -8. The time now is 01:40 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax