News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Forum Is in Maintenance Mood

Started by thanyawzinmin, February 06, 2011, 12:54:39 AM

Previous topic - Next topic

thanyawzinmin

When I am disabling some packages,I set the forum as Maintenance Mood.
And I also logout from the admin account.

And Show only message
Forum is in Maintenance mood and there is no other log in signal.

Please Help me

The url to my forum is

http://www.myanmarinternetforum.com/


Thanyawzinmin
I am non person.
But I only love knowledge.
Even My life is nonsense without knowledge.
thanaywzinmin

ACAMS


thanyawzinmin

Warning: Unexpected character in input: ''' (ASCII=39) state=1 in /home/myanmar9/public_html/repair_settings.php on line 333

Parse error: syntax error, unexpected $end in /home/myanmar9/public_html/repair_settings.php on line 333



ံHere Is new error now?
I opened it with and Found these

ist ($known_settings['database_settings']['db_prefix'][2]) = preg_replace('~log_topics$~', '', mysql_fetch_row($request));

What are those ?What can I do?
I am non person.
But I only love knowledge.
Even My life is nonsense without knowledge.
thanaywzinmin

ACAMS

I would use the repair_settings.php to turn off maintance mode and uninstall the last mod you installed, or was installing when the problem occured.

thanyawzinmin

Nothing happen friend
How I can recover back?
I can do what ever I want in FTP and Database.

Plz Guide me.
I am non person.
But I only love knowledge.
Even My life is nonsense without knowledge.
thanaywzinmin

Acans

Open your settings.php file, and where it says:

$maintenance = 2;

Change the 2 to 0 and save.
"The Book of Arantor, 17:3-5
  And I said unto him, thy database query shalt always be sent by the messenger of $smcFunc
  And $smcFunc shall protect you against injections and evil
  And so it came to pass that mysql_query was declared deprecated and even though he says he is not
  dead yet, the time was soon to come to pass when mysql_query shall be gone and no more

thanyawzinmin

I follow ur recommendation with notepad ++ and I have still that error Too.

Now I am removing all the package and I want to reinstall now.
Can I restore all the boards and posts.

Thanyawzinmin
Now I am testing with webinstall but I have also some error too.

QuoteWarning: Unknown: write failed: No space left on device (28) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save [nofollow]_path is correct (/tmp) in Unknown on line 0
I am non person.
But I only love knowledge.
Even My life is nonsense without knowledge.
thanaywzinmin

Siirist

Hi thanyawzinmin,  :)
There are a lot of different errors that happened.

> Before you change anything in your forum, do a back-up. Before you install a mod, do a back-up. Before you upgrade, do a back-up.

> Please ALWAYS say -> What version you are using and if you are an Administrator
( I am using SMF ver 2.0 RC3 and I am Administrator )

> Please say ->  What you were doing when error happened ( I was re-installing Thank-O-Matic )

> There are some nice mods that just won't work with RC4 yet, we just have to wait.

The first problem.
QuoteWhen I am disabling some packages,I set the forum as Maintenance Mood.
And I also logout from the admin account.
(When you say disabling, does that mean un-installing?)

This should have been easy to fix.
An Administrator can sign into forum when it is in Maintenance Mode.
Then go to Admin Panel -> Configuration -> Server Settings -> General.
Then  make sure that "Enable Maintenance Mode" is NOT "ticked" or "checked".
Then select "Save".
That should have solved this. O:)

At this point, many things have changed, and I think you should do the repair that ACAMS said.
Because ->
Repair_settings.php is one of the most important tools for use with SMF. It allows you to change the most important settings such as MySQL information, file paths and urls, and can be used when SMF is not working at all.
Here is the link -> What is repair_settings.php?

Once you get the forum working, all the posts should be there. If they are not, AND you did a back-up before all this started, you can restore you database up to your last back-up. There is a link in my signature.

You may have to install the mods again.
I try to have not more than 10 mods on a forum.

I have 4 forums that I help with and I try to back-up once a week. O:)

Take Care,
Cloud
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Arantor

QuoteWarning: Unknown: write failed: No space left on device (28) in Unknown on line 0

There's the giveaway. There's no space left on the disk. Thus, no space left to make changes. Talk to your host.

Siirist

Quote from: Arantor on February 06, 2011, 06:41:39 AM
QuoteWarning: Unknown: write failed: No space left on device (28) in Unknown on line 0

There's the giveaway. There's no space left on the disk. Thus, no space left to make changes. Talk to your host.

:o Oh that is bad. I did not know that one. Thanks Arantor. Cloud
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

thanyawzinmin

Thank so much to u man.
I am not reinstalling the SMF RC4 and I want to backup my database now.
I saw an option on my cpanel  that will give me a SQL backup file.
I think that there will be a backup tables of all posts and forum statics.

How I can import it ti my newly reborn forum.
I am now uploading the packages to my host with filezilla.

I will use RC4.
Thank really men

Thanyawzinmin
I am non person.
But I only love knowledge.
Even My life is nonsense without knowledge.
thanaywzinmin

Siirist

Quote from: thanyawzinmin on February 06, 2011, 11:04:34 AM
Thank so much to u man.
I am not reinstalling the SMF RC4 and I want to backup my database now.
I saw an option on my cpanel  that will give me a SQL backup file.
I think that there will be a backup tables of all posts and forum statics.

How I can import it ti my newly reborn forum.
I am now uploading the packages to my host with filezilla.

I will use RC4.
Thank really men

Thanyawzinmin

You should find all the information on how to do that within that section of your Control Panel
Cloud
Needed information:
- What's your SMF version?, What MODs are installed? What Theme(s) are you using? Have you backed up your database?

--> At least 50% of the questions asked are answered in the Online Manual <--
Mods for ver 1.x will NOT run on ver 2.x

Advertisement: