Help ME!!

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
cmiddlet78
Forum Newbie
Posts: 2
Joined: Mon Aug 24, 2009 12:41 pm

Help ME!!

Post by cmiddlet78 »

What does this mean and how to fix it?

Warning: file_get_contents(nw/version.php) [function.file-get-contents]: failed to open stream: No such file or directory in /home/cmiddlet/public_html/*************COM/wp-content/plugins/wpcloaker/wpcloaker.php on line 90
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: Help ME!!

Post by John Cartwright »

Did you try reading the error? Specifically "No such file or directory" :wink:

The file it is trying to include cannot be found at the specified path.
cmiddlet78
Forum Newbie
Posts: 2
Joined: Mon Aug 24, 2009 12:41 pm

Re: Help ME!!

Post by cmiddlet78 »

Please forgive me not a php programmer as you can tell.

The is the code that I think has the issue. Any suggestions?

---------------------------------------------------------------------------------------
// check version
if ($should == true) {
global $wpcloaker_g_iplisturl;
$version_url = $wpcloaker_g_iplisturl . "version.php";

$wpcloaker_version = get_option('wpcloaker_ipversion');
$current_version = file_get_contents($version_url); <------ line 90

$should = ($current_version > $wpcloaker_version) ? true : false;
---------------------------------------------------------------------------------------
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: Help ME!!

Post by califdon »

We understand that you are not a PHP programmer, but do you read English?
User avatar
jackpf
DevNet Resident
Posts: 2119
Joined: Sun Feb 15, 2009 7:22 pm
Location: Ipswich, UK

Re: Help ME!!

Post by jackpf »

Lol

The file doesn't exist! The only way to fix it is to open the right file. I can't help you, since I personally don't know what your file structure is.
Post Reply