Failed to open stream errors
Posted: Tue Dec 12, 2006 5:23 pm
First, thanks for creating this mod!
Second, I've been struggling with a couple of errors I'm getting with this mod, and would appreciate any help/advice you have to offer.
When going to the Quiz Packs screen in the ACP I'm getting these warnings:
This indicates to me that I've got permissions on something set wrong, but I've reset all the permissions for that file and directory, and the appropriate directories above it, yet I still get the error. And yes, I've checked the filename for spelling errors too.
Interestingly, the link to the file shows up in the Quiz Packs section, and if I cut and paste the path into my browser I can access the file just fine, so why is the Mod getting a 404??
Clicking the filename link in the Quiz Pack section results in another warning, and a blank screen below it:
Two other warnings are also popping up on the Quiz configuration screen in the ACP, directly above the form:
AFAIK my IPV6 configuration is fine, and I'd rather not mess with it. We do plan on upgrading to PHP5 in the future, probably over the summer, but not right now.
Second, I've been struggling with a couple of errors I'm getting with this mod, and would appreciate any help/advice you have to offer.
When going to the Quiz Packs screen in the ACP I'm getting these warnings:
Code: Select all
Warning: file_get_contents(http://xxxxxxxxx/phpBB2/admin/quiz_packs/QP_UQM_Trivia.qp): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /xxxxxx/xxxxxx/xxxxxx/xxxxxx/phpBB2/admin/admin_quiz_packs.php on line 97
Warning: file_get_contents(http://xxxxxxxx/phpBB2/admin/quiz_packs/QP_UQM_Trivia.qp): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /xxxxx/xxxxxx/xxxxxxx/xxxxxx/phpBB2/admin/admin_quiz_packs.php on line 97
Interestingly, the link to the file shows up in the Quiz Packs section, and if I cut and paste the path into my browser I can access the file just fine, so why is the Mod getting a 404??
Clicking the filename link in the Quiz Pack section results in another warning, and a blank screen below it:
Code: Select all
Warning: file_get_contents(http://spwaw.com/phpBB2/admin/quiz_packs/QP_UQM_Trivia.qp): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /xxxxx/xxxxx/xxxxx/xxxx/phpBB2/admin/admin_quiz_packs.php on line 157
Code: Select all
Warning: file(): php_network_getaddresses: getaddrinfo failed: Name or service not known (is your IPV6 configuration correct? If this error happens all the time, try reconfiguring PHP using --disable-ipv6 option to configure) in /xxxx/xxxxxxxxx/xxxxxx/xxxxx/phpBB2/admin/admin_quiz.php on line 400
Warning: file(http://www.cmxmods.net/quiz_latest.txt): failed to open stream: Success in /xxxx/xxxxx/xxxxxxx/xxxx/phpBB2/admin/admin_quiz.php on line 400