PDA

View Full Version : Fatal error: Call to a member function Fields() on a non-object


Gioky
10-22-2009, 10:28 PM
Hi anyone

I've a problem with my directory. When i run the url get this message:

Fatal error: Call to a member function Fields() on a non-object in /var/www/vhost/mysiteaddress/home/html/directory/include/functions.php on line 43

In local it works very well, but online no... What's the error?

Maybe it's a installation problem (i've updated database and file from local to server) and i could to try to make a new installation online, but i cannot download the zip anymore... i get this message:

Error. Possible unauthorized access.

What can i do?

Thank you in advance

James
10-22-2009, 10:30 PM
make sure the database is there and working
check your config.php

that error is nothing is returned

in order to download make sure that you are registered on the front of the site and that your email is confirmed

Gioky
10-22-2009, 10:36 PM
Yes, the database works and i changed my config.php.

Maybe is htaccess problem? The directory is located in a subfolder, and my htaccess is:

Content visible to registered users only.

Besides i've already an htaccess in main folder. So i don't know if it could be a problem.

I'm registered on the site but have not received any email to confirm.

James
10-23-2009, 12:01 AM
Run the installer again

I cant find your phpLD account what is the username?

Gioky
10-23-2009, 12:07 AM
The username is Sasso, thanks a lot

James
10-23-2009, 12:19 AM
I validated your email just now

Gioky
10-23-2009, 12:24 AM
Same problem: Error. Possible unauthorized access. :confused:

James
10-23-2009, 12:26 AM
try using chrome or IE if using firefox

Gioky
10-23-2009, 12:41 AM
Nothing... i get the error on either ie and ff. Maybe an IP issue?

Gioky
10-23-2009, 01:31 PM
No solution? :-(

James
10-23-2009, 04:16 PM
I will investigate

Gioky
10-23-2009, 09:28 PM
I've some news...

I seen that some pages works ok, as contact.php, while index.php and submit.php give me the error:

Fatal error: Call to a member function Fields() on a non-object in /var/www/vhost/cinomania.net/home/html/directory/include/functions.php on line 213

So, i think that it's a db problem, but my config.php seems ok. Is there some other file that i should change?

bsardar
07-19-2011, 10:04 PM
I got Fatal error in installation what should i do with this please help me guys.

Fatal error: Cannot redeclare date_add() in /home/dirspide/public_html/include/functions.php on line 1763

James
07-19-2011, 10:07 PM
answer my post in the other thread