News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Can't reply to thread, redirected to create a new topic.

Started by yoghurtfarmer, July 01, 2010, 06:27:30 PM

Previous topic - Next topic

yoghurtfarmer

Edit: Generalized the problem... Messages (PMs, topics, replies) won't go through if [url=http://Link ]Text[/url] is used 4+ times. Used to work, no recent changes to the forum or any mods.


I created a thread that I've updated frequently with links in this format, but for some reason it doesn't let me reply anymore. When I click preview or submit, it redirects me to create a new topic.

This is what I'm trying to reply with... In fact when I try replying with this post in other threads, the same thing happens.


[b]July 1, 2010[/b]

[u]Grooster[/u]: [url=http://www.grooster.com/todays_deal.html][b]$50 for Initial Consultation and One Hour of Electrolysis Hair Removal from Jade Electrolysis. ($185 Value)[/b][/url]
*[u]Groupon[/u]: [url=http://www.groupon.com/deals/windsure-windsurfing-school-vancouver?utm_campaign=UserReferral&utm_medium=twitter&utm_source=uu3504195][b]$15 for an Introduction to Windsurfing Class from Windsure Adventure Watersports ($52 Value)[/b][/url]
*[u]Steal The Deal[/u]: [url=http://www.stealthedeal.com/Vancouver][b]Look Hot this Canada Day weekend! For $79 get $170 worth of services from Urban Hair in Yaletown[/b][/url]
[u]Teambuy[/u]: [url=http://www.teambuy.ca/vancouver.php?referral=mu62u074][b]$14 for $28.50 Vancouver Whitecaps Tickets[/b][/url]
[u]Wagjag[/u]: [url=https://www.wagjag.com/?wid=2b24d495052a8ce66358eb576b8912c8][b]No deal yet[/b][/url]


When I remove the last two lines, it will post normally. When I try these two lines alone, it also works.


[u]Teambuy[/u]: [url=http://www.teambuy.ca/vancouver.php?referral=mu62u074][b]$14 for $28.50 Vancouver Whitecaps Tickets[/b][/url]
[u]Wagjag[/u]: [url=https://www.wagjag.com/?wid=2b24d495052a8ce66358eb576b8912c8][b]No deal yet[/b][/url]


yoghurtfarmer

New info: when I tried pming the message in using the code bbc tags, it won't send.

Instead it returns this:

The following error or errors occurred while posting this message:

    * Your session timed out while posting. Please try to re-submit your message.
    * No recipients specified.
    * No subject was filled in.
    * The message body was left empty.

I am puzzled because this hasn't been an issue before. I tried turning off SimpleSEF for awhile but the problem still exists.

So far, it looks like I can't post anything (reply, thread, pm) if my message contains what I have in the first post.


Kill Em All

Are you getting any errors in your forum error logs?

I have a feeling that one of your mods is causing the problem. Even if you did try turning them off, the code is still there.

Maybe this could even be a theme problem, do you get this problem on the default theme?


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

yoghurtfarmer

#4
Thanks for that suggestion, I just tried out the default theme and the problem's still there.

It's weird because this problem only started recently...I thought maybe there's some kind of spam feature that's blocking it since I've posted those same links so many times?

So far, I can post other things just fine.

No errors out of the ordinary. I do get some errors from SimpleSEF but I've always gotten those since I installed the mod.

yoghurtfarmer

I've checked a bunch of my mods and the problem's still there...but I did manage to generalize what triggers the problem.

Users get redirected whenever there are 4 or more url tags...but only if they are in the following form (with the url in the square bracket):


[url=http://URL]Text[/url]


So... I can have three of these and it will post, but as soon as I have four of them, the post won't go through and I'll get redirected... or in the case of a pm, it will give me an error.

I've made no modifications to the site and haven't installed any new mods, so I don't know what's up.

Kill Em All

Does that occur in other topics too that you post 4 or more url tags? I can post 4 urls on my test site just fine in the same posts. Try creating a new topic on your site and posting 4 or more urls. There should be no spam filter preventing you from doing that AFAIK.


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

yoghurtfarmer

It happens site wide.. new topics, replies and private messages can't be sent if they contain 4 or more of those URL tags.

This is just a problem that started recently without any changes to the site. I've been posting those tags for a month without issue.

Kill Em All

Ask your host if they made any recent changes to any configurations, or in a new directory install a fresh version of SMF 2.0 RC3 and see if the problem still occurs. If not, add each mod one by one and try it in between mods. This is either a mod problem or a server configuration problem. I'm gonna bet something went haywire with a mod though.


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

yoghurtfarmer

Okay will do that.

I used Notepad++ to compare the forum files now and a few days ago and found this in post.php:

Current (Line 1524):


if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img><object><embed>')) === '' && (!allowedTo('admin_forum') || strpos($_POST['message'], '[html]') === false))


Before (Line 1524):


if ($smcFunc['htmltrim'](strip_tags(parse_bbc($_POST['message'], false), '<img><object><embed><iframe>')) === '' && (!allowedTo('admin_forum') || strpos($_POST['message'], '[html]') === false))


There was also a similar thing on Line 2741 where an iframe was missing in the current version. The rest of the file is the same... Could that be the cause of it?

Kill Em All

Thats strange, did that just disappear?

By default, there shouldn't be one there anyways unless a mod added it there....


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

yoghurtfarmer

Figured out it was Aeva that added it, but it's not related to the problem.

I did a clean install of SMF 2.0 RC3 with no mods, default theme. Same problem, except this time I don't even get redirected to a "Create Topic page", I just get a Forbidden error message.

"Forbidden

You don't have permission to access /test forum/index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache Server at averagepalate.co.cc Port 80"

yoghurtfarmer

I guess this is server related then, but do you know what would cause it?

This DOESN'T cause any issues
[url]Text[/url]
[url]Text[/url]
[url]Text[/url]
[url]Text[/url]


This DOESN'T either

[url=text]Text[/url]
[url=text]Text[/url]
[url=text]Text[/url]
[url=text]Text[/url]


This DOES cause the problem

[url=http://]Text[/url]
[url=http://]Text[/url]
[url=http://]Text[/url]
[url=http://]Text[/url]


So to me, it's the url=http:// (when there are at least 4 of them) part that causes the following error message:

QuoteForbidden

You don't have permission to access /testforum/index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Kill Em All

Hum, this is just a hunch. Make sure your index.php is CHMOD to 644.


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.


Kill Em All

Considering this is happening through everything such as posts and pms, and that it started happening without anything being changed on your forum specifically, I'm gonna say your host messed around with something.


My Site: KEAGaming.com

Manual Installation of Mods
Prevent Spam and Forum Attacks
Please do not PM or email me for support unless offered, help should be publicly displayed to others.

Advertisement: