Posted on: 08/08/04 12:09pm
By: etolocka
Hi
I have deleted all files from my site and installed all over again, but I get the same error from index.php:
Fatal error: Call to undefined function: com_gettopicsql() in D:SitiosPaginasceaelectronica.com.arindex.php on line 153
Any ideas, please?
Ernesto.
undefined function
Posted on: 08/08/04 12:15pm
By: Dirk
Can you please open your lib-common.php and check if it has a function called COM_getTopicSQL in it?
bye, Dirk
undefined function
Posted on: 08/08/04 04:10pm
By: etolocka
Dirk:
No, there isn´t any function with such name.
Ernesto.
undefined function
Posted on: 08/08/04 04:21pm
By: Dirk
You must have downloaded the wrong file then (although I'm not sure
what you could have downloaded ...).
This file[*1] is the current tarball. Please try again with that file.
Out of curiosity: Could you quote the line from your lib-common.php just below the copyright header? For the correct file, it should look like this:
// $Id: lib-common.php,v 1.301.2.2 2004/05/31 18:19:04 dhaun Exp $
bye, Dirk
undefined function
Posted on: 08/08/04 04:38pm
By: etolocka
Dirk:
I´m sorry, I was wrong. The file has the same comment:
// $Id: lib-common.php,v 1.301.2.2 2004/05/31 18:19:04 dhaun Exp $
and COM_getTopicSQL is in it.
Ernesto.
undefined function
Posted on: 08/08/04 04:43pm
By: etolocka
[QUOTE BY= etolocka] Dirk:
I´m sorry, I was wrong. The file has the same comment:
// $Id: lib-common.php,v 1.301.2.2 2004/05/31 18:19:04 dhaun Exp $
and COM_getTopicSQL is in it.
Ernesto.
PS:
Dirk, I found it!
I have another lib-common.php (with my paths and DB settings) to replace the previous one. It has the following comment:
// $Id: lib-common.php,v 1.243.2.3 2003/10/13 07:33:30
dhaun Exp $
and COM_getTopicSQL is not in the code.
I´m affraid I´m mixing files from different versions
[/QUOTE]
undefined function
Posted on: 08/08/04 04:55pm
By: Dirk
[QUOTE BY= etolocka] I´m affraid I´m mixing files from different versions[/QUOTE]
Which is what I was suspecting all the time. Use the correct files and the problem will go away.
The other lib-common.php is from a 1.3.8-1 version, btw.
bye, Dirk
undefined function
Posted on: 08/08/04 05:39pm
By: etolocka
Dirk:
I uploaded the correct ib-common file and GL works very fine now.
VERY thanks for your time!
Ernesto.