Welcome to Geeklog, Anonymous Saturday, November 30 2024 @ 02:35 pm EST

Geeklog Forums

undefined function


Status: offline

etolocka

Forum User
Chatty
Registered: 07/19/04
Posts: 60
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.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Can you please open your lib-common.php and check if it has a function called COM_getTopicSQL in it?

bye, Dirk
 Quote

Status: offline

etolocka

Forum User
Chatty
Registered: 07/19/04
Posts: 60
Dirk:

No, there isn´t any function with such name.



Ernesto.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
You must have downloaded the wrong file then (although I'm not sure what you could have downloaded ...).

This file 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:
Text Formatted Code
// $Id: lib-common.php,v 1.301.2.2 2004/05/31 18:19:04 dhaun Exp $
 

bye, Dirk
 Quote

Status: offline

etolocka

Forum User
Chatty
Registered: 07/19/04
Posts: 60
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.
 Quote

Status: offline

etolocka

Forum User
Chatty
Registered: 07/19/04
Posts: 60
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

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by etolocka: I´m affraid I´m mixing files from different versions

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
 Quote

Status: offline

etolocka

Forum User
Chatty
Registered: 07/19/04
Posts: 60
Dirk:

I uploaded the correct ib-common file and GL works very fine now.

VERY thanks for your time!

Ernesto.
 Quote

All times are EST. The time is now 02:35 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