Welcome to Geeklog, Anonymous Tuesday, May 07 2024 @ 03:29 pm EDT

Geeklog Forums

Error after installation (403)


Status: offline

etolocka

Forum User
Chatty
Registered: 07/19/04
Posts: 60
Hi!

I´m installing my second GL (the first is running succesfully) in a IIS server.

I have a problem when I try to access GL after it was successfully installed. When I access to the url of my site, I get a 403 error (Forbidden). When I type www.mysite/index.php, it works, but the following error appears:

Fatal error: Call to undefined function: com_gettopicsql() in (my site)index.php on line 153

This line has the following code:

$sql .= COM_getTopicSQL ('AND') . ' ';

What´s wrong?

Thankfully,
Ernesto.

 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Make sure you're not mixing files from different versions of Geeklog. COM_getTopicSQL was only introduced in Geeklog 1.3.9sr1.

bye, Dirk
 Quote

Status: offline

etolocka

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

I made a fresh installation of GL 1.3.9sr1.

Ernesto.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Hmm.

You mentioned another site you're running. Is that site on the same server? Is it possible that the new site is picking up files from the existing site (e.g. because of a wrong path in your config somewhere)?

If that's not it: Is the above the only error message you're getting or are there other error or warning messages before that one?

bye, Dirk
 Quote

Status: offline

etolocka

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

The first GL is running in another server, with Apache. The second is installed in a server using IIS.

There is no relationship between them.

Everything is OK until success.php. When I click in:

Installation of Geeklog complete!
Click here to see your new Geeklog site!

...I get error 403 from the browser.

When I try to see the site (www.ceaelectronica.com.ar), I get the same error. If I type www.ceaelectronica.com.ar/index.php, I can see the main page of GL, but there is an error:

Fatal error: Call to undefined function: com_gettopicsql() in D:...index.php on line 153

I can´t understand why I get error 403...

Thankfully,
Ernesto.


 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The 403 is a setup issue with your webserver. Configure it such that it looks for a index.php - it doesn't seem to be doing this (don't ask me how - I don't know anything about IIS).

Poking around on your site I get the impression that you're using a relative path to the config.php in your lib-common.php. Please fix that (use an absolute path) - maybe that fixes the other problem, too ...

bye, Dirk
 Quote

Status: offline

etolocka

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

I´m using an absolute path:

D:/.../ceaelectronica.com.ar/gl/config.php

About the 403 error, I will check this with my hosting provider.

Thank you for your time.
Ernesto.
 Quote

Status: offline

etolocka

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

More information:

Running http://www.ceaelectronica.com.ar/admin/install/check.php

I get no errors.

Test passed
Congratulations! Your Geeklog site is set up properly and ready to go.

Ernesto.
 Quote

All times are EDT. The time is now 03:29 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