PDA

View Full Version : Warning on file_get_contents()


fotogram
05-01-2006, 09:08 PM
In the ADMIN, when clicking on:

You are running Pixelpost version 1.5 - April 2006
Latest pixelpost version: Check

I get the following warnings:


Warning: file_get_contents(): URL file-access is disabled in the server configuration in /home/xyz/username/site/pixelpost/admin/view_info.php on line 11

Warning: file_get_contents(http://www.pixelpost.org/service/version.txt): failed to open stream: no suitable wrapper could be found in /home/xyz/username/site/pixelpost/admin/view_info.php on line 11


I understand that it may be a restriction by my hosting provider, but an alternative way should exist.

Connie
05-01-2006, 09:16 PM
to get the information which version is the newest one, if there is a newer version available, we must store the information somewhere

the only reasonable place to do this is at the pixelpost.org-server

you are the first who runs into this restriction, which is set by your server configuration (no input from other server allowed)

an alternative would be a link to that file so that you click on it and the info opens in a new window...

we must think about that... thank you for the info