Cubert
-
Posts
2 -
Joined
-
Last visited
Posts posted by Cubert
-
-
Guys,
I am getting an error with the get_file_content function in PHP.
In both Modules.php and in this new advanced_module.php.
ERROR=
Warning: file_get_contents(modules/moduleList) [function.file-get-contents]: failed to open stream: No such file or directory in /www/pineapple/modules_advanced.php on line 96
I am getting failed to open stream. If I do a wget to same url from the PA I have no problem pulling down the text file.
Does anyone know why get_file_contents would have an issue with this or is there another possible reason this may fail?
Thanks all for any insight.
CubeDweller
Advanced Module Systems
in WiFi Pineapple Mark IV
Posted · Edited by Cubert
With me I can wget the mod list. The php function get_file_contents is failing. The error is base on the stream it received or did not receive. I am going to copy off the modules_advance.php to my web server and see if I can recreate the same issue on my lamp in efforts to debug my error.
Cubert