Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-09-13 15:11:33

cuda
Member
From: Georgia, USA
Registered: 2008-02-06
Posts: 70
Website

403 error updating TXP advanced preferences

I am getting a 403 error when trying to update a custom field name, or anything for that matter on the advanced tab in the admin. Any ideas

in diagnostics I have this, do I need one of these functions for this section to save?:

The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: apache_note, apache_setenv, closelog, debugger_off, debugger_on, define_syslog_variables, openlog, syslog, ini_restore, symlink, ini_alter, socket_accept, socket_bind, socket_clear_error, socket_close, socket_connect, socket_create_listen, socket_create_pair, socket_create, socket_get_option, socket_getpeername, socket_getsockname, socket_last_error, socket_listen, socket_read, socket_recv, socket_recvfrom, socket_select, socket_send, socket_sendto, socket_set_block, socket_set_nonblock, socket_set_option, socket_shutdown, socket_strerror, socket_write, stream_sock

thanks in advance

Offline

#2 2010-09-13 15:17:11

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,942
Website GitHub

Re: 403 error updating TXP advanced preferences

cuda wrote:

I am getting a 403 error when trying to update a custom field name

Long shot: do any of your custom fields violate the reserved list of no-go names? If so you might have to go into phpMyAdmin and change the offending item in the txp_prefs table to restore your admin side functionality.

Of course, it might not be that at all but it’s worth checking.


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

#3 2010-09-13 15:28:52

cuda
Member
From: Georgia, USA
Registered: 2008-02-06
Posts: 70
Website

Re: 403 error updating TXP advanced preferences

no I can’t even save them to change them…4.2.0 TXP by the way

Offline

#4 2010-09-13 15:39:40

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,942
Website GitHub

Re: 403 error updating TXP advanced preferences

Do you mean No they don’t contain any reserved words, or No you can’t find that information out? Did you try checking the prefs table in phpMyAdmin (or through rss_admin_db_manager)? Look for custom_set_NN entries.

I can’t think of any other reason why you’d suddenly start getting a 403 on that screen. Did you notice it starting immediately after you altered a custom field name (if so, do you remember which one?) or has it just started doing it apparently without reason? As I say, I could be totally wrong and it might be something else entirely.

Not sure if any of those ‘required’ functions have any impact on the Advanced Prefs tab. I don’t think it matters, but somebody more well-versed in this area might be able to shed some light on it.

Last edited by Bloke (2010-09-13 15:40:55)


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

#5 2010-09-13 16:17:25

cuda
Member
From: Georgia, USA
Registered: 2008-02-06
Posts: 70
Website

Re: 403 error updating TXP advanced preferences

yeah I am not sure why either but it is only on that advanced tab…..the custom field names remain custom1 and custom2 never been touched. If I make no changes to the preferences and hit save I still get the 403. So it is one of those functions or a file permission maybe? Thanks for the thoughts bloke

Offline

#6 2010-09-13 16:51:46

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: 403 error updating TXP advanced preferences

Does this help?

Offline

#7 2010-09-14 00:27:47

cuda
Member
From: Georgia, USA
Registered: 2008-02-06
Posts: 70
Website

Re: 403 error updating TXP advanced preferences

@els Thank you that did the trick!!! put this:

SecFilterScanPOST Off

in a .htaccess file in the /textpattern directory

Offline

Board footer

Powered by FluxBB