Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 08:21 am EST
Geeklog Forums
1.7.1 to 1.8.1 many errors.
Status: offline
1000ideen
Forum User
Full Member
Registered: 08/04/03
Posts: 1298
After updating from 1.7.1 to 1.8.1 I encounter many errors.
Clicking polls results in this:
256 - An SQL error has occurred. Please see error.log for details. /system/databases/mysql.class.php line 260
Mo 09 Apr 2012 23:24:26 CEST - 1054: Unknown column 'created' in 'field list'. SQL in question: SELECT *,UNIX_TIMESTAMP(created) AS unixdate FROM gl_polltopics WHERE 1=1
Mo 09 Apr 2012 23:24:49 CEST - 1054: Unknown column 'created' in 'field list'. SQL in question: SELECT *,UNIX_TIMESTAMP(created) AS unixdate FROM gl_polltopics WHERE 1=1
Clicking a topic results in this:
Mo 09 Apr 2012 23:33:09 CEST - 1052: Column 'date' in field list is ambiguous. SQL in question: SELECT DISTINCT COUNT(*) AS dups, type, title, sid, max(date) AS lastdate FROM gl_comments, gl_polltopics pt WHERE type = 'polls' AND (pt.pid = sid) AND (pt.commentcode >= 0) AND (date >= (DATE_SUB(NOW(), INTERVAL 1209600 SECOND))) GROUP BY sid,type, title, sid ORDER BY 5 DESC LIMIT 15
It is php 5.3
Clicking polls results in this:
256 - An SQL error has occurred. Please see error.log for details. /system/databases/mysql.class.php line 260
Mo 09 Apr 2012 23:24:26 CEST - 1054: Unknown column 'created' in 'field list'. SQL in question: SELECT *,UNIX_TIMESTAMP(created) AS unixdate FROM gl_polltopics WHERE 1=1
Mo 09 Apr 2012 23:24:49 CEST - 1054: Unknown column 'created' in 'field list'. SQL in question: SELECT *,UNIX_TIMESTAMP(created) AS unixdate FROM gl_polltopics WHERE 1=1
Clicking a topic results in this:
Mo 09 Apr 2012 23:33:09 CEST - 1052: Column 'date' in field list is ambiguous. SQL in question: SELECT DISTINCT COUNT(*) AS dups, type, title, sid, max(date) AS lastdate FROM gl_comments, gl_polltopics pt WHERE type = 'polls' AND (pt.pid = sid) AND (pt.commentcode >= 0) AND (date >= (DATE_SUB(NOW(), INTERVAL 1209600 SECOND))) GROUP BY sid,type, title, sid ORDER BY 5 DESC LIMIT 15
It is php 5.3
16
17
Quote
Status: offline
Laugh
Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
Sounds like the polls plugin didn't update. It has 2 date fields now, created and modified (before it only had one called date). The staticpage plugin also has 2 date fields as well. Does it work okay?
Your clicking a topic error is also because the polls table wasn't updated, MYSQL is confused because it found a date column in polls as well as the comments table.
One of the Geeklog Core Developers.
Your clicking a topic error is also because the polls table wasn't updated, MYSQL is confused because it found a date column in polls as well as the comments table.
One of the Geeklog Core Developers.
12
13
Quote
Status: offline
Laugh
Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
The missing columns is not much of a problem but during those upgrades a bunch of changes happened for the Polls Config as well which I am sure you are missing.
We did find a bug in the upgrade script which is fixed in Geeklog 2.0.0 but I am pretty sure it is not the same problem you are having since it dealt with just the configuration.
The easiest way to potential fix this problem is for you to give a copy of your 1.7.1 database and let me run the upgrade at my end to see what is happening. Can you do that?
Tom
One of the Geeklog Core Developers.
We did find a bug in the upgrade script which is fixed in Geeklog 2.0.0 but I am pretty sure it is not the same problem you are having since it dealt with just the configuration.
The easiest way to potential fix this problem is for you to give a copy of your 1.7.1 database and let me run the upgrade at my end to see what is happening. Can you do that?
Tom
One of the Geeklog Core Developers.
11
9
Quote
Status: offline
1000ideen
Forum User
Full Member
Registered: 08/04/03
Posts: 1298
O.k., the problem was solved now but I found another error.
Badbehavior plugin does not show up in the admin menu left. Though if you go through this page
http://www.geeklog.net/admin/plugins/bad_behavior2/index.php you will find it again on the left side.
Badbehavior plugin does not show up in the admin menu left. Though if you go through this page
http://www.geeklog.net/admin/plugins/bad_behavior2/index.php you will find it again on the left side.
10
9
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
It really does sound like you're missing the line from lib-common.php, like Tom said.
The plugin's index.php does an explicit include of the bad-behavior-geeklog.php. Only when that file is included does the function bb2_insert_head() exist - and that's one of the conditions that's being checked for whether or not the menu entry should show up.
bye, Dirk
The plugin's index.php does an explicit include of the bad-behavior-geeklog.php. Only when that file is included does the function bb2_insert_head() exist - and that's one of the conditions that's being checked for whether or not the menu entry should show up.
bye, Dirk
13
8
Quote
All times are EST. The time is now 08:21 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