Topic on Project:Support desk

173.35.60.175 (talkcontribs)

Hello! I am having a database error. I am using MYSQL

Server version: 5.1.73 MySQL client version: 5.1.73

the website is : http://162.251.118.90/wiki

88.130.103.75 (talkcontribs)

Hi!

I see that you are using MediaWiki 1.22.3 with the Survey extension installed.

However, we need way more information to be able to help you!

I guess the wiki worked once before? What have you changed that might have broken it?

We need the actual error message, that you get. See how to debug for more information on how to get the actual error message!

173.35.60.175 (talkcontribs)

I am not the best when it comes to websites (html, php, databases).

This is what it displayed Notice: Uncommitted DB writes (transaction from DatabaseBase::query (WikiPage::pageData)). in ....public_html/wiki/includes/db/Database.php on line 3944


/** * Run a few simple sanity checks */ public function __destruct() { if ( $this->mTrxLevel && $this->mTrxDoneWrites ) { trigger_error( "Uncommitted DB writes (transaction from {$this->mTrxFname})." ); //This is line 1944 } if ( count( $this->mTrxIdleCallbacks ) || count( $this->mTrxPreCommitCallbacks ) ) { $callers = array(); foreach ( $this->mTrxIdleCallbacks as $callbackInfo ) { $callers[] = $callbackInfo[1];

} $callers = implode( ', ', $callers ); trigger_error( "DB transaction callbacks still pending (from $callers)." ); } } }

Sorry if i'm wrong on what you wanted

173.35.60.175 (talkcontribs)

Forgot to answer your question. I just finished the configuration for the wiki. Before I put the settings in the root folder I added the survey plugin. Then I loaded the page and got this database error.

88.130.103.75 (talkcontribs)

Then you still have to run the maintenance script update.php to update the database with the new tables/columns as needed by the Survey extension. See Manual:Upgrading#Run_the_update_script for information on how to do that!

173.35.60.175 (talkcontribs)

Thanks for your time, and sorry for my stupidity.

Reply to "Database error"