[SOLVED THANKFULLY :) ] Site Down: SQL Error !

Support for IntegraMOD 141

Moderator: Integra Moderator

[SOLVED THANKFULLY :) ] Site Down: SQL Error !

PostAuthor: spaniel » Thu Jan 03, 2008 9:21 pm

Your phpBB Version: 2.0.
phpBB Type: Integramod 141
MODs: No
Your knowledge: Beginner
Board URL: [url]http://[/url]

PHP Version: 4.4.7
MySQL Version: 5


What was done before the problem appeared?
trying to figure out the customs rank feature, in list_special_rank i accidentally changed the table [RANKS_SPECIAL] to [CUSTOM_RANKS] and not surprisingly i'm gettin the error (see below)


What was done to try to solve the problem?
i don't know how to fix SQL errors so i'm stuck



De.scription and Message

i'm now getting the following db error msg across the whole site:

[code]General Error  Could not read list informations  DEBUG MODE  SQL Error ]


How do i fix the db to get the site up again?


Many thanks.
Last edited by spaniel on Fri Jan 04, 2008 7:42 am, edited 1 time in total.

spaniel
Sr Integra Member
Sr Integra Member
 
Posts: 220
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 26, 2006 4:29 pm
Cash on hand: 0.00

Re: Site Down: SQL Error !

PostAuthor: CaNNon » Fri Jan 04, 2008 1:14 am

For a quick, fix swapping the tables back could get it running again.

If I follow what you have done there still intac you just put the names back.

changed the table [RANKS_SPECIAL] to [CUSTOM_RANKS]
Last edited by CaNNon on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
Image
Image
User avatar
CaNNon
Sr Integra Member
Sr Integra Member
 
Posts: 750
Likes: 0 post
Liked in: 0 post
Joined: Thu Apr 19, 2007 12:15 pm
Cash on hand: 0.00

Re: Site Down: SQL Error !

PostAuthor: Helter » Fri Jan 04, 2008 1:41 am

he may have actually corrupted a few of his cache files.
check your chmods on
profilcp/def/def_userxxxxxx.php
they all need to be set to 666

as a last resort, rename the folder
root/profilcp/def to def1
upload a new copy of this file and set your "def" folder permissions to 777 and your file permissions in it to 666
Last edited by Helter on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
"Success is getting what you want. Happiness is wanting what you get." - Dale Carnegie
User avatar
Helter
Administrator
Administrator
 
Posts: 4554
Likes: 40 posts
Liked in: 116 posts
Images: 0
Joined: Sat Mar 11, 2006 4:46 pm
Cash on hand: 1,959.15
Location: Seattle Wa
IntegraMOD version: phpBB2x

PostAuthor: spaniel » Fri Jan 04, 2008 2:05 am

Oh what a relief !! My god was i having kittens!

I'd backed up my def files a couple of days ago so i did what u suggested and everything's back to normal.

But that SQL is scary stuff. I shan't be going near that again in a hurry. <img>


Thanks for all your advice, it's very much appreciated.
Last edited by spaniel on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

spaniel
Sr Integra Member
Sr Integra Member
 
Posts: 220
Likes: 0 post
Liked in: 0 post
Joined: Wed Apr 26, 2006 4:29 pm
Cash on hand: 0.00


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]