Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

THROW EM OUT contrib error with php5


Recommended Posts

Hello and HELP!!!!


I had the contrib Throw Em Out working like a charm on php 4 till the server switched to php 5, mysql 5 and now the problem is this :


Warning: fopen(http://www.****.com./includes/blocked.txt) [function.fopen]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /web/**/**/*/**/**/public/www/includes/check_ip.php on line 11


Line 11 is :$fp_in = fopen ('http://www.****.com./includes/blocked.txt',"r");



Warning: fgetcsv() expects parameter 1 to be resource, boolean given in /web/**/**/*/**/**/public/www/includes/check_ip.php on line 13


Line 13 is :while ($data = fgetcsv ($fp_in, 1000, ",")) {


Does anyone have an idea?


Thanks in advance.



Link to comment
Share on other sites

likely the allow_url_fopen has been turn OFF (talk to your host for this). you could also try to use absolute address.



commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile).

over 20 years of computer programming experience.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...