Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: [solved]Warning: main(users.php): failed to open stream: No such file  (Read 5768 times)

0 Members and 1 Guest are viewing this topic.

Steven

  • Coppermine newbie
  • Offline Offline
  • Posts: 5

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!!! ???
« Last Edit: June 13, 2004, 05:17:15 am by Tarique Sani »
Logged

jack

  • VIP
  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 279

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

Steven

  • Coppermine newbie
  • Offline Offline
  • Posts: 5

simply a spelling error.  Fixed.  Thanks!
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.