Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 08:03 am EST
Geeklog Forums
mysql errors on upgrade from 1.3.9
oxt
Anonymous
hi,
Following the upgrade instructions all goes fine but when I try to open link then i get the message telling me there is an error. Here is a piece of error.log:
Mon Feb 20 21:16:19 2006 - 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 '::all' at line 1. SQL in question: SELECT sid FROM gl_stories WHERE draft_flag = 0 AND date 0 ORDER BY date DESC LIMIT ::all
Mon Feb 20 21:24:29 2006 - 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 '::all' at line 1. SQL in question: SELECT sid FROM gl_stories WHERE draft_flag = 0 AND date 0 ORDER BY date DESC LIMIT ::all
I have recent backups, so experimenting is not an issue
Any ideas?
Following the upgrade instructions all goes fine but when I try to open link then i get the message telling me there is an error. Here is a piece of error.log:
Mon Feb 20 21:16:19 2006 - 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 '::all' at line 1. SQL in question: SELECT sid FROM gl_stories WHERE draft_flag = 0 AND date 0 ORDER BY date DESC LIMIT ::all
Mon Feb 20 21:24:29 2006 - 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 '::all' at line 1. SQL in question: SELECT sid FROM gl_stories WHERE draft_flag = 0 AND date 0 ORDER BY date DESC LIMIT ::all
I have recent backups, so experimenting is not an issue
Any ideas?
11
15
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
That's an odd one. It seems to be confusing the "limits" and "topic" columns from the gl_syndication table.
Can you check what you have for those columns in your (updated) database? The '::all' should be in the 'topic' column, but it's using it for the limit here.
Not sure how that could have happened. Double-check that you've updated all of Geeklog's files. Specifically, for this case, system/lib-syndication.php.
bye, Dirk
Can you check what you have for those columns in your (updated) database? The '::all' should be in the 'topic' column, but it's using it for the limit here.
Not sure how that could have happened. Double-check that you've updated all of Geeklog's files. Specifically, for this case, system/lib-syndication.php.
bye, Dirk
13
12
Quote
oxt
Anonymous
ok, I checked that but It is ok.
The problem seemed to be that I copied lib-common.php instead of modifying the new version. Now I do not see any sql errors. Instead i see it cannot find some templates:
Template Error: filename: file /var/www/layout/Yahoo/archivestorytext.thtml does not exist.
Halted.
i check that and indeed the file does not exist. I am checking in my backup catalog and I do not have such a file either for 1.3.9, so this must be a new file from 1.4.
So I changed the theme to professional (only theme available in this release out of the box, so it seems) and now all is cool.
Ok, thanks for the pointer, Dirk, and for a great cms!
The problem seemed to be that I copied lib-common.php instead of modifying the new version. Now I do not see any sql errors. Instead i see it cannot find some templates:
Template Error: filename: file /var/www/layout/Yahoo/archivestorytext.thtml does not exist.
Halted.
i check that and indeed the file does not exist. I am checking in my backup catalog and I do not have such a file either for 1.3.9, so this must be a new file from 1.4.
So I changed the theme to professional (only theme available in this release out of the box, so it seems) and now all is cool.
Ok, thanks for the pointer, Dirk, and for a great cms!
13
13
Quote
All times are EST. The time is now 08:03 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content