Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Ip Trapped


batt255

Recommended Posts

I just installed Ip trapped ad on and when I test ti I get errors in the index file on line 38. The following is the code before I change the places i need to change:

mail("you@your_site.net", "IP Banned $todaysdate", "$ip ($ua) has been banned.\n\n","From: BANNED@your_store.net");

The error I get when testing this add on is: Parse error: syntax error, unexpected T_STRING in /home/username/public_html/index.php on line 38

( username is my username which i did not want to display here) line 38 is the above code. Can anyone see an error in the code?...When I block the code from working using // the script works..of course it does not email me, but it does work. thanks

Link to comment
Share on other sites

  • 2 months later...

I just tried installing IP Trapped and i am getting similar errors .. i guess i have the username wrong question is which username does this reffer to and where can i find it

 

i have tried various options but nothing is working so far

 

any help many thanks in advance

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.

Guest
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...