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.
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.
for xampp it is
C:\xampp\apache\logs
providing they havent changed it during install of xampp
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 ?
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