Moderator: Rabbitbunny
Install error in query 6. MySQL said:
1364: Field 'conf_desc' doesn't have a default value
The query was:
INSERT INTO `roster_addons_ventstatus_config` (`conf_name`, `conf_data`) VALUES ('admin', 'password'), ('version', '0.0.4'), ('cmdprog', 'ventrilo_status'), ('cmdcode', '2'), ('cmdhost', '127.0.0.1'), ('cmdport', '3784'), ('cmdpass', ''), ('info1', '1'), ('display1', '1'), ('display2', '1'), ('display3', '1'), ('lobby', '1');
$installer->add_query("CREATE TABLE `" . $installer->table('config') . "` (
`conf_id` int(11) unsigned NOT NULL auto_increment,
`conf_name` varchar(64) NOT NULL,
`conf_data` varchar(64) NOT NULL,
`conf_desc` text NOT NULL,
PRIMARY KEY (`conf_id`)
) TYPE=MyISAM AUTO_INCREMENT=1 ;");
`conf_desc` text NOT NULL,
INSERT INTO `roster_addons_ventstatus_config` (`conf_name`, `conf_data`, `conf_desc`) VALUES ('admin', 'password', 'blank'), ('version', '0.0.4','some val'), ('cmdprog', 'ventrilo_status','some val'), ('cmdcode', '2','some val'), ('cmdhost', '127.0.0.1','some val'), ('cmdport', '3784','some val'), ('cmdpass', '','some val'), ('info1', '1','some val'), ('display1', '1','some val'), ('display2', '1','some val'), ('display3', '1','some val'), ('lobby', '1','some val');
CVentriloStatus->Request() failed. PHP Unable to start external status process.
Give the IUSR_<computer name> account read and execute
permission to C:\Windows\System32\cmd.exe
The reason for this is because PHP doesn't start the
ventrilo_status.exe program directly. Instead it spawns a
command shell (the cmd.exe program) and it will then spawn
the ventrilo_status.exe program.
In the ventrilo_srv.ini file and under the [Status] section
you should:
$stat->m_cmdprog = "c:\inetpub\wwwroot\ventrilostatus\ventrilo_status.exe"; // Adjust accordingly.
$stat->m_cmdprog = "c:\inetpub\wwwroot\\ventrilostatus\\ventrilo_status.exe"; // Adjust accordingly.
Users browsing this forum: No registered users and 0 guests