Hello, I've installed 4images and it works fine when I call directly the page 4images/index.php. But when I want to include this file in the center of my main index.php using include(...) I have the following error:
Fatal error: Call to a member function on a non-object in c:\program files\easyphp\www\projet1\4images\includes\sessions.php on line 161
and the line 161 is:
$site_db->query($sql); in the function delete_old_sessions()
Can someone help me to solve this problem.
thanks in advance
MAchuet
![Confused :?](https://www.4homepages.de/forum/Smileys/default/icon_confused.gif)
: