Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: JayHaxor on March 29, 2008, 11:54:03 PM

Title: I moved my forums (PLEASE HELP)
Post by: JayHaxor on March 29, 2008, 11:54:03 PM
I was running a php nuke site before and I was working on my new site (smf) in a different directory. http://www.clan-nj.com/site/. Now I moved all the files from site into /public_html/ now i'm getting this error

QuoteTemplate Parse Error!
It seems something has gone sour on the forum with the template system. This problem should only be temporary, so please come back later and try again. If you continue to see this message, please contact the administrator.

You can also try refreshing this page.

which can be found at http://www.clan-nj.com.

Here is my Settings.php



<?php
/**********************************************************************************
* Settings.php                                                                    *
***********************************************************************************
* SMF: Simple Machines Forum                                                      *
* Open-Source Project Inspired by Zef Hemel ([email protected])                    *
* =============================================================================== *
* Software Version:           SMF 1.1                                             *
* Software by:                Simple Machines (http://www.simplemachines.org)     *
* Copyright 2006 by:          Simple Machines LLC (http://www.simplemachines.org) *
*           2001-2006 by:     Lewis Media (http://www.lewismedia.com)             *
* Support, News, Updates at:  http://www.simplemachines.org                       *
***********************************************************************************
* This program is free software; you may redistribute it and/or modify it under   *
* the terms of the provided license as published by Simple Machines LLC.          *
*                                                                                 *
* This program is distributed in the hope that it is and will be useful, but      *
* WITHOUT ANY WARRANTIES; without even any implied warranty of MERCHANTABILITY    *
* or FITNESS FOR A PARTICULAR PURPOSE.                                            *
*                                                                                 *
* See the "license.txt" file for details of the Simple Machines license.          *
* The latest version can always be found at http://www.simplemachines.org.        *
**********************************************************************************/


########## Maintenance ##########
# Note: If $maintenance is set to 2, the forum will be unusable!  Change it to 0 to fix it.
$maintenance 0; # 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.

########## Forum Info ##########
$mbname 'New Jersey Servers '; # The name of your forum.
$language 'english'; # The default language file set for the forum.
$boardurl 'http://clan-nj.com'; # URL to your forum's folder. (without the trailing /!)
$webmaster_email '[email protected]'; # Email address to send emails from. (like [email protected].)
$cookiename 'SMFCookie463'; # Name of the cookie to set for authentication.

########## Database Info ##########
$db_server 'localhost';
$db_name 'guess';
$db_user 'guess';
$db_passwd 'guess';
$db_prefix 'smf_';
$db_persist 0;
$db_error_send 1;

########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
$boarddir '/home/fbzxbaiy/public_html'; # The absolute path to the forum's folder. (not just '.'!)
$sourcedir '/home/fbzxbaiy/public_html/Sources'; # Path to the Sources directory.

########## Error-Catching ##########
# Note: You shouldn't touch these settings.
$db_last_error 1206675154;


# Make sure the paths are correct... at least try to fix them.
if (!file_exists($boarddir) && file_exists(dirname(__FILE__) . '/agreement.txt'))
$boarddir dirname(__FILE__);
if (!
file_exists($sourcedir) && file_exists($boarddir '/Sources'))
$sourcedir $boarddir '/Sources';

$db_character_set 'utf8';
?>



Help
Title: Re: I moved my forums (PLEASE HELP)
Post by: !Hachi! on March 29, 2008, 11:57:09 PM
try this one please.you need to run repair_settings.php when you move folders around
http://docs.simplemachines.org/index.php?topic=663.msg1319#msg1319
Title: Re: I moved my forums (PLEASE HELP)
Post by: JayHaxor on March 30, 2008, 12:01:09 AM
I did that, i set everything to the reccomended settings, do I have to remove it?
Title: Re: I moved my forums (PLEASE HELP)
Post by: !Hachi! on March 30, 2008, 12:04:28 AM
yes you should remove it.but error is still there....make backup of default theme and upload fresh copy of default theme.
Title: Re: I moved my forums (PLEASE HELP)
Post by: JayHaxor on March 30, 2008, 12:05:35 AM
It's not working, before I removed it i set everything to the default it told me too, the my sql data base is correct, what am I doing wrong?
Title: Re: I moved my forums (PLEASE HELP)
Post by: !Hachi! on March 30, 2008, 12:09:43 AM
its template error why you don't  upload new default theme it will reset everything.
Title: Re: I moved my forums (PLEASE HELP)
Post by: JayHaxor on March 30, 2008, 12:11:28 AM
Will I have to redo all my mods and forums and posts and everything?

EDIT: now its not showing anything.. http://www.clan-nj.com

EDIT: Okay i made it lead to the default template, I'm going to reinstall the default template

What the heck happened to my forums? It's all messed up?
Title: Re: I moved my forums (PLEASE HELP)
Post by: !Hachi! on March 30, 2008, 12:43:12 AM
its working fine for me....
Title: Re: I moved my forums (PLEASE HELP)
Post by: JayHaxor on March 30, 2008, 12:43:43 AM
Yup, i just got it, thanks so much man you rock. Fast reply, your the ownage :D:D:D:D:D
Title: Re: I moved my forums (PLEASE HELP)
Post by: !Hachi! on March 30, 2008, 12:45:15 AM
and please don't PM unless i asked you please...it will not help..
have a nice day