Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

The Database Forum


You are currently viewing our The Database Forum as a guest. Please register to participate.
Login



Reply
Old 06-18-2005, 01:57 AM sql error
Average Talker

Posts: 23
Trades: 0
Quote:
An error occurred trying to update the database
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 'INSERT INTO phpbb_categories (cat_id, cat_title, cat_order) VALU
Code:
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cash_installed','yes');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cash_version','2.2.2');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cash_adminbig','0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('cash_adminnavbar','1');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('points_name','Points');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('group_rank_hack_version', '1.0.0');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('prune_shouts', '0')

# -- Categories
INSERT INTO phpbb_categories (cat_id, cat_title, cat_order) VALUES (1, 'Test category 1', 10);


# -- Forums
INSERT INTO phpbb_forums (forum_id, forum_name, forum_desc, cat_id, forum_order, forum_posts, forum_topics, forum_last_post_id, auth_view, auth_read, auth_post, auth_reply, auth_edit, auth_delete, auth_announce, auth_sticky, auth_pollcreate, auth_vote, auth_attachments) VALUES (1, 'Custom phpBB 2 Test Forum', 'This is a test forum for your Cusom phpBB 2.', 1, 10, 1, 1, 1, 0, 0, 0, 0, 1, 1, 3, 3, 1, 1, 3);
what is wrong?
igeoffi is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-18-2005, 11:00 AM
Kyrnt's Avatar
The Post-Mod Years

Posts: 2,536
Location: Western Maryland
Trades: 0
You are missing the semicolon on your last sql statement that inserts into phpbb_config -- thus, it is sensing an error in the next statement. Make sure all your SQL statements end with a semicolon and you should be good to go.
__________________
—Kyrnt
Kyrnt is offline
Reply With Quote
View Public Profile Visit Kyrnt's homepage!
 
Old 06-18-2005, 08:55 PM
Average Talker

Posts: 23
Trades: 0
oh now i noticed
thank you very much
igeoffi is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to sql error
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.85599 seconds with 12 queries