Maian Script World on Facebook Maian Script World on Twitter Maian Script World - Latest News Maian Script World on YouTube Maian Script World on LinkedIn


Please Read

You are required to register before you can post. This is via a custom verification system. Please post any problems you are encountering here and I`ll do my best to respond as soon as I can. Please note that a reply WILL be posted to all queries, so do not double post. There are no guarantees when a reply will appear but I do my best to answer all within 3/4 days max. Bumping topics won`t make the slightest difference.

IMPORTANT: Posts in English ONLY please, thank you! Any other languages will be ignored and your message deleted.
SEARCH: Use the search option to see if your question has been answered on the forum before. Or check the relevant script docs.
CUSTOMER: If you have purchased a commercial version of any of my software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
PRIVATE MESSAGES: Private messages are currently disabled.
LINKS: Any links posted are 'NOFOLLOW' and will not be picked up by search engines.

You are not logged in.

#1 30-09-2011 05:23:02

duceduc
Members
From: Japan
Registered: 25-05-2010
Posts: 359

receiving constant spam in comment box

I have captcha code enabled for my comment box; however, everyday I receive about 2-3 spam comments of the same topic. Is it possible for someone to write up a script for inputting these required information that easily or a human is actually doing this manually?

I tried to setup your spam control on your gallery script (confirming email address before comment is posted) to weblog script but am not having any luck so far.

I hate spam!!

Offline

#2 30-09-2011 07:03:49

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,062

Re: receiving constant spam in comment box

Me too my friend, me too.

Unfortunately captcha`s aren`t as reliable now as many bots are so advanced they can bypass them.

This forum has the re-captcha option installed as well as the figlet captcha for posts and yet each day I get hundreds of spam messages hit the forum. Only a few get through. I wrote a routine to try and catch some, which works for about 90%.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#3 07-10-2011 08:22:28

duceduc
Members
From: Japan
Registered: 25-05-2010
Posts: 359

Re: receiving constant spam in comment box

What I meant to say in the original thread was that I couldn't mimic the verification email with the gallery script. However, after spending a couple of days with it, I got it working 95%. If you can recall how you script the code, I try to copy it to the weblog script. I have a couple of issue with the pages not coming up when comments are submitted (page is broken) and when the verification link (500 internal error) is clicked on. I tried looking around to see if I have missed a code or if the code is not in placed, but I can't find it.

If you have the time, would you be able to login to double check it for me?

Offline

#4 07-10-2011 15:28:39

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,062

Re: receiving constant spam in comment box

Yes, not a problem, send over your log in details.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#5 17-10-2011 11:20:29

duceduc
Members
From: Japan
Registered: 25-05-2010
Posts: 359

Re: receiving constant spam in comment box

Hi David.

I got some of my issues fixed. Finally. However, I have one that I still can't figure out. It is the email verification link that the visitor clicks on to confirm his email address. Whenever, that link is clicked, I get a 500 error page, but the verification works as I see the changed made in my sql database. If I click the verification link the second time, it sends me to my webpage saying the link has already been verify (this is good).

I don't know what I'm missing at this point.

the verification link shows this url (with mod rewrite on)
http://mydomain.com/verify/generated_code/html

when the 500 internal error pops up, it shows this on the url bar.

http://mydomain.com/verify/generated_code/index.php

Notice the 'index.php'

Like I mentioned above, if the link is click the second time, it shows the correct url and it takes me to my page stating that the link has been used.

Last edited by duceduc (17-10-2011 11:40:29)

Offline

#6 17-10-2011 18:41:13

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,062

Re: receiving constant spam in comment box

Ok, no problem. I haven`t forgot this, just can`t get to it at the moment.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#7 19-10-2011 10:38:56

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,062

Re: receiving constant spam in comment box

Hi Duc,

In your htaccess file you have:

RewriteRule ^verify-email/(.*)/index.html index.php?cmd=verify_email&code=$1 [nc]

Shoudn`t that be:
RewriteRule ^verify/(.*)/index.html index.php?cmd=verify_email&code=$1 [nc]

Because 'verify-email' you aren`t using in the links?


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#8 19-10-2011 10:47:48

duceduc
Members
From: Japan
Registered: 25-05-2010
Posts: 359

Re: receiving constant spam in comment box

I've changed  it from verify to verify-email in both main file and htaccess.

Last edited by duceduc (19-10-2011 10:50:05)

Offline

#9 19-10-2011 12:14:58

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,062

Re: receiving constant spam in comment box

And does it work any better?


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#10 19-10-2011 12:18:18

duceduc
Members
From: Japan
Registered: 25-05-2010
Posts: 359

Re: receiving constant spam in comment box

It's the same. Still not working properly.

Offline

#11 19-10-2011 15:31:42

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,062

Re: receiving constant spam in comment box

