[solved]Warning: main(users.php): failed to open stream: No such file [solved]Warning: main(users.php): failed to open stream: No such file
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

[solved]Warning: main(users.php): failed to open stream: No such file

Started by Steven, June 12, 2004, 05:57:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Steven

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!!! ???

jack

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.
Please do not contact me for support directly - instead: post on this board!

Steven