Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work with PostgreSQL #96

Open
davwheat opened this issue Jul 16, 2018 · 6 comments
Open

Doesn't work with PostgreSQL #96

davwheat opened this issue Jul 16, 2018 · 6 comments

Comments

@davwheat
Copy link

davwheat commented Jul 16, 2018

When trying to install the plugin, I run into the following error.

SQL Error:
0 - ERROR: syntax error at or near "NOT" LINE 1: CREATE TABLE IF NOT EXISTS `mybb_fc_forms` (
^
Query:
CREATE TABLE IF NOT EXISTS `mybb_fc_forms` ( `formid` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `active` tinyint(1) NOT NULL, `fid` int(11) NOT NULL, `tid` int(11) NOT NULL, `overridebutton` tinyint(1) NOT NULL, `class` varchar(255) DEFAULT NULL, `subjecttemplate` varchar(255) DEFAULT NULL, `messagetemplate` text DEFAULT NULL, `settings` text NOT NULL, PRIMARY KEY (`formid`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
@burnacid
Copy link
Owner

Sorry the plugin is not fully compatible with postgresql.

@davwheat
Copy link
Author

You ought to update your requirements page then. https://github.com/burnacid/MyBB-Form-Creator/wiki/Getting-Started
PHP >= 5.6.0
MySQL >= 5.5, PostgreSQL >= 8.1 or SQLite >= 3

@burnacid
Copy link
Owner

Done sorry for the inconvenience. Will check if I find the time if I can fix this.

@burnacid burnacid self-assigned this Jul 19, 2018
@davwheat
Copy link
Author

Is there any chance it can be ported to work with PostgreSQL? I'd happily help to do this if you tell me what'd need to be changed.

@burnacid
Copy link
Owner

Ofcourse it is possible. I'm not well known with Postgresql. So I need to review what they do differently. Everything already uses the standard MyBB Datahandler for database which should it make easier. It now fails on creating of the tables for some reason. Not sure what part of the create table statement it doesn't accept. Again time is my issue sadly

@davwheat
Copy link
Author

davwheat commented Jul 19, 2018 via email

@burnacid burnacid removed the Fixed label Aug 4, 2018
@burnacid burnacid added this to the 2.7.0 milestone Oct 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants