ERROR 2: get_class() expects parameter 1 to be object, integer given
0 Error occurred on in function get_class
1 called from line 589 of file DB.php in function isError
2 called from line 550 of file DB.php in function connect
3 called from line 94 of file functions.php in function check_db
4 called from line 653 of file session.php in function require_once
5 called from line 69 of file config.php in function require_once
6 called from line 28 of file index.php
Fatal error: Call to undefined function AddToLog() in /customers/alexnet.dk/alexnet.dk/httpd.www/phpgedview/includes/functions.php on line 396
I get this message when I try to enter my site. What has happended? It used to work very fine. I think my IP has upgraded to a newer version of PHP. Has it something to do with that?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
ERROR 2: get_class() expects parameter 1 to be object, integer given
0 Error occurred on in function get_class
1 called from line 589 of file DB.php in function isError
2 called from line 550 of file DB.php in function connect
3 called from line 94 of file functions.php in function check_db
4 called from line 653 of file session.php in function require_once
5 called from line 69 of file config.php in function require_once
6 called from line 28 of file index.php
Fatal error: Call to undefined function AddToLog() in /customers/alexnet.dk/alexnet.dk/httpd.www/phpgedview/includes/functions.php on line 396
I get this message when I try to enter my site. What has happended? It used to work very fine. I think my IP has upgraded to a newer version of PHP. Has it something to do with that?
<<I think my IP has upgraded to a newer version of PHP. Has it something to do with that? >>
Almost certainly. What version of PGV are you using?
I must admit it's quite a while since I worked with my PGV and I don't remember which version it is. And how do I find out when I can't enter my site?
Visit http://www.yourdomain.com/phpgedview/changelog.txt
I use phpgedview vers 4.1.5
and my InternetProvider upgraded to PHP vers. 5.3
alex
Only pgv 4.2.3 is compatible with php 5.3.
Alex,
Please create a file containing just the following
<?php phpinfo(); ?>
Upload it to the phpgedview directory on your webserver. Then email me (fisharebest@gmail.com) with the URL of the site.
Greg
Sorry, I forgot to say.
The file must be called phpinfo.php