The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Server error! Error 500
PostPosted: Wed Jul 04, 2012 4:52 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Jul 04, 2012 4:37 am
Posts: 4
I created a site with Joomla! 1.5 on a Windows system some years ago. I transferred to a Linux server for public access. It has been working fine.

Now I have backed up the web site and exported the database. I put it on my local Windows system and trying to get it work but I keep getting the above error message.

I have then installed the Joomla! 1.5 default system with the sample database on my local Windows system and it works fine. I am trying to compare both systems in order to pinpoint the possible problems. Both databases use the same user names and passwords.

I have compared the configuration.php from both sites and thus changed the following two statements. However the problems remain. What else I could look at?
public $log_path = 'C:\\xampp\\htdocs\\computing\\logs';
public $tmp_path = 'C:\\xampp\\htdocs\\computing\\tmp';


Top
 Profile  
 
PostPosted: Wed Jul 11, 2012 3:14 pm 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Sat Aug 16, 2008 1:46 pm
Posts: 5171
Location: the Bat Cave
Try enabling error reporting in your configuration.php file and see if it gives you a more detailed error message.
http://forum.joomla.org/viewtopic.php?f=430&t=560583&p=2302623&hilit=maximum+configuration.php#p2303205


Top
 Profile  
 
PostPosted: Thu Jul 12, 2012 7:43 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Jul 04, 2012 4:37 am
Posts: 4
In the C:\xampp\apache\bin\php.ini file, I alrady have error_reporting = E_ALL & ~E_NOTICE. I had supposed it would be adequate.

Anyway, I have changed the configuration.php according to your advice and re-started the web server but it hasn't made any difference. No further info has been produced.
public $offline = '1';
public $debug = '1';
public $error_reporting = '6143';

I still get the same error message as below.
Server error!

The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.

If you think this is a server error, please contact the webmaster.
Error 500
localhost
07/12/12 17:34:08
Apache/2.2.9 (Win32) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8i mod_autoindex_color PHP/5.2.6


Top
 Profile  
 
PostPosted: Thu Jul 12, 2012 3:36 pm 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Sat Aug 16, 2008 1:46 pm
Posts: 5171
Location: the Bat Cave
You may need to reinstall Xammp but first check your Apache error log to see if it gives more details. Do you know if your site is running any CGI or perl scripts that could be causing the error?


Top
 Profile  
 
PostPosted: Fri Jul 13, 2012 2:03 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Jul 04, 2012 4:37 am
Posts: 4
Thanks! My site is not running any CGI or PERL scripts. I put the site together on the same Windows environment.

Your advice has reminded me to check the Apache error log and it pointed to the .htaccess problem. I supposed the Windows system can't understand dot file or can't handle access issues. I renamed the .htaccess and then I could access the site.

Nevertheless I still have one more issue. Everytime I try to access it, the front-end, I keep getting an error message saying "This site is down for maintenance. Please check back again soon." and asking User Name and Password. I then enter the administrator user name and password and the front-end, not the back-end, comes up without more ado. Why is that? I wouldn't understand. Please help!


Top
 Profile  
 
PostPosted: Fri Jul 13, 2012 4:21 am 
User avatar
Joomla! Champion
Joomla! Champion

Joined: Sat Aug 16, 2008 1:46 pm
Posts: 5171
Location: the Bat Cave
healee wrote:
......................

Anyway, I have changed the configuration.php according to your advice and re-started the web server but it hasn't made any difference. No further info has been produced.
public $offline = '1';
public $debug = '1';
public $error_reporting = '6143';

.......................

You set your site off line in your last post. You need to set "public $offline" to "0"(zero) to put your site back online.


Top
 Profile  
 
PostPosted: Fri Jul 13, 2012 5:57 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Jul 04, 2012 4:37 am
Posts: 4
Thank you!
It is all good now.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 



Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group