Jump to content

Website Not Functioning After 5.2.9 Upgrade Attempt


Taodi

Recommended Posts

I just tried upgrading to 5.2.9 (following backup). After submitting the "upgrade now" command and waiting a while, my screen never did proceed to the next page. I hit the browser back button and tried again. Same thing. But now, after doing that, I find I can no longer get into Admin, nor can I go to my website in the normal customer view (I've tried another browser, another computer, same thing). It seems I've crashed my site someway. I can, of course, go into my web host and look at the files for the site, but have no idea where to go or what to fix.

Link to comment
Share on other sites

I have no answer for what may have happened, but try:

 

Download the CC529 package and unzip it to a folder on your computer.

 

FTP the contents to your site - in binary mode - allowing the FTP program to overwrite all files.

 

Test.

 

Your database has not been affected.

Link to comment
Share on other sites

According to the Filezilla docs:

Reducing simultaneous connections

If you get a 421 Too many connections from this IP (<number>) error, the FTP server is restricting your number of connections.

 

1. Open the Site Manager (File - Site Manager... or the first toolbar button)

2. Edit the entry for that site

3. Open the 'Transfer Settings' tab

4. Tick the 'Limit number of simultaneous connections' checkbox

5. Enter the desired limit - try 4 - into the 'Maximum number of connections' field

Now, if you connect using the Site Manager entry, connections will be limited.

Link to comment
Share on other sites

In your hosting control panel, or by FTP, you may be able to find a PHP error_log.

 

If you can find it, copy the error_log to your computer. Open it in a text editor. Scroll to the end. You may be able to determine what the problem is.

 

Please let us know what version you upgraded from. If it was from CC525 or earlier, your store may have been using the Zend Decoder. CC526+ uses only the ionCube loader.

 

If I go here:

http://www.imperialcityocarina.com/setup/info.php

I see that this is the case. At the bottom of the top table, I see:

Zend Engine v2.4.0, Copyright © 1998-2014 Zend Technologies
    with Zend Guard Loader v3.3, Copyright © 1998-2013, by Zend Technologies

 

If ionCube was installed, there would also be:

    with ionCube Loader vX.Y, Copyright © 1998-2013, by ionCube

 

Please rename the setup folder to something else as soon as possible.

 

Please contact your hosting provider to have them enable the ionCube Loaders for your site.

Link to comment
Share on other sites

I'm definitely in over my head... but here's a few things.

I always stay current on my upgrades. So, I believe I was using 5.2.8 before attempting to install 5.2.9.

I have renamed my setup file to setup1.

Meanwhile, Ioncube is still showing in the imperialcityocarina directory inside my webhost (Bluehost). When you ask me to contact Bluehost to enable IonCube Loaders for my site, does this imply that Bluehost recently disabled them and that that may have caused the original problem?

 

I found the error_log info. But being a technoidiot I have no idea what to do with it. Below is a copy of the final two error messages. But there's a long list of them, all referring to line 736 in the language.class.php file. When I look inside this file at line 736, I can't determine what it is that I should do.

 

[12-Apr-2014 23:30:31 UTC] PHP Warning:  SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]:     &lt;/group&gt;&lt;/translation&gt;&lt;translation&gt;&lt;/translation&gt;&lt;/language&gt; in /home1/xqmanufa/public_html/imperialcityocarina/classes/language.class.php on line 736
[12-Apr-2014 23:30:31 UTC] PHP Warning:  SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]:                                                                 ^ in /home1/xqmanufa/public_html/imperialcityocarina/classes/language.class.php on line 736
 
Really appreciate the help. This sort of thing is way out of my league.
Link to comment
Share on other sites

"Ioncube is still showing in the imperialcityocarina directory inside my webhost."

 

There may be a folder named ionCube, but the actual thing that must be seen is when viewing info.php, there must be the line:

with ionCube Loader vX.Y, Copyright Â© 1998-2013, by ionCube (or something very similar)

Please contact your hosting provider.

 

"When you ask me to contact Bluehost to enable IonCube Loaders for my site, does this imply that Bluehost recently disabled them and that that may have caused the original problem?"

 

There would be no reason for a hosting provider to disable ionCube if it was installed for your hosting account already.

 

As for the error log entries, the only thing that looks weird is that there is an empty <translation></translation> node that the XML parser is complaining about. It's a warning, so the site should not crash.

 

Sorry, but I have no answer for that.

Link to comment
Share on other sites

Hi

The simplexmlelement warning messages are nothing to worry about although can quickly fill up your error_log file which then makes it more difficult to see any critical errors. They are caused by the RSS url being incorrect - please see http://www.havenswift-hosting.co.uk/manually-update-cubecart-default-rss-url-after-v4-to-v5-upgrade/ for a detailed explanation and how to fix.

