Go Back   CodingForums.com > :: Server side development > MySQL

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Old 01-26-2005, 09:44 PM   PM User | #1
lifedeuce
New to the CF scene

 
Join Date: Jul 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
lifedeuce is an unknown quantity at this point
Help Needed...

I'm getting the following error when using the admin section of my phpBB forum:

Couldn't update forum information

DEBUG MODE

SQL Error : 1064 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 'prune_enable = 0 WHERE forum_id = 9' at line 2

UPDATE phpbb_forums SET forum_name = 'Browns News', cat_id = 1, forum_desc = 'Get all the latest Cleveland Browns news right here! Everything from the latest trades, cuts, injuries and more! ', forum_status = 0, forum_icon = '' prune_enable = 0 WHERE forum_id = 9

Line : 474
File : /home/dawgbon/public_html/phBB/admin/admin_forums.php


Any ideas what might be wrong?
lifedeuce is offline   Reply With Quote
Old 01-27-2005, 10:55 AM   PM User | #2
Horus Kol
Regular Coder

 
Join Date: Nov 2004
Location: Somewhere over the rainbow
Posts: 208
Thanks: 0
Thanked 0 Times in 0 Posts
Horus Kol is an unknown quantity at this point
you're missing a comma in your SET:

Quote:
forum_icon = '', prune_enable = 0
__________________
Questions are what binds the universe,
Questions lead to answers,
Answers lead to knowledge,
Knowledge leads to wisdom,
Wisdom brings more questions -- Horus Kol, 2004 :)
Horus Kol is offline   Reply With Quote
Old 01-27-2005, 03:37 PM   PM User | #3
lifedeuce
New to the CF scene

 
Join Date: Jul 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
lifedeuce is an unknown quantity at this point
Horus how can I get the comma in? I use phpmyadmin. I just don't know how to make the fix, can you help? Thanks.
lifedeuce is offline   Reply With Quote
Old 01-27-2005, 04:50 PM   PM User | #4
Horus Kol
Regular Coder

 
Join Date: Nov 2004
Location: Somewhere over the rainbow
Posts: 208
Thanks: 0
Thanked 0 Times in 0 Posts
Horus Kol is an unknown quantity at this point
oh, i see - its a problem in the phpBB script....

that's bad - i use that myself.

are you up-to-date with the version of phpBB?
If you are, I think you sould report this.

as for performing the query in phpMyAdmin... basically, just copy this into the query box in phpMyAdmin:

Code:
UPDATE phpbb_forums SET forum_name = 'Browns News', cat_id = 1, forum_desc = 'Get all the latest Cleveland Browns news right here! Everything from the latest trades, cuts, injuries and more! ', forum_status = 0, forum_icon = '', prune_enable = 0 WHERE forum_id = 9
__________________
Questions are what binds the universe,
Questions lead to answers,
Answers lead to knowledge,
Knowledge leads to wisdom,
Wisdom brings more questions -- Horus Kol, 2004 :)
Horus Kol is offline   Reply With Quote
Old 01-27-2005, 07:37 PM   PM User | #5
lifedeuce
New to the CF scene

 
Join Date: Jul 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
lifedeuce is an unknown quantity at this point
Horus where exactly would I do this inside phpmyadmin? Thanks.
lifedeuce is offline   Reply With Quote
Old 01-27-2005, 08:04 PM   PM User | #6
lifedeuce
New to the CF scene

 
Join Date: Jul 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
lifedeuce is an unknown quantity at this point
If I update phpBB, will I lose my forums and all the content? How can I find out if I'm running the latest version? This is what it says at the bottom of my forum: Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group
lifedeuce is offline   Reply With Quote
Old 01-27-2005, 08:32 PM   PM User | #7
marek_mar
Sensei


 
Join Date: Aug 2003
Location: One step ahead of you.
Posts: 2,815
Thanks: 0
Thanked 3 Times in 3 Posts
marek_mar is on a distinguished road
Umm yes 2.0.8 is the version number. You are far behind as 2.0.11 is the newest. Some critical errors have been fixed in the new versions (security). You wont loose any data when you upgrade (but backup the db and the files anyway).
__________________
I'm not sure if this was any help, but I hope it didn't make you stupider.

Experience is something you get just after you really need it.
PHP Installation Guide Feedback welcome.
marek_mar is offline   Reply With Quote
Old 01-27-2005, 10:11 PM   PM User | #8
lifedeuce
New to the CF scene

 
Join Date: Jul 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
lifedeuce is an unknown quantity at this point
Marek how do you update to the newest version?
lifedeuce is offline   Reply With Quote
Old 01-28-2005, 05:01 AM   PM User | #9
lifedeuce
New to the CF scene

 
Join Date: Jul 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
lifedeuce is an unknown quantity at this point
I've upgraded to 2.0.11 of phpBB but I'm getting the same error message inside the admin section, under forum administration where you can edit each forum. Once in the editing section I have choices like forum name, forum icon, forum description and so on. I want to update the description so I type in something new and hit update and I get:

Couldn't update forum information

DEBUG MODE

SQL Error : 1064 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 'prune_enable = 0 WHERE forum_id = 9' at line 2

UPDATE phpbb_forums SET forum_name = 'Browns News', cat_id = 1, forum_desc = 'Get all the latest Cleveland Browns news right here! Everything from the latest trades, cuts, injuries and more! ', forum_status = 0, forum_icon = '' prune_enable = 0 WHERE forum_id = 9

Line : 474
File : /home/dawgbon/public_html/phBB/admin/admin_forums.php
lifedeuce is offline   Reply With Quote
Old 01-28-2005, 09:26 AM   PM User | #10
Horus Kol
Regular Coder

 
Join Date: Nov 2004
Location: Somewhere over the rainbow
Posts: 208
Thanks: 0
Thanked 0 Times in 0 Posts
Horus Kol is an unknown quantity at this point
it's still missing the comma....

This is something wrong in the script, and needs to be fixed by the guys at phpBB - have you informed them? They have their own support forums.
__________________
Questions are what binds the universe,
Questions lead to answers,
Answers lead to knowledge,
Knowledge leads to wisdom,
Wisdom brings more questions -- Horus Kol, 2004 :)
Horus Kol is offline   Reply With Quote
Old 01-28-2005, 11:24 PM   PM User | #11
lifedeuce
New to the CF scene

 
Join Date: Jul 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
lifedeuce is an unknown quantity at this point
I haven't contacted them, do you now how I can? Thanks foryour help by the way.
lifedeuce is offline   Reply With Quote
Old 01-29-2005, 12:05 AM   PM User | #12
Brandoe85
teh Moderatorinator


 
Join Date: Sep 2004
Location: USA
Posts: 2,435
Thanks: 2
Thanked 38 Times in 38 Posts
Brandoe85 will become famous soon enough
You can try their forums http://www.phpbb.com/phpBB/
__________________
-Brando
Why using tables for eating is stupid!
Brandoe85 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 05:46 PM.

Home - Contact Us - Archives - Link to CF - Resources - Top 

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.