MyBB Community Forums

Full Version: MyBB Mediawiki
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
bump. please help
Nobody will fix this?
When I have time I will.
I've updated the attachment in my post. It should work now.
Seems like it's not changing back to the Mediawiki db after login now. :\ Anyway, thanks Chris.

Error in fetchObject(): Table 'cooleste_forumz.wiki_page' doesn't exist
Backtrace:

GlobalFunctions.php line 602 calls wfbacktrace()
Database.php line 596 calls wfdebugdiebacktrace()
Database.php line 1787 calls databasemysql::fetchobject()
LinkBatch.php line 76 calls resultwrapper::fetchobject()
LinkBatch.php line 55 calls linkbatch::executeinto()
Skin.php line 192 calls linkbatch::execute()
Skin.php line 171 calls skinmonobook::preloadexistence()
SkinTemplate.php line 108 calls skin::initpage()
MonoBook.php line 28 calls skintemplate::initpage()
SkinTemplate.php line 151 calls skinmonobook::initpage()
OutputPage.php line 582 calls skinmonobook::outputpage()
OutputPage.php line 799 calls outputpage::output()
Database.php line 476 calls outputpage::databaseerror()
Database.php line 419 calls databasemysql::reportqueryerror()
Block.php line 122 calls databasemysql::query()
User.php line 411 calls block::load()
User.php line 568 calls user::getblockedstatus()
User.php line 1550 calls user::isblocked()
SpecialUserlogin.php line 525 calls user::isallowedtocreateaccount()
SpecialUserlogin.php line 483 calls loginform::showcreateorloginlink()
SpecialUserlogin.php line 313 calls loginform::mainloginform()
SpecialUserlogin.php line 91 calls loginform::processlogin()
SpecialUserlogin.php line 19 calls loginform::execute()
SpecialPage.php line 415 calls wfspecialuserlogin()
SpecialPage.php line 276 calls specialpage::execute()
Wiki.php line 155 calls specialpage::executepath()
Wiki.php line 47 calls mediawiki::initializespecialcases()
index.php line 123 calls mediawiki::initialize()
Oh, that is because you use the same MySQL username and password for MediaWiki and your copy of MyBB, right?

I've updated the zip archive to take that in to account.
Yes, that is true.

OK, installing it now.  Hope it works. Smile

Sad Still seems to have a problem, but the file size is the same, so I think you might not have the updated version here.

Error in fetchObject(): Table 'cooleste_forumz.wiki_page' doesn't exist
Backtrace:

GlobalFunctions.php line 602 calls wfbacktrace()
Database.php line 596 calls wfdebugdiebacktrace()
Database.php line 1787 calls databasemysql::fetchobject()
LinkBatch.php line 76 calls resultwrapper::fetchobject()
LinkBatch.php line 55 calls linkbatch::executeinto()
Skin.php line 192 calls linkbatch::execute()
Skin.php line 171 calls skinmonobook::preloadexistence()
SkinTemplate.php line 108 calls skin::initpage()
MonoBook.php line 28 calls skintemplate::initpage()
SkinTemplate.php line 151 calls skinmonobook::initpage()
OutputPage.php line 582 calls skinmonobook::outputpage()
OutputPage.php line 799 calls outputpage::output()
Database.php line 476 calls outputpage::databaseerror()
Database.php line 419 calls databasemysql::reportqueryerror()
Block.php line 122 calls databasemysql::query()
User.php line 411 calls block::load()
User.php line 568 calls user::getblockedstatus()
User.php line 1550 calls user::isblocked()
SpecialUserlogin.php line 525 calls user::isallowedtocreateaccount()
SpecialUserlogin.php line 483 calls loginform::showcreateorloginlink()
SpecialUserlogin.php line 313 calls loginform::mainloginform()
SpecialUserlogin.php line 91 calls loginform::processlogin()
SpecialUserlogin.php line 19 calls loginform::execute()
SpecialPage.php line 415 calls wfspecialuserlogin()
SpecialPage.php line 276 calls specialpage::execute()
Wiki.php line 155 calls specialpage::executepath()
Wiki.php line 47 calls mediawiki::initializespecialcases()
index.php line 123 calls mediawiki::initialize()
* Ryan Gordon thinks chris should upload to mods.mybboard.com
Fixed, Cool_Guy.
No, same problem. Tho I just fixed it by using different SQL users for the dbs. I did notice a problem tho. If a username has a _ or space, it does not find it and refuses to login. it seems like admins cannot log in. Sad
Edit:

I'm also getting this when user "tehpwner" (my secondary accout) logs on. Seems like the mybb_ prefix is missing.

Quote:Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/cooleste/public_html/AuthMyBB.php on line 152

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/cooleste/public_html/AuthMyBB.php on line 152
Error in numRows(): Table 'cooleste_forumz.users' doesn't exist

Backtrace:

* GlobalFunctions.php line 602 calls wfbacktrace()
* Database.php line 619 calls wfdebugdiebacktrace()
* Database.php line 722 calls databasemysql::numrows()
* LinkCache.php line 152 calls databasemysql::selectfield()
* Title.php line 1249 calls linkcache::addlinkobj()
* Linker.php line 241 calls title::getarticleid()
* OutputPage.php line 892 calls skinmonobook::makelinkobj()
* SpecialUserlogin.php line 422 calls outputpage::returntomain()
* SpecialUserlogin.php line 342 calls loginform::successfullogin()
* SpecialUserlogin.php line 91 calls loginform::processlogin()
* SpecialUserlogin.php line 19 calls loginform::execute()
* SpecialPage.php line 415 calls wfspecialuserlogin()
* SpecialPage.php line 276 calls specialpage::execute()
* Wiki.php line 155 calls specialpage::executepath()
* Wiki.php line 47 calls mediawiki::initializespecialcases()
* index.php line 123 calls mediawiki::initialize()

Edit 2: The error is on line 151.

	$query = mysql_query("SELECT username,email,usergroup,additionalgroups FROM users WHERE username='".$this->escape_string($user->mName)."'", $this->db);

Should be:
	$query = mysql_query("SELECT username,email,usergroup,additionalgroups FROM {$this->table_prefix}users WHERE username='".$this->escape_string($user->mName)."'", $this->db); 
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20