May be down for maintenance or configured incorrectly?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

May be down for maintenance or configured incorrectly?

Postby itgl72 » 16. December 2012 19:11

My current community is running on older versions of Joomla. I am using Joomla Version 1.5.11 and Kunena version 1.0.10. I am running XAMP version 1.7.4 which is I older I know, but I have a version of joomla 2.5 working on it without problem. I was using to test in past weeks so if that more recent version works I would assume the older works too. Not the case.

My new problem is I have downloaded the website running 1.5.11 from my web host and put it into my xamp direcrory on my local PC. I have done this before, so I have have edited the config file for joomla and imported the old database. However, it keeps giving me an error. It says:

“The website encountered an error while retrieving http://localhost/dupgrade/. It may be down for maintenance or configured incorrectly.”

“HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.”

Looking for some direction, how to see a clue on how to track this down. I need to bring this site live so I can upgrade and migrate to something else.

Thanks in advance!
itgl72
 
Posts: 7
Joined: 26. February 2009 17:09

Re: May be down for maintenance or configured incorrectly?

Postby JonB » 16. December 2012 20:41

You should begin by looking in your Apache error log.

Good Luck
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: May be down for maintenance or configured incorrectly?

Postby itgl72 » 16. December 2012 21:12

JonB wrote:You should begin by looking in your Apache error log.

Good Luck



Well, to start, I see this but I do not think this is the problem.

[Sun Dec 16 15:11:52.028519 2012] [core:warn] [pid 3460:tid 264] AH00098: pid file d:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Sun Dec 16 15:11:52.543549 2012] [ssl:warn] [pid 3460:tid 264] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
PHP Warning: PHP Startup: Unable to load dynamic library 'D:\\xampp\\php\\ext\\php_sqlite.dll' - The specified procedure could not be found.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'D:\\xampp\\php\\ext\\php_ming.dll' - The specified procedure could not be found.\r\n in Unknown on line 0
[Sun Dec 16 15:11:59.027920 2012] [mpm_winnt:notice] [pid 3460:tid 264] AH00455: Apache/2.4.3 (Win32) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Sun Dec 16 15:11:59.028920 2012] [mpm_winnt:notice] [pid 3460:tid 264] AH00456: Server built: Aug 18 2012 12:41:37
[Sun Dec 16 15:11:59.028920 2012] [core:notice] [pid 3460:tid 264] AH00094: Command line: 'd:\\xampp\\apache\\bin\\httpd.exe -d D:/xampp/apache'
[Sun Dec 16 15:11:59.030920 2012] [mpm_winnt:notice] [pid 3460:tid 264] AH00418: Parent: Created child process 5348
[Sun Dec 16 15:12:01.288049 2012] [ssl:warn] [pid 5348:tid 280] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
PHP Warning: PHP Startup: Unable to load dynamic library 'D:\\xampp\\php\\ext\\php_sqlite.dll' - The specified procedure could not be found.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'D:\\xampp\\php\\ext\\php_ming.dll' - The specified procedure could not be found.\r\n in Unknown on line 0
[Sun Dec 16 15:12:05.185272 2012] [mpm_winnt:notice] [pid 5348:tid 280] AH00354: Child: Starting 150 worker threads.
itgl72
 
Posts: 7
Joined: 26. February 2009 17:09

Re: May be down for maintenance or configured incorrectly?

Postby itgl72 » 16. December 2012 21:14

Wait a minute, I think I see something here:

[Sun Dec 16 15:13:54.155504 2012] [core:alert] [pid 5348:tid 1740] [client ::1:50047] D:/xampp/htdocs/dadsupgrade/.htaccess: Invalid command 'AddOutputFilterByType', perhaps misspelled or defined by a module not included in the server configuration
[Sun Dec 16 15:13:54.988552 2012] [core:alert] [pid 5348:tid 1736] [client ::1:50048] D:/xampp/htdocs/dadsupgrade/.htaccess: Invalid command 'AddOutputFilterByType', perhaps misspelled or defined by a module not included in the server configuration
[Sun Dec 16 15:14:01.586930 2012] [core:alert] [pid 5348:tid 1728] [client ::1:50049] D:/xampp/htdocs/dadsupgrade/.htaccess: Invalid command 'AddOutputFilterByType', perhaps misspelled or defined by a module not included in the server configuration
[Sun Dec 16 15:14:06.403205 2012] [core:alert] [pid 5348:tid 1720] [client ::1:50050] D:/xampp/htdocs/dadsupgrade/.htaccess: Invalid command 'AddOutputFilterByType', perhaps misspelled or defined by a module not included in the server configuration
itgl72
 
