Welcome to Geeklog, Anonymous Wednesday, April 23 2025 @ 04:03 pm EDT
Geeklog Forums
Headline News Block doesn't work!
Anonymous
Anonymous
Hi!
I tried to install the Headline News Block from www.squatty.com but it failed:
1064: You have an error in your SQL syntax near 'SET rdfupdated = '2002-05-28 15:51:14' WHERE newsid = '17'' at line 1
Admin is member of the news group and i tried to to set the global default or the default for my admin account but it failed, too?
Any hints?
Thanks, Miklas
5
16
Quote
Status: offline
squatty
Forum User
Full Member
Registered: 01/21/02
Posts: 269
I forgott to add the following to the README file:
1) Add the following to /path/to/geeklog/system/lib-database.php:
$_TABLES['newsblock'] = $_DB_table_prefix . 'newsblock';
In a world without walls and fences, who needs Windows and Gates?
In a world without walls and fences, who needs Windows and Gates?
8
13
Quote
Anonymous
Anonymous
it works now ...

26
11
Quote
Anonymous
Anonymous
I'm getting the error '1146: Table 'ectropia.newsblock' doesn't exist' but the table is actually gl_newsblock. My lib-database.php is set to $_TABLES['newsblock'] = $_DB_table_prefix . 'newsblock'; So why is it looking for .newsblock instead of .gl_newsblock?
7
11
Quote
All times are EDT. The time is now 04:03 pm.
- 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