failed open stream..

Problems with the Windows version of XAMPP, questions, comments, and anything related.

failed open stream..

Postby dhimas01 » 12. December 2015 08:37

(Sorry, I could not speak German)
I installed xampp on my computer,
untarred it, and the xampp folder in my applications folder inside my hard drive
I then activated apache, and then I wanted to test it, to see if it works
So I typed in http://localhost
and I test the results of my work, and I get the following error message:
Code: Select all
Warning: file_get_contents (? Route = getClanDetails & clanTag = LCYRQ2UG): failed to open stream: No such file or directory in C: \ xampp \ htdocs \ test \ 1.php on line 20

Line 20 Code :
Code: Select all
$api_contents = json_decode(file_get_contents("$matches[1]?route=getClanDetails&clanTag={$clan_tag}"));

What should I do?
Posts: 1
Joined: 12. December 2015 08:15
Operating System: Windows

Re: failed open stream..

Postby Altrea » 12. December 2015 13:44

Check why matches[1] is empty
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
AF Moderator
Posts: 8243
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 44 guests