coppermine-gallery.com/forum

No Support => General discussion (no support!) => Topic started by: Steven on June 12, 2004, 05:57:08 PM

Title: [solved]Warning: main(users.php): failed to open stream: No such file
Post by: Steven on June 12, 2004, 05:57:08 PM
Hello,

I am trying to install a script that let me see how many users are online on my site.  I downloaded a script from http://www.cj-design.com/?content=downloads v1.0.  The installation seems to work properly until I add the link they specified (to my anycontent.php page and this is the error I get.

Instructions:
a)  How to create a link within a PHP Page (.php, .php3, .php4)

To create the INSERT using PHP use this code:

<?
include("usersonline/users.php");
?>

NOTE: You may need to change the path to users.php (to be certain you could enter the full path!)


Error:

Warning: main(usersonline/users.php): failed to open stream: No such file or directory in full URL - /anycontent.php on line 27

Warning: main(): Failed opening 'usersonline/users.php' for inclusion (include_path='') in /home/full URL/anycontent.php on line 27


Please help!!! ???
Title: Re: Warning: main(users.php): failed to open stream: No such file or directory i
Post by: jack on June 12, 2004, 07:25:55 PM
This line says it all ...

Quote
NOTE: You may need to change the path to users.php (to be certain you could enter the full path!)

It's simply looking in the wrong place for users.php - fill in the full path to the file.
Title: Re: Warning: main(users.php): failed to open stream: No such file or directory i
Post by: Steven on June 13, 2004, 12:24:52 AM
simply a spelling error.  Fixed.  Thanks!