Author Topic: 500 internal server error  (Read 11034 times)

damo

  • Newbie
  • *
  • Posts: 33
    • View Profile
    • Joomla Themes
500 internal server error
« on: 15 September 2009, 22:26 »
i run a few sites on 2 different servers and tonight only my sites running sef advance went down with a 500 internal server error

it is getting looked into but i´m just asking; is there anything that could make it happen within the extension?

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,453
    • View Profile
    • Sakic.Net
Re: 500 internal server error
« Reply #1 on: 15 September 2009, 23:26 »

rstepos

  • Newbie
  • *
  • Posts: 5
    • View Profile
Also 500 Internal Server Error
« Reply #2 on: 16 September 2009, 12:04 »
Hi,

i have been using the component successfully for some months now and just this morning my site crashed displaying the Internal Server Error 500 page. I checked everything out and it seemed fine from my end ie bandwidth disk space etc. so i sent an email to my hosting provider who replied with the following:

"Hello,

This looks to be an issue with the 'SEF Advance' component on your site.  Try turning that off or upgrading to the latest version to see if that makes a difference for you.

Kind Regards,

Support"

I disabled SEF Advance and it now works but obviously im not getting my SEF URL's now, could you please advise??

Thanks,

RSTEPOS

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,453
    • View Profile
    • Sakic.Net
Re: Also 500 Internal Server Error
« Reply #3 on: 16 September 2009, 12:08 »
There's nothing wrong with SEF Advance but may be wrong in your server settings: http://www.sakic.net/support/faq/sef_advance/#2

Check your .htaccess file. To bring the site back remove or rename .htaccess, but it's obvious the server settings have changed or you changed something in .htaccess.

elwalker

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: 500 internal server error
« Reply #4 on: 16 September 2009, 12:20 »
This has also happened to be today. Both sites running SEF Advance have gone down without prior warning. My host attrtibutes this to the SEF component. Can you help?

elwalker

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Also 500 Internal Server Error
« Reply #5 on: 16 September 2009, 12:22 »
This too has happened to me today after years of using SEF Advance. Nothing has changed on my server or in my admin settings. Why would SEF Advance suddenly decide to conflict with the site?

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,453
    • View Profile
    • Sakic.Net
Re: 500 internal server error
« Reply #6 on: 16 September 2009, 12:41 »
As I said SEF Advance has nothing to do with this! Check your .htaccess and mod_rewrite settings.

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,453
    • View Profile
    • Sakic.Net
Re: Also 500 Internal Server Error
« Reply #7 on: 16 September 2009, 12:42 »
Something must have changed by your host! SEF Advance can not possibly stop, it's not controlled by outside. Check your .htaccess and remove it to see that's the problem.

rstepos

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: Also 500 Internal Server Error
« Reply #8 on: 16 September 2009, 14:22 »
never changed anything in my htaccess files and my server settings remain the same

This is the message that is displayed on the Internal error 500 page

Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.mysite.com Port 80

and here is a text dump from my htaccess

##
# @version $Id: htaccess.txt 9975 2008-01-30 17:02:11Z ircmaxell $
# @package Joomla
# @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
# @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
# Joomla! is Free Software
##


#####################################################
#  READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations.  It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file.  If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's.  If they work,
# it has been set by your server administrator and you do not need it set here.
#
#####################################################

##  Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

#
#  mod_rewrite in use

RewriteEngine On


#  Uncomment following line if your webserver's URL
#  is not directly related to physical file paths.
#  Update Your Joomla! Directory (just / for root)

# RewriteBase /


########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$  [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section


########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to set a mosConfig value through the URL
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits

AuthName "Secure Area"
AuthType Basic
AuthUserFile /public_html/downloads/.htpasswd
require valid-user



This for me is a major major issue please help!! ???

elwalker

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Also 500 Internal Server Error
« Reply #9 on: 16 September 2009, 14:47 »
Thanks for your help so far. I know you're adamant that this is not an issue with SEF Advance. But my host thinks otherwise and I'm caught in the middle. It seems strange that this has happened for three people today. Soemthing has gone wrong. Any further ideas you have for sorting this out would be much appreciated. My host came back to me with the following:

"As far as we are aware, our testing shows this to be due to an incompatibility between SEF Advance and the PHP Zend Optimizer version 3.3.9.  As such, this is not an issue with .htaccess files.  We recommend that you remove SEF Advance at this time until a fix for this issue has been released. "

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,453
    • View Profile
    • Sakic.Net
Re: Also 500 Internal Server Error
« Reply #10 on: 16 September 2009, 15:12 »
Maybe they are on the same host, I don't know. SEF Advance can not possibly cause this.
They say incompatibility with Zend Optimizer. How did it work yesterday then? In that case they added Zend Optimizer or upgraded it. In that case it would be a confict with ionCube, not SEF Advance.

Still nobody replies what happens when you remove or rename .htaccess ???

elwalker

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Also 500 Internal Server Error
« Reply #11 on: 16 September 2009, 15:16 »
I removed htaccess and get the same error. Thanks.

elwalker

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: Also 500 Internal Server Error
« Reply #12 on: 16 September 2009, 15:24 »
Hi Emir. Some more comments from my host, which may shed some light on the issue:

"The issue would occur today because an automatic upgrade of PHP and the Zend Optimizer was pushed through last night.  Normally, incremental upgrades are not problematic but it seems the software you're using is very sensitive to this change.

I'm going to see if there's any possibility of downgrading the version of Zend on the server in question.  That should at least get you to the point where you can easily remove SEF Advance, or upgrade it to the latest version."

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,453
    • View Profile
    • Sakic.Net
Re: Also 500 Internal Server Error
« Reply #13 on: 16 September 2009, 15:31 »
OK, so you see THEY changed something on the server. They upgraded PHP.

Maybe it's just a question of having the latest ionCube loaders. Have a look on PHP version you have now and which loaders you have. You can get the latest loaders from: http://www.ioncube.com/loaders.php

More info on installing them: http://www.sakic.net/support/ioncube/

evotz

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Also 500 Internal Server Error
« Reply #14 on: 16 September 2009, 15:39 »
Saka,

Are you able to run this extension with PHP 5.2.10, Ioncube Loader v3.1.32, and Zend Optimizer 3.3.9?