News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Re: Sending a PM Results in 'No Direct Access' Error

Started by szinski, August 31, 2024, 01:53:48 PM

Previous topic - Next topic

szinski

Just experienced this error on my site SMF 2.1.4

No direct access...

INSERT INTO smf_personal_messages(`id_pm_head`, `id_member_from`, `deleted_by_sender`, `from_name`, `msgtime`, `subject`, `body`)
VALUES
(263023, 28899, 0, SUBSTRING('king crab 48', 1, 255), 1725101817, SUBSTRING('Re: bad news 8/30/24', 1, 255), SUBSTRING('Yes, I know, it is live each day doing what you like.  Went to Plunger yesterday,, ,,,, only got 5 crabs!  Can't believe the change in one week.  I think they went into a molt . :-\\', 1, 65534))
Function: sendpm

Doug Heffernan

Is that the whole error?

For future reference, it would be better to post a new topic about an issue that you are having, rather than bumping a 2 year odd topic.

Sir Osis of Liver

Sounds like you've seen the previous topic, none of us were able to replicate the problem on clean install.  Have you tried that?  Would indicate a server issue.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Arantor

I think it's the same bug - the symptoms were the same in both times, database query fails when the content ends in the *same smiley*, and points to some kind of bug in the query escaper.
Holder of controversial views, all of which my own.

vbgamer45

I am able to recreate it on SMF 2.1.14
With this body in a pm to another person
QuoteYes, I know, it is live each day doing what you like.  Went to Plunger yesterday,, ,,,, only got 5 crabs!  Can't believe the change in one week.  I think they went into a molt . :-\
I think it is the smiley at the end.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

shawnb61

A question worth asking is born in experience & driven by necessity. - Fripp

Advertisement: