ERROR ERROR
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

ERROR

Started by alabee, September 20, 2011, 04:57:59 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

alabee

i got this error while installing:

ERROR
The following errors were encountered and need to be corrected first:
MySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INSEREPLACE INTO photo_config VALUES ('thumb_method', 'im')' at line 1 on query ' INSEREPLACE INTO photo_config VALUES ('thumb_method', 'im')'

Trying to insert data in the database.


Creating table 'photo_albums'    Status:... OK
Creating table 'photo_banned'    Status:... OK
Creating table 'photo_bridge'    Status:... OK
Creating table 'photo_categories'    Status:... OK
Creating table 'photo_categorymap'    Status:... OK
Creating table 'photo_comments'    Status:... OK
Creating table 'photo_config'    Status:... OK
Creating table 'photo_dict'    Status:... OK
Creating table 'photo_ecards'    Status:... OK
Creating table 'photo_exif'    Status:... OK
Creating table 'photo_favpics'    Status:... OK
Creating table 'photo_filetypes'    Status:... OK
Creating table 'photo_hit_stats'    Status:... OK
Creating table 'photo_languages'    Status:... OK
Creating table 'photo_pictures'    Status:... OK
Creating table 'photo_plugins'    Status:... OK
Creating table 'photo_sessions'    Status:... OK
Creating table 'photo_temp_messages'    Status:... OK
Creating table 'photo_usergroups'    Status:... OK
Creating table 'photo_users'    Status:... OK
Creating table 'photo_votes'    Status:... OK
Creating table 'photo_vote_stats'    Status:... OK


any help pls. thanks.

Αndré

Replace sql/basic.sql with a fresh copy from the Coppermine package on your server and try again.

alabee

ok, am trying it right away. will give you feedback right after. thanks.

alabee

Quote from: Αndré on September 20, 2011, 10:20:17 AM
Replace sql/basic.sql with a fresh copy from the Coppermine package on your server and try again.

i did just dat and bingo! everything went through successfully. Thanks.

Αndré

Please
Quote from: Joachim Müller on September 28, 2008, 12:46:26 PM
tag your answer as "solved" by clicking on the "Topic Solved" button on the bar at the left hand side at the bottom of your thread.