Ok, well I`ll have to get to it when I can. I just don`t have time at the moment, sorry. I was hoping the htaccess issue might have fixed it.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#12 25-10-2011 11:07:01

duceduc
Members
From: Japan
Registered: 25-05-2010
Posts: 359

Re: receiving constant spam in comment box

I get an internal error when mod rewrite is turned on when I click on the verify link, but if it is turned off, the link sends me to the index.php (home) page.

What is this telling me?

Last edited by duceduc (25-10-2011 14:50:28)

Offline

#13 25-10-2011 19:11:25

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,062

Re: receiving constant spam in comment box

That the link isn`t correct and something is causing it to default to the index page?


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#14 25-10-2011 19:24:57

duceduc
Members
From: Japan
Registered: 25-05-2010
Posts: 359

Re: receiving constant spam in comment box

Ok, and it's weird when I click on the link the second time, it takes me to the correct page like it suppose too.

Offline

#15 26-10-2011 07:06:40

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,062

Re: receiving constant spam in comment box

So, same kind of thing as with the html urls?


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#16 26-10-2011 09:32:19

duceduc
Members
From: Japan
Registered: 25-05-2010
Posts: 359

Re: receiving constant spam in comment box

Not sure if I follow you there.

Offline

#17 26-10-2011 15:01:03

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,062

Re: receiving constant spam in comment box

Well, when you had the mod rewrite on didn`t you say it was a 500 when you clicked it, but then ok the second time?


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#18 26-10-2011 17:40:38

duceduc
Members
From: Japan
Registered: 25-05-2010
Posts: 359

Re: receiving constant spam in comment box

Yes, correct. That is why I'm confused as to why it doesn't work. When I click the link the second time, it sends me to my page saying you have already confirmed your email.

Offline

#19 26-10-2011 18:21:52

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,062

Re: receiving constant spam in comment box

Yep, a mystery. btw, just because you have the mod rewrite disabled doesn`t disable .htaccess. Try removing the htaccess from your directory and see what happens.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#20 26-10-2011 22:21:15

duceduc
Members
From: Japan
Registered: 25-05-2010
Posts: 359

Re: receiving constant spam in comment box

I have disabled mod rewrite and removed the htacccess from directory.

The first click sends me to index.php and the second click sends me to the page like it suppose to saying the email has been verified.

Offline

#21 27-10-2011 04:57:16

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,062

Re: receiving constant spam in comment box

So that made no difference. Looks like a mystery.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#22 27-10-2011 10:25:20

duceduc
Members
From: Japan
Registered: 25-05-2010
Posts: 359

Re: receiving constant spam in comment box

Weird. I think it is in the code that's causing this. This bit of code is for the error message that tells the visitor their email has been verified. I moved some codes around to see if I have made an error somewhere and I noticed if I move the 'exit'; between the two brackets. The first click of the verify link shows a blank page, but the url shows correctly like this.

http://domain.com/verify-email/generated-code/html

Where as before it would give me a 500 internal message and the link is this.
http://domain/verify-email/generated-code/index.php

$VERIFIED = true;
    } else {
        $errorLoad = true;
      }
    } else {
      $errorLoad = true;
            }
 
    // Error?
    if (isset($errorLoad)) {
      include(FOLDER_PATH.'inc/header.php');
      showPageMessage($msg_comment9);
      include(FOLDER_PATH.'inc/footer.php');
      exit;
    }   
   
  }

Offline

#23 27-10-2011 12:43:45

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,062

Re: receiving constant spam in comment box

It can sometimes help to have your server error reporting to report all errors. This could throw a lot of errors though if its something you don`t normally set. Often the error reporting helps fix problems though. Maybe worth a try?


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

#24 28-10-2011 04:50:21

duceduc
Members
From: Japan
Registered: 25-05-2010
Posts: 359

Re: receiving constant spam in comment box

Ok. The log shows this error.

Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.,

Here is more error with loglevel set to 'debug'

[Fri Oct 28 16:09:52 2011] [debug] core.c(3069): [client 192.168.1.1] redirected from r->uri = /index.php=index.php=index.php=index.php=index.php=index.php=index.php=index.php=index.php=verify-email/2-1e5b7cfd03b2d46da75ab916ae16b/index.php

Last edited by duceduc (28-10-2011 07:09:56)

Offline

#25 29-10-2011 07:24:37

msworld
Administrator
From: United Kingdom (Great Britain)
Registered: 09-05-2006
Posts: 7,062

Re: receiving constant spam in comment box

Ok, so at least you know now why its going to the index page. I`ve never encountered that error before I`m afraid.


- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
David Ian Bennett - Lead Developer
www.maianscriptworld.co.uk

Offline

Board footer

2Checkout.com is an authorized reseller of goods and services provided by Maian Script World.© 2003-2013 David Ian Bennett. All Rights Reserved | Forum: FluxBB

Privacy Policy | Refund Policy