Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1641 2020-09-09 11:36:35

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,789
Website

Re: zem_contact_reborn 4.0.3.20

One2create wrote #325854:

Sadly I failed at the first hurdle. Increased the time to 2 hours and it still gave the expiry error message.

Drat. Looks like I might be wrong then.

Just to be sure you could try something ludicrous, like interval 24 hour or interval 48 hour. But if neither of those work after a full cache refresh of the page and trying to send the form again, then set the plugin back to interval 10 minute and we’ll have to consider something else.

Might require you to grant me a Publisher login added to your Textpattern admin side though to help figure it out, if you don’t mind, and trust me.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#1642 2020-09-09 11:50:34

One2create
New Member
Registered: 2020-09-09
Posts: 5

Re: zem_contact_reborn 4.0.3.20

Yep. I tried 12 hours the first time out and just tried 48 hours, with no luck. Sorry!

I think at this stage letting you have a look at the site would be fine. What’s the best email to set your account up under?

Offline

#1643 2020-09-09 11:54:22

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,789
Website

Re: zem_contact_reborn 4.0.3.20

One2create wrote #325856:

Yep. I tried 12 hours the first time out and just tried 48 hours, with no luck. Sorry! What’s the best email to set your account up under?

No worries, thanks for trying. I’ll drop you an email in a few minutes.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#1644 2020-09-09 12:53:13

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 9,789
Website

Re: zem_contact_reborn 4.0.3.20

@One2create. Think that’s sorted now. Please test.

The version of the plugin you’re using has a function call to mysql_real_escape_string() which was being zapped by your version of PHP. That meant the security nonce wasn’t being read from the form, which meant the server had no idea which form was submitted and shrugged its shoulders.

The solution was simply to swap out the mysql_real_escape_string() call for doSlash() (like it’s done in com_connect).

EDIT: And calls to is_windows() need to be replaced with the constant IS_WIN.

Last edited by Bloke (2020-09-09 13:17:29)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#1645 2020-09-09 13:19:16

One2create
New Member
Registered: 2020-09-09
Posts: 5

Re: zem_contact_reborn 4.0.3.20

Greatly appreciate the help on this. Made my day much easier!

Offline

#1646 2020-09-09 15:06:33

bici
Member
From: vancouver
Registered: 2004-02-24
Posts: 1,717
Website

Re: zem_contact_reborn 4.0.3.20

NOTE: backup the MySQL db and the site prior to trying to fix things. Install everything on a local machine. Upgrade to latest TxP and fix problems local ( keeping backups separate). Backups are Your Friend.


…. texted postive

Offline

Board footer

Powered by FluxBB