FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Serious upgrade problem: SQL syntax error (3.0.0 -> 3.0.2)
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Serious upgrade problem: SQL syntax error [message #164211] Mon, 10 January 2011 14:42 Go to previous message
dario is currently offline  dario
Messages: 2
Registered: January 2011
Karma:
Junior Member
Hi all, today I tried to upgrade my postgres based FUD from 3.0.0 to 3.0.2 but I obtained the following error:

Warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error at or near "LIMIT" LINE 1: ...d30_bookmarks WHERE user_id='4' AND thread_id='1044' LIMIT 1 ^ in /mnt/replicated/var/www/fud/forum/sql/pgsql/db.inc on line 93

Fatal error: Uncaught exception 'Exception' with message ': ERROR: syntax error at or near "LIMIT" LINE 1: ...d30_bookmarks WHERE user_id='4' AND thread_id='1044' LIMIT 1 ^ @ DELETE FROM fud30_bookmarks WHERE user_id='4' AND thread_id='1044' LIMIT 1' in /mnt/replicated/var/www/fud/upgrade.php:99 Stack trace: #0 /mnt/replicated/var/www/fud/forum/sql/pgsql/db.inc(93): fud_sql_error_handler('DELETE FROM fud...', 'ERROR: syntax ...', '', 'PostgreSQL 8.3....') #1 /mnt/replicated/var/www/fud/forum/include/dbadmin.inc(399): q('DELETE FROM fud...') #2 /mnt/replicated/var/www/fud/forum/include/dbadmin.inc(246): delete_duplicate_values('fud30_bookmarks', 'user_id,thread_...') #3 /mnt/replicated/var/www/fud/upgrade.php(911): create_primary_key('fud30_bookmarks', 'user_id,thread_...') #4 {main} thrown in /mnt/replicated/var/www/fud/upgrade.php on line 99


I've always used postgres with no modification on database. I have messages stored in the database.

I've already reverted my backup to 3.0.0 but I still would like to upgrade it to 3.0.2. What can I do?


Dario
[Message index]
 
Read Message
Read Message
Previous Topic: charset problems
Next Topic: Here an atch there an atch, every where an atch atch
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 04:55:30 GMT 2024

Total time taken to generate the page: 0.04976 seconds