Posts: 7
Joined: 26. February 2009 17:09

Re: May be down for maintenance or configured incorrectly?

Postby itgl72 » 16. December 2012 21:16

Inside the htaccess file I See these:

SetOutputFilter DEFLATE
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
itgl72
 
Posts: 7
Joined: 26. February 2009 17:09

Re: May be down for maintenance or configured incorrectly?

Postby JonB » 17. December 2012 01:46

PHP Warning: PHP Startup: Unable to load dynamic library 'D:\\xampp\\php\\ext\\php_sqlite.dll' - The specified procedure could not be found.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'D:\\xampp\\php\\ext\\php_ming.dll' - The specified procedure could not be found.\r\n in Unknown on line 0

Now only to my untrained eye - I would say those are pretty major problems.

Those .htaccess directives (I believe) are for output compression, likely for a Linux Server configuration. I suspect that mod_deflate might not work on Windows if it uses the gzip filter which is naive to Linux/Unix. I think you could simply rename them, and your server would simply send uncompressed output. I'm unsure if that would cause your sever to hang.

http://httpd.apache.org/docs/2.2/mod/mod_deflate.html

You should know why you need ming & sqllite, ditto what the deal is on output compression - no one else could possibly know.

What you also don't say as far as I can see - is what Windows version you are running. Now that is also important

Good Luck
:)




ycf
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: May be down for maintenance or configured incorrectly?

Postby itgl72 » 18. December 2012 01:11

JonB wrote:PHP Warning: PHP Startup: Unable to load dynamic library 'D:\\xampp\\php\\ext\\php_sqlite.dll' - The specified procedure could not be found.\r\n in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'D:\\xampp\\php\\ext\\php_ming.dll' - The specified procedure could not be found.\r\n in Unknown on line 0

Now only to my untrained eye - I would say those are pretty major problems.

You should know why you need ming & sqllite, ditto what the deal is on output compression - no one else could possibly know.

What you also don't say as far as I can see - is what Windows version you are running. Now that is also important



Well the ming & sqllite are part of the apache xampp, not specifically my websites. I see it every time I Start it, although the sites I have in the dev folders still work, but they are using mysql. Im using a windows 7 64bit OS.
itgl72
 
Posts: 7
Joined: 26. February 2009 17:09

Re: May be down for maintenance or configured incorrectly?

Postby itgl72 » 20. December 2012 22:09

Hitting a wall here. I've turned off the dev log settings for php and joomla, and now am only looking at the error logs for apache with the latest version of XAMPP.

[Thu Dec 20 16:01:05.022211 2012] [mpm_winnt:notice] [pid 3888:tid 276] AH00354: Child: Starting 150 worker threads.
[Thu Dec 20 16:02:13.885150 2012] [core:alert] [pid 3888:tid 1732] [client ::1:53679] D:/xampp/htdocs/worksite3/.htaccess: Invalid command 'AddOutputFilterByType', perhaps misspelled or defined by a module not included in the server configuration

This is what I see when I bring up my worksite3 dev site. I get server error on my browser, and see that line in the log.





Below is my current .htaccess:



SetOutputFilter DEFLATE
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript

##
# @version $Id: htaccess.txt 10492 2008-07-02 06:38:28Z 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

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

# 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



#<IfModule mod_suphp.c>
# suPHP_ConfigPath /home/dadshq
# <Files php.ini>
# order allow,deny
# deny from all
# </Files>
#</IfModule>
itgl72
 
Posts: 7
Joined: 26. February 2009 17:09

Re: May be down for maintenance or configured incorrectly?

Postby itgl72 » 22. December 2012 03:52

Uncommented LoadModule filter_module modules/mod_filter.so and it worked!
itgl72
 
Posts: 7
Joined: 26. February 2009 17:09


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 106 guests

cron