MyBB Community Forums

Full Version: Pagemanager plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I downloaded a pagemanager plugin but I am not able to activate it as it does not support current version of mybb.

Kindly suggest some page manager plugin for latest version.

mybb installation url https://panel.rdtlabs.com
Have you tried to install this one? => https://community.mybb.com/mods.php?action=view&pid=936
I installed this package. But while adding new page I got db error. Attachment is the screenshot of that.

Mybb installation url https://panel.rdtlabs.com
Enable the log error (https://community.mybb.com/thread-233457.html).
Probably an error with an empty value sent to an id field
Done with it. Now got the following error msg (at attachment).

At email:
Your copy of MyBB running on Panel Discussion (https://panel.rdtlabs.com) has experienced an error. Details of the error include:
---
Type: 20
File:  (Line no. 0)
Message
SQL Error: 1364 - Field 'groups' doesn't have a default value
Query: 
			INSERT
			INTO mybb_pages (`name`,`url`,`pagegroups`,`framework`,`template`,`deviceselect`,`online`,`enabled`,`dateline`)
			VALUES ('Privacy Policy','privacy-policy','-1',1,'<html>','all',1,1,1645692083)
		
Back Trace: #0 errorHandler->email_error(20, SQL Error: 1364 - Field 'groups' doesn't have a default value
Query: 
			INSERT
			INTO mybb_pages (`name`,`url`,`pagegroups`,`framework`,`template`,`deviceselect`,`online`,`enabled`,`dateline`)
			VALUES ('Privacy Policy','privacy-policy','-1',1,'<html>','all',1,1,1645692083)
		, , 0) called at [/home/admin/web/panel.rdtlabs.com/public_html/inc/class_error.php:229]
#1 errorHandler->error(20, Array ([error_no] => 1364,[error] => Field 'groups' doesn't have a default value,[query] => 
			INSERT
			INTO mybb_pages (`name`,`url`,`pagegroups`,`framework`,`template`,`deviceselect`,`online`,`enabled`,`dateline`)
			VALUES ('Privacy Policy','privacy-policy','-1',1,'<html>','all',1,1,1645692083)
		)) called at [/home/admin/web/panel.rdtlabs.com/public_html/inc/db_mysqli.php:601]
#2 DB_MySQLi->error(
			INSERT
			INTO mybb_pages (`name`,`url`,`pagegroups`,`framework`,`template`,`deviceselect`,`online`,`enabled`,`dateline`)
			VALUES ('Privacy Policy','privacy-policy','-1',1,'<html>','all',1,1,1645692083)
		) called at [/home/admin/web/panel.rdtlabs.com/public_html/inc/db_mysqli.php:337]
#3 DB_MySQLi->query(
			INSERT
			INTO mybb_pages (`name`,`url`,`pagegroups`,`framework`,`template`,`deviceselect`,`online`,`enabled`,`dateline`)
			VALUES ('Privacy Policy','privacy-policy','-1',1,'<html>','all',1,1,1645692083)
		, 0, 1) called at [/home/admin/web/panel.rdtlabs.com/public_html/inc/db_mysqli.php:370]
#4 DB_MySQLi->write_query(
			INSERT
			INTO mybb_pages (`name`,`url`,`pagegroups`,`framework`,`template`,`deviceselect`,`online`,`enabled`,`dateline`)
			VALUES ('Privacy Policy','privacy-policy','-1',1,'<html>','all',1,1,1645692083)
		) called at [/home/admin/web/panel.rdtlabs.com/public_html/inc/db_mysqli.php:834]
#5 DB_MySQLi->insert_query(pages, Array ([name] => 'Privacy Policy',[url] => 'privacy-policy',[pagegroups] => '-1',[framework] => 1,[template] => '<html>',[deviceselect] => 'all',[online] => 1,[enabled] => 1,[dateline] => 1645692083)) called at [/home/admin/web/panel.rdtlabs.com/public_html/inc/plugins/pagemanager.php:506]
#6 pagemanager_admin() called at [/home/admin/web/panel.rdtlabs.com/public_html/inc/class_plugins.php:142]
#7 pluginSystem->run_hooks(Array ([function] => pagemanager_admin,[file] => )) called at [/home/admin/web/panel.rdtlabs.com/public_html/admin/index.php:823]

Mybb installation url: https://panel.rdtlabs.com
Thanks for the report....it's an issue in plugin update function....I'll fix it asap!

Please remove the column "groups" from db table mybb_pages - is obsoleted.

Here is a quick fix tool for this issues.
[attachment=44927]

Please upload it into plugins directory and activate it on ACP ... after activation you can deactivate it and it should be self deleting.

Updated version 2.1.5 is online => https://community.mybb.com/thread-208230...pid1263466