PDA

View Full Version : Sos !!!!


Marx
October 22nd, 2006, 02:47 AM
Hi

Could anyone give me a hand creating a php.ini file I am gettin errors with my MSRS site as I beleive certain function are disabled by my host, I mailed them to ask if they can enable these and was told I need to create cutomer php.ini files to enable these, as they cannot be done server wide.

The error I get are these:
file_get_contents(): URL file-access is disabled in the server configuration in
file_get_contents(http://www.myspace.com/12434): failed to open stream: no suitable wrapper could be found in

In case you need to see them the url is here: http://www.qx7.org/layout-stealer/layout-stealer-code.php
just type something in and generate

Any help would be greatly appreciated, sorry if this pot is in wrong place etc etc - My first post

Thanks Marx :rockon:

Drew
October 22nd, 2006, 03:05 AM
Does the train that came with the script work on your host? looks like a similar issue to the train to me.

Marx
October 22nd, 2006, 03:30 AM
I havent tried any train yet, just took over the site and dont think the previous owner had it setup, will give it a go and report back :detective:

stoxup
October 22nd, 2006, 11:00 AM
Here's the link (http://cvs.php.net/viewvc.cgi/php4.fubar/php.ini-recommended?revision=1.140&view=markup) to a php.ini template.

I'm just shooting off in the dark here, but try using:

allow_url_fopen = On

stoxup

Marx
October 22nd, 2006, 01:51 PM
Wow, i think that fixed it

Ur a diamond

Thanks :rockon:

stoxup
October 22nd, 2006, 02:44 PM
Wow, i think that fixed it

Ur a diamond

Thanks :rockon:

Anytime :biggrin: