[CRE Loaded] 503 Error on install

Magic SEO URLs for CRE Loaded.
RLaRock
Posts: 5
Joined: Tue Jul 26, 2011 3:25 pm

[CRE Loaded] 503 Error on install

Postby RLaRock » Tue Jul 26, 2011 6:36 pm

I recently installed Magic SEO URLs and ran into an issue.

The activation worked correctly, and the site shows as activated. The .htaccess file was updated and files were written to the cache/fancy-data/ folder.

However, when I attempt to access the site, an error is presented: 503 - Service not available.

When I turn off the Magic SEO URLs by commenting out the include statement in the Creloaded php script, the site works correctly - with the old urls.

You can view the php info at:
http://saltyunderground.com/phpinfo.php

Any help would be appreciated.
Thanks

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [CRE Loaded] 503 Error on install

Postby inveo » Tue Jul 26, 2011 6:55 pm

If you are sure Magic SEO URLs were working fine on your site previously, then please re-upload all MSU files and start from scratch (some files might get corrupted for unknown reason). If this does not help, then you will need to remove Suhosin from PHP (it breaks PHP run-time).

RLaRock
Posts: 5
Joined: Tue Jul 26, 2011 3:25 pm

Re: [CRE Loaded] 503 Error on install

Postby RLaRock » Wed Jul 27, 2011 3:40 pm

Thanks for the response.

The site hasn't had Magic SEO URL's installed until now, and they haven't worked since first being installed.

I believe the programs are functioning (hence not corrupted) since some things are functioning. (Though I reloaded them forcing binary transfer and it didn't help)

First, the .htaccess is being written. When going to the site, I can see in the headers that the old creLoaded urls are being redirected to the new url's with a 301 redirect prior to the 503 error being generated.

Interestingly, when the Magic SEO URLs is disabled, the urls it created do forward correctly (i.e. http://www.saltyunderground.com/corals-2/ does redirect to the category page for ID #2).

This would indicate that the .htaccess file and server redirection is working correctly.

So, it appears that something in magic_seo_urls-5.php is causing the 503 error after the server redirects to the correct 'page'. Since the cache is being actively updated, it appears that the process is getting at least that far before failing.

The only error messages reported anywhere are similar to:

failed to open stream: No such file or directory /home/saltyund/public_html/includes/magic_seo_urls-5.php

Which appears normal as it simply creates the new file in the cache.

Turning off Suhosin is something our hosting provider is NOT agreeable to, and we aren't in a position to switch hosting providers.

Any help would be appreciated.

Thanks

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [CRE Loaded] 503 Error on install

Postby inveo » Wed Jul 27, 2011 4:10 pm

Please see our last post. We a have good experience for a few years and HTTP 503 is caused by Suhosin which breaks a lot of PHP run-time features and almost no app is working correctly if this "improvement" is loaded into PHP (it includes CRE Loaded). We hardly recommend you to remove Suhosin or move to other host if you mean to run your sku seriously.

RLaRock
Posts: 5
Joined: Tue Jul 26, 2011 3:25 pm

Re: [CRE Loaded] 503 Error on install

Postby RLaRock » Wed Jul 27, 2011 5:27 pm

Thank you for your time. I do realize Suhosin can be problematic for some php scripts, and given a choice, would turn it off to avoid those issues.

Though, we've been running creLoaded B2B seriously for 5 plus years, utilizing all options, including the CMS, Articles management, multivendor shipping, payment gateways and several add-ons from Magenetic One, all without issue, so I think it unfair to say you can't run creLoaded on a server utilizing Suhosin.

I'll continue to attempt to solve this issue with the hosting provider.

If that fails to rectify the problem, then please advise on how to obtain a refund.

Thanks again

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [CRE Loaded] 503 Error on install

Postby inveo » Thu Jul 28, 2011 9:57 am

You can contact us via feedback form or at custom account section.

RLaRock
Posts: 5
Joined: Tue Jul 26, 2011 3:25 pm

Re: [CRE Loaded] 503 Error on install

Postby RLaRock » Wed Aug 10, 2011 4:06 pm

Hi,

An update. I was able to get the hosting provider to turn off the Suhosin extension, but they got the same error (503) as when it was on.

They located an error report in the server log that states:

2011-08-09 20:58:38.199 [NOTICE] [66.45.228.251:51149-0#APVH_saltyunderground.com] Max retries has been reached, 503!

Thanks

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [CRE Loaded] 503 Error on install

Postby inveo » Wed Aug 10, 2011 4:17 pm

Magic SEO URLs require Apache/lighttpd server but we see LiteSpeed webserver at http://www.saltyunderground.com/ It would be probably the reason why it doesn't work (to be honest it is the first time HTTP 500 code is reported since the very first MSU version was released years ago).

RLaRock
Posts: 5
Joined: Tue Jul 26, 2011 3:25 pm

Re: [CRE Loaded] 503 Error on install

Postby RLaRock » Thu Aug 11, 2011 1:48 pm

Hi,

Well after further review, I received the following from the support team at our hosting provider:

The error which we are getting in error logs are
=======================
2011-08-11 11:23:25.673 33374-0#APVH_saltyunderground.com] oops! 503 Service Unavailable
2011-08-11 11:23:25.673 33374-0#APVH_saltyunderground.com] Content len: 0, Request line: 'GET /corals-2/ HTTP/1.1'
2011-08-11 11:23:25.673 33374-0#APVH_saltyunderground.com] Redirect: #1, URL: /index.php
=======================
On further investigating the error it seems like an issue with PHP coding.
I've replaced the index.php & replaced it with some sample PHP files .
All the files are working fine.

Further investigating this issue I could get this note from 'Lighthhtpd" forum .
Url rewriting does not work within a $HTTP["url"] conditional in lighthttpd webserver.
This may not be the error. But there will be some issue with the coding.
Please check out the php codes which you are using.



It seems that perhaps the issue is the LiteSpeed server. I know it works on Apache, having tested it on an Apache based development server, so all that seems left is that there is something in Litespeed that isn't directly compatible. Though, without knowing what the script's doing, its hard to diagnose further.

Thanks for your time, I appreciate the assistance.

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [CRE Loaded] 503 Error on install

Postby inveo » Mon Aug 15, 2011 12:42 pm

It is hard to say what going wrong there. Magic SEO URLs use very low-level code and we therefore officially support Apache/lighttpd/IIS only because we can not guarantee how will it work with other http servers.