Author Topic: Problem calling 4images from another page  (Read 4028 times)

0 Members and 1 Guest are viewing this topic.

Offline Machuet

  • Pre-Newbie
  • Posts: 2
    • View Profile
Problem calling 4images from another page
« on: August 05, 2002, 12:56:12 PM »
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  :?:

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Problem calling 4images from another page
« Reply #1 on: August 05, 2002, 01:31:54 PM »
It's not possible to include 4images to another php script, sorry.

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline Machuet

  • Pre-Newbie
  • Posts: 2
    • View Profile
That's sad
« Reply #2 on: August 05, 2002, 01:41:50 PM »
:cry: