|
Forums ⇒ DragonflyCMS ⇒ Installation Issues :: Archives ⇒ 8.2c to 9.0 --Mysql tables not updating properly!!! :: Archived
8.2c to 9.0 --Mysql tables not updating properly!!! :: ArchivedPost your DragonflyCMS installation questions and problems here. Note that we have "Switch from X" forums for other CMS/forum conversions. DO NOT post those or module installation issues here!
Go to page Previous 1, 2
| Topic Archived |
View previous topic :: View next topic |
| Author |
Message |
mortal.seraphim Nice poster


Offline Joined: Dec 03, 2004 Posts: 87 Location: Plano TX
|
Posted: Fri Feb 11, 2005 11:38 pm Post subject: Re: 8.2c to 9.0 --Mysql tables not updating properly!!! |
|
Here's the rows that are created in a new install.
| Code:: |
$installer->add_query('INSERT', 'bbconfig', "'allow_html', '0'");
$installer->add_query('INSERT', 'bbconfig', "'allow_html_tags', 'b,i,u,pre'");
$installer->add_query('INSERT', 'bbconfig', "'allow_bbcode', '1'");
$installer->add_query('INSERT', 'bbconfig', "'allow_smilies', '1'");
$installer->add_query('INSERT', 'bbconfig', "'allow_sig', '1'");
$installer->add_query('INSERT', 'bbconfig', "'allow_namechange', '0'");
$installer->add_query('INSERT', 'bbconfig', "'allow_theme_create', '0'");
$installer->add_query('INSERT', 'bbconfig', "'allow_avatar_local', '1'");
$installer->add_query('INSERT', 'bbconfig', "'allow_avatar_remote', '1'");
$installer->add_query('INSERT', 'bbconfig', "'allow_avatar_upload', '0'");
$installer->add_query('INSERT', 'bbconfig', "'override_user_style', '1'");
$installer->add_query('INSERT', 'bbconfig', "'posts_per_page', '15'");
$installer->add_query('INSERT', 'bbconfig', "'topics_per_page', '50'");
$installer->add_query('INSERT', 'bbconfig', "'hot_threshold', '25'");
$installer->add_query('INSERT', 'bbconfig', "'max_poll_options', '10'");
$installer->add_query('INSERT', 'bbconfig', "'max_inbox_privmsgs', '100'");
$installer->add_query('INSERT', 'bbconfig', "'max_sentbox_privmsgs', '100'");
$installer->add_query('INSERT', 'bbconfig', "'max_savebox_privmsgs', '100'");
$installer->add_query('INSERT', 'bbconfig', "'board_email_sig', 'Thanks, Webmaster @ MySite.com'");
$installer->add_query('INSERT', 'bbconfig', "'smtp_delivery', '0'");
$installer->add_query('INSERT', 'bbconfig', "'smtp_host', ''");
$installer->add_query('INSERT', 'bbconfig', "'require_activation', '0'");
$installer->add_query('INSERT', 'bbconfig', "'flood_interval', '15'");
$installer->add_query('INSERT', 'bbconfig', "'board_email_form', '0'");
$installer->add_query('INSERT', 'bbconfig', "'default_style', '1'");
$installer->add_query('INSERT', 'bbconfig', "'default_dateformat', 'D M d, Y g:i a'");
$installer->add_query('INSERT', 'bbconfig', "'board_timezone', '0'");
$installer->add_query('INSERT', 'bbconfig', "'prune_enable', '0'");
$installer->add_query('INSERT', 'bbconfig', "'coppa_fax', ''");
$installer->add_query('INSERT', 'bbconfig', "'coppa_mail', ''");
$installer->add_query('INSERT', 'bbconfig', "'board_startdate', '".gmtime()."'");
$installer->add_query('INSERT', 'bbconfig', "'default_lang', 'english'");
$installer->add_query('INSERT', 'bbconfig', "'smtp_username', ''");
$installer->add_query('INSERT', 'bbconfig', "'smtp_password', ''");
$installer->add_query('INSERT', 'bbconfig', "'record_online_users', '2'");
$installer->add_query('INSERT', 'bbconfig', "'record_online_date', '1034668530'");
$installer->add_query('INSERT', 'bbconfig', "'version', '.0.0'");
$installer->add_query('INSERT', 'bbconfig', "'enable_confirm', '0'");
$installer->add_query('INSERT', 'bbconfig', "'sendmail_fix', '0'"); |
I compared these to the ones that I currently have in my table and 20 of them are not in my table (from smtp_delivery down)
Unless I'm missing something, none of them seem to store the setting for PM quick reply.
_________________ Mortal Seraphim
People complain too much.

mortal.seraphim's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) FreeBSD 4.10-RELEASE-p5/1.3.33/4.0.18/4.3.10/9.0
|
|
| Back to top |
|
 |
Nuance Gold Supporter


Offline Joined: Dec 30, 2004 Posts: 223
|
Posted: Fri Feb 11, 2005 11:55 pm Post subject: Re: 8.2c to 9.0 --Mysql tables not updating properly!!! |
|
Yeah, I don't see anything that looks like it would hold the values for pm quick reply toggles. I've submitted a formal bug report on this issue, so I guess we just wait and see what turns up.
Nuance's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux / Apache 1.3.31 / MySQL 4.0.20-log / PHP 4.3.10 / Dragonfly 9.0.1 Final
|
|
| Back to top |
|
 |
mortal.seraphim Nice poster


Offline Joined: Dec 03, 2004 Posts: 87 Location: Plano TX
|
Posted: Fri Feb 11, 2005 11:58 pm Post subject: Re: 8.2c to 9.0 --Mysql tables not updating properly!!! |
|
Good call, I guess we'll see what happens, hopefully someone will figure it out.
Thanks for helping me today.
_________________ Mortal Seraphim
People complain too much.

mortal.seraphim's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) FreeBSD 4.10-RELEASE-p5/1.3.33/4.0.18/4.3.10/9.0
|
|
| Back to top |
|
 |
Śyama_Dāsa Developer


Offline Joined: Apr 19, 2004 Posts: 2048 Location: Dragonfly CMS Tribe
|
Posted: Sat Feb 12, 2005 1:00 am Post subject: Re: 8.2c to 9.0 --Mysql tables not updating properly!!! |
|
58 rows- here are my values locally atm
| Code:: |
INSERT INTO `cms_bbconfig` VALUES ('config_id', '1');
INSERT INTO `cms_bbconfig` VALUES ('board_disable', '0');
INSERT INTO `cms_bbconfig` VALUES ('sitename', 'MySite.com');
INSERT INTO `cms_bbconfig` VALUES ('site_desc', '');
INSERT INTO `cms_bbconfig` VALUES ('cookie_name', 'cms_phpbb');
INSERT INTO `cms_bbconfig` VALUES ('cookie_path', '/');
INSERT INTO `cms_bbconfig` VALUES ('cookie_domain', '');
INSERT INTO `cms_bbconfig` VALUES ('allow_html', '1');
INSERT INTO `cms_bbconfig` VALUES ('allow_html_tags', 'b,i,u,pre');
INSERT INTO `cms_bbconfig` VALUES ('allow_bbcode', '1');
INSERT INTO `cms_bbconfig` VALUES ('allow_smilies', '1');
INSERT INTO `cms_bbconfig` VALUES ('allow_sig', '1');
INSERT INTO `cms_bbconfig` VALUES ('allow_namechange', '0');
INSERT INTO `cms_bbconfig` VALUES ('allow_theme_create', '0');
INSERT INTO `cms_bbconfig` VALUES ('allow_avatar_local', '1');
INSERT INTO `cms_bbconfig` VALUES ('allow_avatar_remote', '1');
INSERT INTO `cms_bbconfig` VALUES ('allow_avatar_upload', '0');
INSERT INTO `cms_bbconfig` VALUES ('override_user_style', '1');
INSERT INTO `cms_bbconfig` VALUES ('posts_per_page', '15');
INSERT INTO `cms_bbconfig` VALUES ('topics_per_page', '50');
INSERT INTO `cms_bbconfig` VALUES ('hot_threshold', '25');
INSERT INTO `cms_bbconfig` VALUES ('max_poll_options', '10');
INSERT INTO `cms_bbconfig` VALUES ('max_sig_chars', '255');
INSERT INTO `cms_bbconfig` VALUES ('max_inbox_privmsgs', '100');
INSERT INTO `cms_bbconfig` VALUES ('max_sentbox_privmsgs', '100');
INSERT INTO `cms_bbconfig` VALUES ('max_savebox_privmsgs', '100');
INSERT INTO `cms_bbconfig` VALUES ('board_email_sig', 'Thanks, Webmaster @ MySite.com');
INSERT INTO `cms_bbconfig` VALUES ('board_email', 'Webmaster@MySite.com');
INSERT INTO `cms_bbconfig` VALUES ('smtp_delivery', '0');
INSERT INTO `cms_bbconfig` VALUES ('smtp_host', '');
INSERT INTO `cms_bbconfig` VALUES ('require_activation', '0');
INSERT INTO `cms_bbconfig` VALUES ('flood_interval', '20');
INSERT INTO `cms_bbconfig` VALUES ('board_email_form', '1');
INSERT INTO `cms_bbconfig` VALUES ('avatar_filesize', '6144');
INSERT INTO `cms_bbconfig` VALUES ('avatar_max_width', '80');
INSERT INTO `cms_bbconfig` VALUES ('avatar_max_height', '80');
INSERT INTO `cms_bbconfig` VALUES ('avatar_path', 'images/avatars');
INSERT INTO `cms_bbconfig` VALUES ('avatar_gallery_path', 'images/avatars');
INSERT INTO `cms_bbconfig` VALUES ('smilies_path', 'images/smiles');
INSERT INTO `cms_bbconfig` VALUES ('default_style', '1');
INSERT INTO `cms_bbconfig` VALUES ('default_dateformat', 'D M d, Y g:i a');
INSERT INTO `cms_bbconfig` VALUES ('board_timezone', '0');
INSERT INTO `cms_bbconfig` VALUES ('prune_enable', '0');
INSERT INTO `cms_bbconfig` VALUES ('privmsg_disable', '0');
INSERT INTO `cms_bbconfig` VALUES ('gzip_compress', '0');
INSERT INTO `cms_bbconfig` VALUES ('coppa_fax', '');
INSERT INTO `cms_bbconfig` VALUES ('coppa_mail', '');
INSERT INTO `cms_bbconfig` VALUES ('board_startdate', '1094194401');
INSERT INTO `cms_bbconfig` VALUES ('default_lang', 'english');
INSERT INTO `cms_bbconfig` VALUES ('smtp_username', '');
INSERT INTO `cms_bbconfig` VALUES ('smtp_password', '');
INSERT INTO `cms_bbconfig` VALUES ('record_online_users', '2');
INSERT INTO `cms_bbconfig` VALUES ('record_online_date', '1034668530');
INSERT INTO `cms_bbconfig` VALUES ('server_name', 'MySite.com');
INSERT INTO `cms_bbconfig` VALUES ('server_port', '80');
INSERT INTO `cms_bbconfig` VALUES ('version', '.0.0');
INSERT INTO `cms_bbconfig` VALUES ('enable_confirm', '0');
INSERT INTO `cms_bbconfig` VALUES ('sendmail_fix', '0');
|
_________________ AKA Akamu / Read these and your life will be successful | Find a Repair
--
Mods and Professional Support via YIM
Śyama_Dāsa's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) win32 / Apache 1.3.33 / MySQL 4.1.16/PHP 4.4/CPG-CVS ( browsers: Mozilla 1.7.x / IE6 / Opera 8.0)
|
|
| Back to top |
|
 |
Nuance Gold Supporter


Offline Joined: Dec 30, 2004 Posts: 223
|
Posted: Sat Feb 12, 2005 2:53 am Post subject: Re: 8.2c to 9.0 --Mysql tables not updating properly!!! |
|
hmmm... my tables match up with your's akamu-- any thoughts on why me and mortal can't save our pm quick reply settings?
Nuance's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux / Apache 1.3.31 / MySQL 4.0.20-log / PHP 4.3.10 / Dragonfly 9.0.1 Final
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
Posted: Sat Feb 12, 2005 6:44 am Post subject: Re: 8.2c to 9.0 --Mysql tables not updating properly!!! |
|
It would appear that at least these 2 these fields are missing,
ropm_quick_reply 1
ropm_quick_reply_bbc 1
However, they are remnants in my database, and I can't find them in any recent DFC release. My last test on a new install was not the most recent releases, so it appears I may have misled you earlier
They do update in the database, but just don't show any change in radio button status in the config display.
Bottom line, there is an install bug for at least these fields, as well as a bug in the config display.
_________________ • DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin •
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
Nuance Gold Supporter


Offline Joined: Dec 30, 2004 Posts: 223
|
Posted: Sat Feb 12, 2005 7:58 am Post subject: Re: 8.2c to 9.0 --Mysql tables not updating properly!!! |
|
Thanks for posting which two fields are missing; I can insert them manually to make it work. Your help with this is very much appreciated.
Nuance's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux / Apache 1.3.31 / MySQL 4.0.20-log / PHP 4.3.10 / Dragonfly 9.0.1 Final
|
|
| Back to top |
|
 |
mortal.seraphim Nice poster


Offline Joined: Dec 03, 2004 Posts: 87 Location: Plano TX
|
Posted: Sat Feb 12, 2005 8:11 am Post subject: Re: 8.2c to 9.0 --Mysql tables not updating properly!!! |
|
YAY! It works now... coolness.
_________________ Mortal Seraphim
People complain too much.

mortal.seraphim's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) FreeBSD 4.10-RELEASE-p5/1.3.33/4.0.18/4.3.10/9.0
|
|
| Back to top |
|
 |
Tank863 Silver Supporter


Offline Joined: May 08, 2004 Posts: 101 Location: Philadelphia
|
Posted: Sun Feb 13, 2005 3:56 pm Post subject: Re: 8.2c to 9.0 --Mysql tables not updating properly!!! |
|
How do you insert these 2 lines?
What is the code?
Thanks/...
_________________ Microsoft MVP
Windows Security
2005-2006
Tank863's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux-2.4.20-43.9/4.0.23a-standard/4.3.11/9.0.6.1
|
|
| Back to top |
|
 |
mortal.seraphim Nice poster


Offline Joined: Dec 03, 2004 Posts: 87 Location: Plano TX
|
Posted: Sun Feb 13, 2005 7:07 pm Post subject: Re: 8.2c to 9.0 --Mysql tables not updating properly!!! |
|
I just manually inserted the rows into the bbconfig table...
_________________ Mortal Seraphim
People complain too much.

mortal.seraphim's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) FreeBSD 4.10-RELEASE-p5/1.3.33/4.0.18/4.3.10/9.0
|
|
| Back to top |
|
 |
Phoenix • Many Posts •


Offline Joined: Apr 19, 2004 Posts: 8799 Location: Netizen
|
Posted: Sun Feb 13, 2005 7:18 pm Post subject: Re: 8.2c to 9.0 --Mysql tables not updating properly!!! |
|
INSERT INTO `cms_bbconfig` VALUES ('ropm_quick_reply', '1');
INSERT INTO `cms_bbconfig` VALUES ('ropm_quick_reply_bbc', '1');
where cms = your prefix.
_________________ • DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin •
Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
|
|
| Back to top |
|
 |
vitnicalt Newbie


Offline Joined: Feb 13, 2005 Posts: 5 Location: Italy
|
Posted: Tue Feb 15, 2005 5:22 pm Post subject: Re: 8.2c to 9.0 --Mysql tables not updating properly!!! |
|
Upgrading from 8.2c to 9.0.1.1 in italian, i had this error message:
ALTER TABLE cms_history ADD language varchar(30) NOT NULL
Nome colonna duplicato 'language'
I think there is a strange database's tables situation!
I had to comment a few lines in cpg9x.inc to continue the istallation:
| Code:: |
//$installer->add_query('DEL', 'referer', 'rid'); rimossa13/02/2005
//$installer->add_query('DEL', 'topics', 'topicname'); rimossa
//if (isset($tablelist['pages'])) {
// $installer->add_query('CHANGE', 'pages', '`clanguage` `language` varchar(30) NOT NULL DEFAULT ""', '`language` `clanguage` varchar(30) NOT NULL DEFAULT ""');
//} |
But i can't go on like this!! Where is a SQL reference for Dragonfly 9.0.0.1?
I'm trying on a localserver, before upgrading a site on line. But, if I backup the Database of 8.2c, will I be able to restore it on 9.0.0.1?
Thanks a lot!
vitnicalt's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux/Apache2/Mysql4/php4.3/Cpgnuke8.2c
|
|
| Back to top |
|
 |
|
|
|