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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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
| |||
| |||
| 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
| |||
| |||
| 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. |
| Thread Tools | |
| |
| ||||
| 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 |