Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2015-03-09 06:15:58

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

AJAXALLY_CHALLENGED postmaster?

The following message appears in my php error log after using postmaster and txp4.4.1. Could anyone tell me what it is and a way I could fix it?

PHP Notice: Use of undefined constant AJAXALLY_CHALLENGED - assumed 'AJAXALLY_CHALLENGED' in .../textpattern/lib/txplib_misc.php on line 646

line 646 in txplib_misc.php is: $admin = ($app_mode == 'async' && !AJAXALLY_CHALLENGED ? '4,5' : '1,3,4,5');


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#2 2015-03-09 12:28:04

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,323
Website Mastodon

Re: AJAXALLY_CHALLENGED postmaster?

Try to add this line somewhere to your config.php:

define('AJAXALLY_CHALLENGED', false);

Aside: You seem to use a strange mix of 4.4.1 and 4.5.x. The AJAXALLY_CHALLENGED constant was introduced with Textpattern 4.5.0.

Offline

#3 2015-03-09 14:18:53

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: AJAXALLY_CHALLENGED postmaster?

wet wrote #288887:

Try to add this line somewhere to your config.php:

define('AJAXALLY_CHALLENGED', false);...

Aside: You seem to use a strange mix of 4.4.1 and 4.5.x. The AJAXALLY_CHALLENGED constant was introduced with Textpattern 4.5.0.

Thanks Robert. I just did. Hopefully the error will disappear. I know it is a strange install which I maintain with difficulty until postmaster is updated for the current txp versions.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB