forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 plugins => Topic started by: Willow69 on December 11, 2006, 03:14:54 pm
-
Hi everyone,
if just installed the photo shop 1.3.1 plugin and receive the following error while trying to configure the shop:
While executing query "INSERT INTO cpg149_shop_config (priority) VALUES ('')" on 0
mySQL error: Out of range value adjusted for column 'priority' at row 1
This error mesage comes up when I press the "new format" button in the config screen.
I've already emptied the database tables and tried update.php.
The miniCMS plugin was installed but now has been removed (dosn't seem to make any difference because the error msg remains the same)...
Any clues?
THX in advance,
Willow
-
It should probably be 0 instead of ''. Try to find the query in the code and correct it.
-
May be here (photo_shop_config.php)
$priority = (is_numeric($temp[0])) ? ++$temp[0] : '';
$priority = (is_numeric($temp[0])) ? ++$temp[0] : 0;
-
@Nibbler: That has been it ;D
Problem solved! - THANK YOU VERY MUCH!
Cheers,
Willow