Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Edit error: Sorry, the form could not be submitted. Please try again.
etc wrote:
Try to enable response body logging in Firefox web console.
Looked around with Firebug Console | Warnings
This warning is displayed when the article is edited:
Use of attributes' specified attribute is deprecated. It always returns true.
[Break On This Error] ...ction(a,b){var c=b[0],e=b[1],g;f.isFunction(c)?i[a](function(){g=c.apply(this,ar... jquery.js (line 2)
Offline
Re: Edit error: Sorry, the form could not be submitted. Please try again.
what are your plugins?
Offline
Re: Edit error: Sorry, the form could not be submitted. Please try again.
mrdale wrote:
what are your plugins?
adi_menu
arc_youtube
ob1_pagination
pap_contact_cleaner
rah_comment_spam
rah_custom_feed
rss_admin_db_manager
rss_auto_excerpt
rvm_maintenance
smd_lately
smd_query
smd_where_used
tru_tags
wet_commentmagic
wet_haystack
wet_recent_comments
zem_contact_lang
zem_contact_reborn
Offline
Re: Edit error: Sorry, the form could not be submitted. Please try again.
kees-b wrote:
How and were do I do that? Do you mean Tools | Webdeveloper or Firebug?
Firefox own Web developer/web console, then right click inside the console and enable “Log request and response bodies”. Save an article, you should then see a POST request in the console. Click on it and check if the response body looks ok.
Offline
Re: Edit error: Sorry, the form could not be submitted. Please try again.
etc wrote:
Firefox own Web developer/web console, then right click inside the console and enable “Log request and response bodies”. Save an article, you should then see a POST request in the console. Click on it and check if the response body looks ok.
Thanks! This is logged when the article is saved:
[21:59:33.678] Use of attributes’ specified attribute is deprecated. It always returns true. http://domain.nl/textpattern/jquery.js:2
[21:59:33.751] POST http://domain.nl/textpattern/index.php [HTTP/1.1 200 OK 82ms]
[21:59:33.752] GET http://domain.nl/textpattern/txp_img/spinner.gif [HTTP/1.1 304 Not Modified 31ms]
Same warning and nothing special. Should I look further?
Offline
Re: Edit error: Sorry, the form could not be submitted. Please try again.
Click on the POST link and look at the response body, you should see something like $(document).ready...
Offline
Re: Edit error: Sorry, the form could not be submitted. Please try again.
etc wrote:
Click on the POST link and look at the response body, you should see something like
$(document).ready...
Indeed, it starts with:
$(document).ready(function() { $(“#messagepane”).html(“<span id=\“message\” class=\“success\”>Artikel geplaatst <a href=\”#close\” class=\“close\”>×</a></span>”); $(‘#message.success, #message.warning, #message.error’).fadeOut(‘fast’).fadeIn(‘fast’); });;
$(“[name=sLastMod]”).val(“1370635582”);
$(“[name=sPosted]”).val(“1370634184”);
$(“#keywords”).val(“”);
$(“#url-title”).val(“test”);
$(“#recent_group .recent”).replaceWith(“<ul class=\“recent plain-list\”>\n <li class=\“recent-article\”><a href=\”?event=article&step=edit&ID=558\”>test</a></li>\n
and continues with a lot of code…what should I look for?
Offline
Re: Edit error: Sorry, the form could not be submitted. Please try again.
That looks normal. Try to disable “Use admin-side plugins?” option in admin/preferences/advanced, and check if the popup is still there on save?
Offline
Re: Edit error: Sorry, the form could not be submitted. Please try again.
etc wrote:
That looks normal. Try to disable “Use admin-side plugins?” option in admin/preferences/advanced, and check if the popup is still there on save?
It’s still there.
What actually wonders me most is that at the initial save no error appears but at a second (edit) save it does. This makes me think if there is a check by the textpattern.js script of the allready existing article content in the database. Weird but another hypothesis to check maybe?
-k
Last edited by kees-b (2013-06-08 06:49:58)
Offline
Re: Edit error: Sorry, the form could not be submitted. Please try again.
Checked with all plugins disabled. Error stiil pops up.
-k
Offline
Re: Edit error: Sorry, the form could not be submitted. Please try again.
kees-b wrote:
What actually wonders me most is that at the initial save no error appears but at a second (edit) save it does. This makes me think if there is a check by the
textpattern.jsscript of the allready existing article content in the database.
As I get it, this script is used in many places (articles, categories, …) for ajax form submission. I don’t think it contains something article-specific, though I may be wrong.
Initial posts are proceeded differently and issue a different callback than further saves, so this behavior is explainable. But now that you have tested it with all plugins disabled, I have no more clever idea than putting your site in debug mode, run diagnostics, pray, reboot… sorry.
Offline
Re: Edit error: Sorry, the form could not be submitted. Please try again.
Can you post your full diagnostics report? Admin > Diagnostics > Select High, copy paste what you see. Can you also post the full HTTP response headers you get from the server? You will able to see response headers in Firefox’s or Chrome’s developer tools (in post you should be able to click the request you in the timeline and it will show the full response header).
There are few common causes preventing forms being sent;
- Textpattern’s error handlers (fixed in 4.6.0).
- Client side caching.
Admin-side pages can’t send any caching related headers. When they do, Ajax, and editor forms in general, start acting funky due to the editor forms getting pulled from the cache. If your server is indeed sending caching related headers, you must disable those for the backend (e.g. for textpattern directory) by editing or overriding the server configuration, or you could try out rah_nocache plugin, and see if it helps. The plugin will try to send counter-acting cache disabling headers.
Offline
Re: Edit error: Sorry, the form could not be submitted. Please try again.
Gocom wrote:
Can you post your full diagnostics report?
Hi Jukka, here you go:
(only changed domain name and client number)
Textpattern versie: 4.5.4 (r4919)
Laatste update: 2013-06-06 07:30:36/2013-06-06 07:29:43
Document root: /home/knrxxxxx/domains/domain.nl/public_html
$path_to_site: /home/knrxxxxx/domains/domain.nl/public_html
Pad naar textpattern: /home/knrxxxxx/domains/domain.nl/public_html/textpattern
Permanente link modus: section_title
open_basedir: /home/knrxxxxx/:/tmp:/var/tmp:/usr/local/lib/php/
tijdelijke bestanden map: /home/knrxxxxx/domains/domain.nl/public_html/textpattern/tmp
Site URL: domain.nl
PHP versie: 5.3.19
GD bibliotheek: bundled (2.0.34 compatible); ondersteunde bestandssoorten: GIF, JPG, PNG.
Server TZ: Europe/Amsterdam
Lokale servertijd: 2013-06-08 14:43:01
Zomertijd: 1
Zomer- en wintertijd automatisch bijstellen?: 1
Tijdzone: Europe/Amsterdam (3600)
MySQL: 5.5.28
Localisatie: nl_NL.UTF-8
Server: Apache
Apache versie: Apache
PHP server API: apache2handler
RFC 2616 headers:
Besturingssysteem van de server: Linux 2.6.32-5-amd64
Actieve plugins: zem_contact_reborn-4.0.3.20, zem_contact_lang-4.0.3.6m, pap_contact_cleaner-0.1, ob1_pagination-2.5, wet_recent_comments-0.4, wet_commentmagic-0.5, smd_query-0.50, smd_lately-0.30, rss_auto_excerpt-0.5, adi_menu-1.3.1, tru_tags-3.7, rss_admin_db_manager-4.3, rah_comment_spam-0.7, rah_custom_feed-0.2, arc_youtube-1.0.2, smd_where_used-0.30, wet_haystack-0.6
Vormgeving sitebeheer: classic 4.5.4
inhoud .htaccess bestand:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default
<IfModule mod_rewrite.c> RewriteEngine On #RewriteBase /relative/web/path/
RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]
RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*) index.php
RewriteCond %{HTTP:Authorization} !^$
RewriteRule .* – [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
#php_value register_globals 0
- SVG
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
————————————
Charset (default/config): latin1/utf8
character_set_client: utf8
character_set_connection: utf8
character_set_database: latin1
character_set_filesystem: binary
character_set_results: utf8
character_set_server: latin1
character_set_system: utf8
character_sets_dir: /usr/local/mysql-5.5.28-linux2.6-x86_64/share/charsets/
18 Tables: txp_moderation is latin1
10 Speciale velden: custom_1, custom_2, custom_3, custom_4, custom_5, custom_6, custom_7, custom_8, custom_9, custom_10 (10)
PHP uitbreidingen: Core/5.3.19, date/5.3.19, ereg, libxml, openssl, pcre, sqlite3/0.7-dev, zlib/1.1, bcmath, calendar, ctype, curl, dom/20031129, hash/1.0, fileinfo/1.0.5-dev, filter/0.11.0, ftp, gd, gettext, SPL/0.2, iconv, session, json/1.2.1, mbstring, mcrypt, mysql/1.0, mysqli/0.1, PDO/1.0.4dev, pdo_mysql/1.0.2, pdo_sqlite/1.0.1, standard/5.3.19, posix, Reflection/$Id: 593a0506b01337cfaf9f63ebc12cd60523fc2c41 $, imap, SimpleXML/0.1, soap, sockets, Phar/2.0.1, SQLite/2.0-dev, exif/1.4 $Id$, tokenizer/0.1, xml, xmlreader/0.1, xmlwriter/0.1, zip/1.11.0, apache2handler, mhash, ionCube Loader
Apache modules: core, mod_authn_file, mod_authn_default, mod_authz_host, mod_authz_groupfile, mod_authz_user, mod_authz_default, mod_auth_basic, mod_include, mod_filter, mod_deflate, mod_log_config, mod_logio, mod_env, mod_expires, mod_headers, mod_unique_id, mod_setenvif, mod_version, mod_proxy, mod_proxy_connect, mod_proxy_ftp, mod_proxy_http, mod_proxy_scgi, mod_proxy_ajp, mod_proxy_balancer, mod_ssl, prefork, http_core, mod_mime, mod_dav, mod_status, mod_autoindex, mod_asis, mod_suexec, mod_cgi, mod_dav_fs, mod_dav_lock, mod_negotiation, mod_dir, mod_actions, mod_userdir, mod_alias, mod_rewrite, mod_so, mod_ruid2, mod_php5
pretext_data: array (
‘status’ => ‘200’,
‘id’ => ‘’,
‘s’ => ‘’,
‘c’ => ‘’,
‘context’ => ‘’,
‘q’ => ‘’,
‘m’ => ‘’,
‘pg’ => ‘’,
‘p’ => ‘’,
‘month’ => ‘’,
‘author’ => ‘’,
‘request_uri’ => ‘/e0ae27b57723265060d3e4190ce24e39/?txpcleantest=1’,
‘qs’ => ‘txpcleantest=1’,
‘subpath’ => ‘\\/’,
‘req’ => ‘/e0ae27b57723265060d3e4190ce24e39/?txpcleantest=1’,
)
/home/knrxxxxx/domains/domain.nl/public_html/index.php:
r4086 (1cacaf70cbd9defaa6e21f44a4a823df)
/home/knrxxxxx/domains/domain.nl/public_html/css.php:
r4086 (c8b264911e6ad82a71588066c133f7b6)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/css.php:
r3189 (d2b173a93393ba06195d315de47f7b62)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/include/import/import_b2.php:
r3997 (0b219807adeed43500ae73d50dc9c43e)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/include/import/import_blogger.php:
r3901 (3c5ab5b884ccd3ee713f018112143b60)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/include/import/import_mt.php:
r3446 (e175e6a3ffa57c3ed21721a33c2a7ccc)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/include/import/import_mtdb.php:
r3997 (43104a7df70524f5b64305f4d05284ed)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/include/import/import_wp.php:
r3997 (f4b1d8914f7041682cee5857fc4da4a2)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/include/txp_admin.php:
r4092 (c5a5b7d863afa56bb10b59554b1791b4)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/include/txp_article.php:
r4270 (05ef282938604e3fe403beffb7e667c6)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/include/txp_auth.php:
r3964 (117a841ec286ef82644b664aa1591e44)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/include/txp_category.php:
r4089 (9c0715b38872290d9dcc6097e4247a05)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/include/txp_css.php:
r4090 (98363a3352a545c5c79b7c2368e1a4c6)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/include/txp_diag.php:
r4192 (e14d3b00084b2a74587e0c309b169e23)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/include/txp_discuss.php:
r4089 (9326426b24abcc5422403e2e9fff48e2)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/include/txp_file.php:
r4089 (56a9db44164ec37b8a0d1899c6fb1e5c)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/include/txp_form.php:
r4156 (306e46a796f1093fdffc675a5484adda)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/include/txp_image.php:
r4089 (56fc01f0efac7654a2deb891af251085)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/include/txp_import.php:
r3997 (29d60777dad6d2c25df2ccf51d64ed9f)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/include/txp_link.php:
r4089 (561afab2d5e3627bc32f9f3f64d455d1)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/include/txp_list.php:
r4089 (1be0b2b868e73992b078c94ab8681088)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/include/txp_log.php:
r4062 (aaccee1f6e803b10425b45d91f84d0e1)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/include/txp_page.php:
r4873 (1681cd54d9297d554c6e61322bf7895b)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/include/txp_plugin.php:
r4062 (51761ef37ef637b7fa57d3a58e1681a7)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/include/txp_prefs.php:
r4062 (7d8fd18d1ec95b0b5a715f7c425a553e)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/include/txp_section.php:
r4089 (d64d4d8fc9d69b50817dac59c4588bbc)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/include/txp_tag.php:
r4095 (d7c064d2076dcad78735c1858c8b2bb8)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/index.php:
r4916 (7b72f5976df392022490a80042dd9a3c)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/jquery.js:
unknown (b8d64d0bc142b3f670cc0611b0aebcae)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/lib/IXRClass.php:
r3394 (40f7d5f34686ecd9d259b35006a6042d)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/lib/admin_config.php:
r3896 (3b3da76b1c304cd8f72cc2292f737113)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/lib/class.thumb.php:
r3733 (d9a8fad9eb15619c6acf6438e02b4fa2)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/lib/classTextile.php:
r4096 (2e201db32675f78f0eda37ebc85cb6e8)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/lib/constants.php:
r4060 (99d81fec07cfef75e66a3a50f599ccda)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/lib/taglib.php:
r2868 (286eac5e382bfa77ecc7953f019ea88b)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/lib/txplib_admin.php:
r3818 (52ffa8633e95f442ec00a1a652cb2124)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/lib/txplib_db.php:
r3752 (df0b9ae0199fbe8a6148c02ad3ad53b0)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/lib/txplib_forms.php:
r4872 (c2ab15d7473a18ef4b55e91c879ad7a6)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/lib/txplib_head.php:
r3989 (3f910c8f20cf421ce7b14965a88f90b0)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/lib/txplib_html.php:
r4163 (69349d370870489aad691e993a3df20e)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/lib/txplib_misc.php:
r4816 (b2931b48f632a6036d86d369b76ece3f)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/lib/txplib_publish.php:
r4461 (ea3fbc11514faf38ce9027221b3db31e)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/lib/txplib_theme.php:
r3944 (5b2e74350182e012fb05688bbf8ffd29)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/lib/txplib_update.php:
r4020 (b71d3ecc7d549b309b1d217b87493331)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/lib/txplib_validator.php:
r3802 (e78ec0330390a90cc6c1782af901e77f)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/lib/txplib_wrapper.php:
r2931 (ecbe1b28c8a1d897d44a4a099a15e2f9)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/publish.php:
r4461 (79818b49d8875dc42a9551ccfc0545a5)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/publish/atom.php:
r4011 (937d52579e3c46c5ecf66d3240826c9d)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/publish/comment.php:
r4058 (aa88c15e827c5eeb61c880f6e4052658)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/publish/log.php:
r3505 (b4fa399a00c6dd321fc198181e6fce4a)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/publish/rss.php:
r4011 (7dc2f4065bb1a01b936e35cbfe1029df)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/publish/search.php:
r2812 (093e236da60feda207545d45b79a11b0)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/publish/taghandlers.php:
r4058 (8b46584619b1d30dd75c79a9e4c8f627)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/textpattern.js:
r4057 (bc03389e8771a1a052de955081514079)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/theme/classic/classic.php:
r4055 (362612183fb3e4e6e33bf646a2617ca2)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/update/_to_1.0.0.php:
r4011 (8fb6bf221628bee9f5d0834643ea5077)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/update/_to_4.0.2.php:
r4011 (af1f41698c76adca0eb88af3e2f97001)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/update/_to_4.0.3.php:
r4011 (7ef2e0b60d4a82c53283d0959e6c3105)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/update/_to_4.0.4.php:
r4011 (b8bb1964b610af251f832ace40200743)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/update/_to_4.0.5.php:
r4011 (92610d1ce1eab53871a93287e5589e0c)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/update/_to_4.0.6.php:
r4011 (639c3164eb1bed0ee5740f4b5f7bc1f1)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/update/_to_4.0.7.php:
r4011 (f21a18372d7f1263b7bb540cecc3e9a2)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/update/_to_4.0.8.php:
r3057 (e4e88113d4b0ab6fd003ab62a3c29675)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/update/_to_4.2.0.php:
r4011 (43397d2c07e7e54d7b69e0651bc50bc5)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/update/_to_4.3.0.php:
r4011 (24accd9fb2688208d02d380b176b3989)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/update/_to_4.4.0.php:
r4011 (d30851758fe93cb98ecd998a80fd41f7)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/update/_to_4.4.1.php:
r4011 (ceadb82db0c5b238159e3f95937d3c56)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/update/_to_4.5.0.php:
r4020 (2ef4d4505566b6a74ec2f1c9948c7ab5)
/home/knrxxxxx/domains/domain.nl/public_html/textpattern/update/_update.php:
r4919 (683a9a82f055e7fc750cae16a9619eea)
————————————
Offline
Re: Edit error: Sorry, the form could not be submitted. Please try again.
Gocom wrote:
Can you also post the full HTTP response headers you get from the server?
Do you mean this output at POST (firefox web console) :
X-Textpattern-Runtime:0,0264
X-Textpattern-Memory:6400
Vary:Accept-Encoding,User-Agent
Server:Apache
Keep-Alive:timeout=1, max=100
Date:Sat, 08 Jun 2013 12:52:30 GMT
Content-Type:text/javascript; charset=utf-8
Content-Length:1846
Content-Encoding:gzip
Connection:Keep-Alive
And from the firefox webdeveloper extension (information | view response headers):
http://domain.nl/textpattern/index.php?event=article&step=edit&ID=558&_txp_token=926631adee4bcc7ff20c9fb3dc5221bb
Date: Sat, 08 Jun 2013 12:51:25 GMT
Server: Apache
X-Frame-Options: SAMEORIGIN
Vary: Accept-Encoding,User-Agent
Content-Encoding: gzip
Content-Length: 9293
Keep-Alive: timeout=1, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=utf-8
200 OK
Offline
Re: Edit error: Sorry, the form could not be submitted. Please try again.
Gocom wrote:
or you could try out rah_nocache plugin, and see if it helps. The plugin will try to send counter-acting cache disabling headers.
Installed your plugin – no difference – still popups
-kees
Offline