Branches
Comments
[»]
errors during setup script
by Michael Pohl - Jan 29th 2004 07:25:42
I received errors for the user, theme, and status option creation portions
of the setup process. There were several instances to undefined variables
named $db_tidal_* ($db_tidal_user, $db_tidal_theme, etc.) in mysql.php. I
updated each to $db_table_*, and setup.php successfully ran.
[reply]
[top]
[»]
Re: errors during setup script
by GNUGeek - Jan 30th 2004 12:05:34
> I received errors for the user, theme,
> and status option creation portions of
> the setup process. There were several
> instances to undefined variables named
> $db_tidal_* ($db_tidal_user,
> $db_tidal_theme, etc.) in mysql.php. I
> updated each to $db_table_*, and
> setup.php successfully ran.
This issue is now fixed in version 1.1.3 of Tidal Wave.
-- --
John Evans
The GNUGeek
[reply]
[top]
[»]
Error in setup.php - Solution here!
by Dr Kanzie - Oct 7th 2003 08:22:15
I just installed the application and after setting up the mysql-specific
informaiton in the php-file mentioned I tried to run the setup.php that
creates tables and populate them. However this one gave me a mysterious
error saying that it couldn't create one of the tables, but then that it
found that very table.
After a bit of investigation I found the cause of the problem, a typo in
the tables type-definitions found in mysql.php, called by setup.php. It
defines one of the fields as CARCHAR(16) instead of the more proper (but
less fun) VARCHAR(16). Changing this value manually makes setup.php run
smooth as silk. Since you can reload setup.php as many times as you like
nothing can be broken here.
I attach the function where the error is to be found:
function setup_create_table_theme() {
global $db_table_theme;
return(run_sql("CREATE TABLE $db_table_theme (theme_id TINYINT NOT
NULL AUTO_I
NCREMENT, theme_name VARCHAR(32) NOT NULL, theme_bgcolor VARCHAR(16) NOT
NULL, t
heme_text VARCHAR(16) NOT NULL, theme_link VARCHAR(16) NOT NULL,
theme_vlink VAR
CHAR(16) NOT NULL, theme_alink VARCHAR(16) NOT NULL, theme_topmargin
TINYINT UNS
IGNED, theme_leftmargin TINYINT UNSIGNED, theme_marginwidth TINYINT
UNSIGNED, th
eme_marginheight TINYINT UNSIGNED, theme_input_bg VARCHAR(16),
theme_input_txt V
ARCHAR(16), PRIMARY KEY(theme_id), UNIQUE(theme_name))
TYPE=MyISAM;"));
}
[reply]
[top]
[»]
Re: Error in setup.php - Solution here!
by GNUGeek - Oct 7th 2003 08:33:30
> I just installed the application and
> after setting up the mysql-specific
> informaiton in the php-file mentioned I
> tried to run the setup.php that creates
> tables and populate them. However this
> one gave me a mysterious error saying
> that it couldn't create one of the
> tables, but then that it found that very
> table.
This bug has been taken care of with version 1.1.1 of Tidal Wave.
-- --
John Evans
The GNUGeek
[reply]
[top]
|