FileZilla, while being a very common and free FTP program is actually a real pain in the way it works as to try and increase transfer speeds it opens a huge number of simultaneous connections and many hosting companies including us (http://www.havenswift-hosting.co.uk/clients/knowledgebase/38/When-Using-FileZilla-I-am-getting-Too-Many-Connections.html) limit the number of connections which causes this problem with FileZilla. A web server is there to serve web pages as quickly as possible not to allow a FTP to perform as quickly as possible despite what the developer of FileZilla thinks !!

Many hosting companies do not have ionCube built into php (which is always better than having to maintain it yourself in local folders) and some only support Zend which CubeCart no longer supports.

Thanks

Ian

Link to comment
Share on other sites

Hi

 

The simplexmlelement messages you are receiving are not to do with the issue that I outlined above (Sorry, early Sunday morning and responded quickly !) but is another problem that is 5.2.9 specific and appears to be with changing languages - we have had this with another client this morning.

 

Ian

Link to comment
Share on other sites

In Language->_extractXML(), there is new code to properly(?) include the <info> element and to start a new <translation> element for any 'translate' node. If there is no next 'translate', we end up with an empty <translation></translation>, which is perfectly fine, IMO.

 

But for some reason, it does not like the </language> tag, and I am befuddled as to why.

Link to comment
Share on other sites

I talked with Bluehost support and they fixed the issue you mentioned above related to Ioncube loader.

 

Meanwhile, the Bluehost tech person was also noticing an issue with the language.class.php file. For what it's worth, I'm throwing in some php error messages that appeared this morning.

 

What's my next step?

 

 

<a data-cke-saved-href="http://%22]/" href="http://%22]/" [severity="" "critical"]="" [hostname="" "createmorecustomersblog.com"]="" [uri="" "="" treat-your-friends-like-customers="" "]="" [unique_id="" "u0ucw0vzh5aaabtbn0saaadk"]="" [mon="" apr="" 14="" 00:38:20="" 2014]="" [error]="" [client="" 60.220.197.243]="" modsecurity:="" access="" denied="" with="" code="" 406="" (phase="" 2).="" match="" of="" "beginswith="" ?automatorsecretkey"="" against="" "request_uri"="" required.="" [file="" etc="" httpd="" modsecurity.d="" eig_rules.conf"]="" [line="" "415"]="" [id="" "900095"]="" [msg="" "bad="" ua="" ::="" fake="" mozilla="" agent"]="" "www.axtools.com"]="" codesmart_vs_2013_eval.zip"]="" "u0ucxevzh5aaabtbn04aaadb"]="" [notice]="" 125.117.213.207]="" mod_rbl:="" 125.117.213.207="" is="" listed="" in="" rbl.="" 00:38:21="" "u0ucxuvzh5aaabvhawkaaagb"]="" 74.91.23.98]="" 74.91.23.98="" rbl.,="" referer:="" http:="" www.grrnm.com="" blog="" ?p="9#comment-16210++++++++++++++++++++++Result:+chosen+nickname+%22Anaetaensueni%22;+success+%28from+first+page%29;+message+must+go+through+moderation;" result:="" chosen="" nickname="" "vernonkt";="" success="" (from="" first="" page);="" 00:38:23="" 62.193.196.86]="" 62.193.196.86="" 95.215.0.27]="" 95.215.0.27="" 00:38:26="" 00:38:29="" cannot="" use="" a="" full="" url="" 401="" errordocument="" directive="" ---="" ignoring!="" 213.109.8.30]="" 213.109.8.30="" 00:38:33="" "u0ucauvzh5aaabx-f-yaaaha"]="" 125.117.214.17]="" 125.117.214.17="" 00:38:34="" "u0ucakvzh5aaab8okt8aaaec"]="" 00:38:38="" 146.0.73.155]="" 146.0.73.155="" "u0ucbkvzh5aaab8okvgaaaeg"]="" 00:38:39="" "u0ucb0vzh5aaabx-gciaaahb"]="" 00:38:41="" 115.210.68.208]="" 115.210.68.208="" 00:38:42="" 192.99.33.193]="" 192.99.33.193="" 00:38:44="" 192.99.33.195]="" 192.99.33.195="" 00:38:45="" 125.117.214.245]="" 125.117.214.245="" failed="" loading="" usr="" php="" 54="" lib64="" modules="" zendguardloader.so:="" undefined="" symbol:="" zend_new_interned_string="" 00:38:46="" "u0ucdkvzh5aaacfxg4waaaob"]="" 00:38:48="" "u0uceevzh5aaacfxg5maaaod"]="" 142.54.184.10]="" 1).="" pattern="" "mozilla="" 5.0="" (compatible;="" mj12bot="" vd+.d+.d+;="" http:="" ="" www.majestic12.co.uk="" bot.php?+)"="" at="" request_headers:user-agent.="" "105"]="" "900167"]="" "mj12bot="" crawler"]="" "www.first-place-learning.com"]="" robots.txt"]="" "u0uceevzh5aaab8ok10aaaew"]="" [14-Apr-2014 06:32:15 UTC] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: ^ in /home1/xqmanufa/public_html/imperialcityocarina/classes/language.class.php on line 736 [14-Apr-2014 06:32:15 UTC] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: Entity: line 63: parser error : Premature end of data in tag language line 1 in /home1/xqmanufa/public_html/imperialcityocarina/classes/language.class.php on line 736 [14-Apr-2014 06:32:15 UTC] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: &lt;/group&gt;&lt;/translation&gt;&lt;translation&gt;&lt;/translation&gt;&lt;/language&gt; in /home1/xqmanufa/public_html/imperialcityocarina/classes/language.class.php on line 736 [14-Apr-2014 06:32:15 UTC] PHP Warning: SimpleXMLElement::__construct() [<a href='http://docs.php.net/manual/en/simplexmlelement.construct.php'>simplexmlelement.construct.php</a>]: ^ in /home1/xqmanufa/public_html/imperialcityocarina/classes/language.class.php on line 736

Link to comment
Share on other sites

@Taodi, Yes.

 

Ian, that describes my situation, yet I have no problem. All languages are enabled and I have made several changes to more than one language using the admin Language editor. Could you better detail the scenario?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...