Simple Machines Community Forum

SMF Support => Server Performance and Configuration => Topic started by: valentino86 on February 08, 2012, 08:25:36 PM

Title: Error 500 and xampp
Post by: valentino86 on February 08, 2012, 08:25:36 PM
I'm trying to export my forum to xampp. So I just made a backup and stored it to my local folder and the I import my db on phpmyadmin. The I customized my settings.php with boardurl, db user and pasword and boarddir and sourcedir. After all this thing the forum doesn't work I get this error:

Errore HTTP 500 (Internal Server Error)

I did this job for my site joomla on the same domain and it works pretty well. So what am I missing?

I note that if I put the variable 2 in first rows of settings.php file and I link the home of my forum I get the message below.

########## Maintenance ##########
# Note: If $maintenance is set to 2, the forum will be unusable!  Change it to 0 to fix it.
$maintenance = 2; # Set to 1 to enable Maintenance Mode, 2 to make the forum untouchable. (you'll have to make it 0 again manually!)
$mtitle = 'Maintenance Mode'; # Title for the Maintenance Mode message.
$mmessage = 'Okay faithful users...we\'re attempting to restore an older backup of the database...news will be posted once we\'re back!'; # Description of why the forum is in maintenance mode.


What can I do? I've also erased the .htaccess file.
Title: Re: Error 500 and xampp
Post by: Oldiesmann on February 08, 2012, 09:14:01 PM
Check the server's error log (not sure where it is in an XAMPP install, but their documentation should provide that info) for more info.
Title: Re: Error 500 and xampp
Post by: SA™ on February 11, 2012, 03:12:26 AM
for xampp it is

C:\xampp\apache\logs

providing they havent changed it during install of xampp
Title: Re: Error 500 and xampp
Post by: JimM on February 14, 2012, 09:10:36 PM
Any additional info on this, valentino86?  Don't set $maintenance = 2 as that makes the forum unusable as stated.  Do you still get the error when you set $maintenance = 0 ?
Title: Re: Error 500 and xampp
Post by: Joker™ on February 14, 2012, 09:43:03 PM
valentino86, is your local copy of joomla still working?

AFAIR, I faced the same issue sometime ago and to resolve it simply go to

htdocs\xampp

- Make copy of .htaccess file in there at some other drive
- Remove this file
- Start the server