1

Topic: Unable to fetch topic list

Since I updated to 1.2.14 on error appears when I try to use the news generator sad I enabled debug and gave me this msg:

An error was encountered
File: /usr/www/users/qwscen/forum/plugins/AP_News_Generator.php
Line: 96

PunBB reported: Unable to fetch topic list

Database reported: ERROR: function unix_timestamp("unknown") does not exist HINT: No function matches the given name and argument types. You may need to add explicit type casts.

2

Re: Unable to fetch topic list

noone any idea?

Re: Unable to fetch topic list

You didn't have this error before?
Since the update didn't affect the database or the plugin, I'm curious why that would happen.

What database system are you using?

4

Re: Unable to fetch topic list

Database: PostgreSQL 7.4.6 on i686-pc-linux-gnu, compiled by GCC 2.96

Re: Unable to fetch topic list

Well, I don't know why it worked before: PostgreSQL doesn't support UNIX_TIMESTAMP.
This page may help you modify it to work:
http://www.raditha.com/postgres/timestamp.php

6

Re: Unable to fetch topic list

well, is someone able to rewrite a working PostgreSQL version of news generator? I´m not sad

7

Re: Unable to fetch topic list

On other thought came into my mind, is it possible to convert the complete PostgreSQL database into mysql ?

8

Re: Unable to fetch topic list

answer?

Re: Unable to fetch topic list

http://www.lightbox.ca/pg2mysql.php
I don't know how it is, you'll have to test it out

10

Re: Unable to fetch topic list

dont work sad Maybe the autor of the news generator should be ask for a postgre update?

11

Re: Unable to fetch topic list

OK, I realized something wrong.

The Error message apears but the output will be created.

So there should be a fix for that maybe?

Re: Unable to fetch topic list

Mmm?