MyBB Community Forums

Full Version: Custom Pages Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I Tried The SQL Query, and it didn't work. Here's What Came Up Ehen I Activated it:

Quote:MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1050 - Table 'mybb_2pages' already exists
Query:
CREATE TABLE mybb_2pages ( id INT NOT NULL AUTO_INCREMENT PRIMARY KEY , page TEXT NOT NULL , title TEXT NOT NULL , content TEXT NOT NULL , permissions TEXT NOT NULL , active TEXT NOT NULL , use_table TEXT NOT NULL )

How do I Fix it?
Hi,
can you give us a link to the plugin page please: http://mods.mybboard.net/mods ?
Custom pages is a MyBBSource Mod: http://mybbsource.com/thread-1159.html

You'd get better support at MyBBSource for one of it's mods :p
Just add in the code where the table is created...
<?php
mysql_query("DROP TABLE IF EXISTS `mybb_2pages`;") or die(mysql_error());
?>
No, I Found it in the Mods Part On this site...

Plus, Where would you add that code?