osCmax v2.5 User Manual
Results 1 to 3 of 3

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 ...

      
  1. #1
    Member
    Join Date
    Oct 2004
    Posts
    53
    Rep Power
    0


    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.

  2. #2
    osCMax Testing Team
    Join Date
    Sep 2004
    Posts
    362
    Rep Power
    10


    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.

  3. #3
    Member
    Join Date
    Oct 2004
    Posts
    53
    Rep Power
    0


    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.

Similar Threads

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •