The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#12
|
|||
|
|||
![]()
The XML Product File should have added that table to the database.
Could you check via phpMyAdmin to see if the table is there? As in the tests i have done it has worked for me. Thanks - James Quote:
|
#13
|
|||
|
|||
![]()
Sorry, there is not such table.
When uninstall: Code:
Invalid SQL: DROP TABLE mu_alert_core; MySQL Error : Unknown table 'mu_alert_core' Error Number : 1051 |
#14
|
|||
|
|||
![]()
I see your code to create the table, but the table is not create :surprised:
I don´t use any table prefix. |
#15
|
|||
|
|||
![]()
Hello, some feedback:
Code:
$vbulletin->db->query_write("DROP TABLE " . TABLE_PREFIX . "mu_ignored_ips"); should be: $vbulletin->db->query_write("DROP TABLE " . TABLE_PREFIX . "mu_alert_ignored_ips"); And $vbulletin->db->query_write("ATLER TABLE " . TABLE_PREFIX . "user DROP `main_ip`"); should be: $vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "user DROP `main_ip`"); And $vbulletin->db->query_wrtie("ALTER TABLE " . TABLE_PREFIX . "user DROP `num_alerts`");]]> should be: $vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "user DROP `num_alerts`");]]> Code:
) ENGINE=MyISAM DEFAULT CHARSET=latin1"); If I delete "ENGINE=MyISAM DEFAULT" in the product the tables are created but I get errors in Display Events: Notice: Undefined index: charset in /home/mydominion/public_html/foro/includes/init.php on line 144 Notice: Undefined index: url in /home/mydominion/public_html/foro/includes/class_core.php on line 1991 Notice: Only variables should be assigned by reference in /home/mydominion/public_html/foro/includes/init.php on line 213 I hope this info helps. Regards |
#16
|
|||
|
|||
![]()
By the way, am I the only one with problems? There are 16 installs yet.
|
#17
|
|||
|
|||
![]()
the
Code:
" . TABLE_PREFIX . "_table_name go ahead and try changing Code:
<uninstallcode><![CDATA[ $vbulletin->db->query_write("DROP TABLE " . TABLE_PREFIX . "mu_alert_core"); $vbulletin->db->query_write("DROP TABLE " . TABLE_PREFIX . "mu_alert_events"); $vbulletin->db->query_write("DROP TABLE " . TABLE_PREFIX . "mu_ignored_ips"); $vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "user DROP `has_alerts`"); $vbulletin->db->query_write("ALTER TABLE " . TABLE_PREFIX . "user DROP `alert_id`"); $vbulletin->db->query_write("ATLER TABLE " . TABLE_PREFIX . "user DROP `main_ip`"); $vbulletin->db->query_wrtie("ALTER TABLE " . TABLE_PREFIX . "user DROP `num_alerts`");]]> </uninstallcode> Code:
<uninstallcode><![CDATA[ $vbulletin->db->query_write("DROP TABLE mu_alert_core"); $vbulletin->db->query_write("DROP TABLE mu_alert_events"); $vbulletin->db->query_write("DROP TABLE mu_ignored_ips"); $vbulletin->db->query_write("ALTER TABLE user DROP `has_alerts`"); $vbulletin->db->query_write("ALTER TABLE user DROP `alert_id`"); $vbulletin->db->query_write("ATLER TABLE user DROP `main_ip`"); $vbulletin->db->query_wrtie("ALTER TABLE user DROP `num_alerts`");]]> </uninstallcode> Code:
<installcode><![CDATA[$db->hide_errors(); $db->query_write("CREATE TABLE `" . TABLE_PREFIX . "mu_alert_core` ( `alertid` int(11) NOT NULL auto_increment, `alert_userid` int(11) NOT NULL default '0', `alert_threadid` int(11) default NULL, PRIMARY KEY (`alertid`), KEY `alert_userid` (`alert_userid`) )); $db->query_write("CREATE TABLE `" . TABLE_PREFIX . "mu_alert_events` ( `event_id` int(10) NOT NULL default '0', `alert_id` int(10) NOT NULL default '0', `event_dateline` int(10) default NULL, `event_userip` varchar(15) default NULL, PRIMARY KEY (`event_id`), KEY `alert_id` (`alert_id`), KEY `event_userip` (`event_userip`) )); $db->query_write("CREATE TABLE `" . TABLE_PREFIX . "mu_alert_ignored_ips` ( `id` int(11) NOT NULL auto_increment, `ip` varchar(32) NOT NULL default '', PRIMARY KEY (`id`) )); $db->query_write("ALTER TABLE " .TABLE_PREFIX . "user ADD `has_alerts` INT(1) NOT NULL DEFAULT '0', ADD `alert_id` INT(11) NOT NULL DEFAULT '0', ADD `main_ip` VARCHAR(32) NOT NULL DEFAULT '0', ADD `num_alerts` INT(10) NOT NULL DEFAULT '0'"); $db->show_errors();]]> </installcode> Code:
<installcode><![CDATA[$db->hide_errors(); $db->query_write("CREATE TABLE `mu_alert_core` ( `alertid` int(11) NOT NULL auto_increment, `alert_userid` int(11) NOT NULL default '0', `alert_threadid` int(11) default NULL, PRIMARY KEY (`alertid`), KEY `alert_userid` (`alert_userid`) )); $db->query_write("CREATE TABLE `mu_alert_events` ( `event_id` int(10) NOT NULL default '0', `alert_id` int(10) NOT NULL default '0', `event_dateline` int(10) default NULL, `event_userip` varchar(15) default NULL, PRIMARY KEY (`event_id`), KEY `alert_id` (`alert_id`), KEY `event_userip` (`event_userip`) )); $db->query_write("CREATE TABLE `mu_alert_ignored_ips` ( `id` int(11) NOT NULL auto_increment, `ip` varchar(32) NOT NULL default '', PRIMARY KEY (`id`) )); $db->query_write("ALTER TABLE user ADD `has_alerts` INT(1) NOT NULL DEFAULT '0', ADD `alert_id` INT(11) NOT NULL DEFAULT '0', ADD `main_ip` VARCHAR(32) NOT NULL DEFAULT '0', ADD `num_alerts` INT(10) NOT NULL DEFAULT '0'"); $db->show_errors();]]> </installcode> - james |
#18
|
|||
|
|||
![]()
Hello James, you are right, the TABLE_PREFIX is not the problem.
The tables are now created (without the ENGINE=MyISAM DEFAULT CHARSET=latin1 and the ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1) but the error is still in Display Events: Code:
Notice: Undefined index: charset in /home/mydominion/public_html/foro/includes/init.php on line 144 Notice: Undefined index: url in /home/mydominion/public_html/foro/includes/class_core.php on line 1991 Notice: Only variables should be assigned by reference in /home/mydominion/public_html/foro/includes/init.php on line 213 Thanks to you. P.D. I see in database that created tables are of type "MySAM", yes, as the other tables of database. |
#19
|
|||
|
|||
![]()
just to let every one know i have updated the download to fix the problem with the tables not getting added to the database.
Thanks - James |
#20
|
||||
|
||||
![]()
will this work with the ae detector installed? can i have both?
|
#21
|
|||
|
|||
![]()
Upgrade to vb3.5.4, all original files without modifications, all products and plugins disabled, the same problems
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|