Quote:
Originally Posted by sv1cec
Show me that area of the file, there is no ']' in that line. Show me a few lines before and a few after. Maybe you erased something more than just the quotes.
Rgds
|
Doh, never mind...found the problem. the " should be not removed, but moved to the end of the line just before the ; (second install[] line)...
Now it runs just fine.
Was:
PHP Code:
$install[]="alter table ".TABLE_PREFIX."warnings
add `warned_status` char(1), add `removed_by` int(15), add `removed_date` int(15)";
$install[]="alter table ".TABLE_PREFIX."user add `warning_bans` int(2), add `warnings` int(5);
$install[]="alter table ".TABLE_PREFIX."warning_types add `warn_maturity` int(5), add `warn_permban` char(3), add `warn_type` char(3)";
Second line should be:
PHP Code:
$install[]="alter table ".TABLE_PREFIX."user add `warning_bans` int(2), add `warnings` int(5)";