NameSilo

How can I fix this PHP error?

Namecheap AuctionsNamecheap Auctions
NamecheapNamecheap
Namecheap AuctionsNamecheap Auctions
Watch

ccm

KICKASSVIP Member
Impact
4
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /home/miorgull/public_html/index.php on line 222

Warning: fopen(http://search.msn.com/results.aspx?q=Mi+Orgullo&format=rss&FORM=RSRE) [function.fopen]: failed to open stream: no suitable wrapper could be found in /home/miorgull/public_html/index.php on line 222
could not open XML input

CHMOD is 644

Thanks

site is: www.miorgullo.net
i have another with same script: www.tightlines.org with no problem?

THanks guys! :yell:
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Try chmoding the file to 666, or 777.
 
0
Close
Thanks Mikor!
tried both, and get a 500 server error, 744 gives me the same original error
 
0
Close
try to go to 222 line @ index.php and get more info about the file that is opened by "fopen function" and then try to grant it the suitable permission
 
0
Close
Thanks Cubic, I opened it earlier but I am a PHP newbert:
Here's a snippet of the code form line 219 down to 223, you can see line 222 fopen but I have no idea,,,

$xml_parser = xml_parser_create();
xml_set_element_handler($xml_parser, "startElement", "endElement");
xml_set_character_data_handler($xml_parser, "characterData");
if (!($fp = fopen($file, "r"))) {
die("could not open XML input");

Those are lines 219, 20, 21, 22, 23

I obviously am no PHP wizard
 
0
Close
0
Close
you are right sdsinc :)
my host has it disabled to protect their shared hosting customers, and suggests I use cURL, so I guess I need to figure out what to insert. Any Help?
Thanks guys!
 
0
Close
0
Close
0
Close
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Search: choose where to search from the All tab
Open the search at the top of any page. On the All tab, the list next to the search box lets you choose where to search: everything, all...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back