Page 2 of 3
Re: "could not save:400 -- bad request -- ",only when I try to save templates
Posted: Tue Nov 27, 2007 4:34 pm
by alby
percusionista wrote:
YES YES YES
ini_set('memory_limit', '16M');
WOW!!!!! it works great, thank you so much.
a simple line of code like that has broken PHP memory limitation.
And cheaper than upgrade option the hosting prpose me! !!!
Now I only have the problem that cannot change templates, only warnig appearing.
What can it be?
Check your debug and server logs because I don't have any problem.
Tomorrow I release CMSMS MLE 1.2.1
Alby
Re: "could not save:400 -- bad request -- ",only when I try to save templates
Posted: Tue Nov 27, 2007 4:48 pm
by percusionista
Check your debug and server logs because I don't have any problem.
As I told you before, I think it is server problem, because I have an standard CMSMS site with same problem, and only point in common is server company.
http://forum.cmsmadesimple.org/index.php/topic,17273.msg85588.html#msg85588
Tomorrow I release CMSMS MLE 1.2.1
Congratulations, I'm waiting for it
Re: "could not save:400 -- bad request -- ",only when I try to save templates
Posted: Mon Dec 31, 2007 6:58 pm
by schwankhuizen
Hello There,
I also have a 400 bad request error when saving user preferences or template changes and stuff like that.
My server is shared and runs on php 5. I use the latests 1.2.2. version of cms madesimple
This is the debug report form an action:
Debug: (1.000000000001E-05) - (942992)
loading smartyDebug: (0.004201) - (1326784)
loading adodbDebug: (0.00577) - (1444928)
loading page functionsDebug: (0.00828) - (1657792)
loading content functionsDebug: (0.010661) - (1911536)
loading pageinfo functionsDebug: (0.011281) - (1952000)
loading translation functionsDebug: (0.011751) - (1977136)
loading events functionsDebug: (0.013078) - (2098392)
done loading filesDebug: (0.022446) - (3133960)
(mysql): SELECT sitepref_name, sitepref_value from siteprefs
Error (0):
Debug: (0.025043) - (3212448)
(mysql): SELECT * FROM userplugins
Error (0):
Debug: (0.048472) - (3911440)
(mysql): SELECT * FROM modules ORDER BY module_name
Error (0):
Debug display of 'End of include':(0.075836) - (6325704)
Debug: (0.075952) - (6271616)
Session found. Moving on...Debug: (0.076027) - (6272656)
Session found. Moving on...Debug: (0.076239) - (6272088)
(mysql): SELECT preference, value FROM userprefs WHERE user_id = '1'
Error (0):
Debug: (0.081357) - (6787944)
Session found. Moving on...Debug: (0.081429) - (6788360)
Session found. Moving on...Debug: (0.08274) - (6911848)
Session found. Moving on...Debug: (0.084176) - (7002656)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.084387) - (7004104)
(mysql): SELECT DISTINCT permission_name FROM user_groups ug INNER JOIN group_perms gp ON gp.group_id = ug.group_id INNER JOIN permissions p ON p.permission_id = gp.permission_id WHERE ug.user_id = '1'
Error (0):
Debug: (0.08583) - (7028464)
Session found. Moving on...Debug: (0.085978) - (7027792)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.08744) - (7052632)
Session found. Moving on...Debug: (0.087596) - (7052016)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.087945) - (7055128)
Session found. Moving on...Debug: (0.088089) - (7053304)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.089232) - (7065936)
Session found. Moving on...Debug: (0.089378) - (7065248)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.089904) - (7081680)
Session found. Moving on...Debug: (0.090048) - (7079856)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.090382) - (7083072)
Session found. Moving on...Debug: (0.090529) - (7081024)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.090883) - (7084072)
Session found. Moving on...Debug: (0.091028) - (7082280)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.092098) - (7093024)
Session found. Moving on...Debug: (0.092244) - (7092016)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.093402) - (7099944)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.093591) - (7100280)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.093772) - (7100488)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.095197) - (7202912)
(mysql): SELECT htmlblob_id FROM additional_htmlblob_users WHERE user_id = '1'
Error (0):
Debug: (0.095388) - (7204536)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.095577) - (7204680)
(mysql): SELECT content_id FROM content WHERE owner_id = '1'
Error (0):
Debug: (0.095865) - (7206144)
(mysql): SELECT user_id,content_id FROM additional_users
Error (0):
Debug: (0.096043) - (7206152)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.096221) - (7206512)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.096401) - (7206808)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.096585) - (7207192)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.096763) - (7207488)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.096943) - (7207784)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.097125) - (7208160)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.097305) - (7208456)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.097483) - (7208752)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.097671) - (7209224)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.097852) - (7209608)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.09803) - (7209904)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.09821) - (7210200)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.098391) - (7210648)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.098569) - (7210944)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.098745) - (7211240)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.098924) - (7211648)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.099104) - (7212056)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.099286) - (7212624)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.099472) - (7213256)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.099659) - (7213816)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.099841) - (7214248)
(mysql): SELECT ug.user_id FROM user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.105168) - (7362008)
(mysql): SELECT bookmark_id, user_id, title, url FROM admin_bookmarks WHERE user_id = '1' ORDER BY title
Error (0):
*******************
I hopen someone can help me out please,
Best regards,
Bas
Re: "could not save:400 -- bad request -- ",only when I try to save templates
Posted: Thu Jan 03, 2008 9:22 am
by alby
schwankhuizen wrote:
I also have a 400 bad request error when saving user preferences or template changes and stuff like that.
My server is shared and runs on php 5. I use the latests 1.2.2. version of cms madesimple
This is the debug report form an action:
.......
No errors here.
I have look this problem on server with "strong rules" of mod_security.
Check your server logs
Alby
Re: "could not save:400 -- bad request -- ",only when I try to save templates
Posted: Fri Feb 08, 2008 9:55 am
by Dongo
alby wrote:
percusionista wrote:
This PHP limit I have alrready ask for the host company and they told me it was not possible.

extrange but true.
In config.php put:
Alby
Hello,
I have the same problem with memory limit, tried this
out, but get an error. 'ini_set' not working , all commands is like $config['']=''; and i tried out:
Didnt worked either, pls help me out. Im trying to install TinyMCEAdv 2.2.6 3557 becuase i have strange characteristic problems. In config.php char sets are utf-8 but in my content pages and menus the characters with ' (like: é á ú ó) are looks like ?? .
If anyone could help in this, that would be so nice.
Thx!
Re: "could not save:400 -- bad request -- ",only when I try to save templates
Posted: Fri Feb 08, 2008 1:00 pm
by alby
Dongo wrote:
out, but get an error. 'ini_set' not working , all commands is like $config['']=''; and i tried out:
What is your error?
- ini_set disabled? (Your provider hosting has disabled ini_set)
- php error? In this case check for this sintax:
Code: Select all
<?php
ini_set('memory_limit', '16M');
..........
..........
Alby
Re: "could not save:400 -- bad request -- ",only when I try to save templates
Posted: Fri Feb 08, 2008 4:08 pm
by Dongo
I did put that command where u wrote, and get this error when tried to install a module:
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 349639 bytes) in C:\Websites\MYSITE.hu\wwwroot\modules\nuSOAP\classes\nusoap.php on line 6219
Re: "could not save:400 -- bad request -- ",only when I try to save templates
Posted: Fri Feb 08, 2008 4:29 pm
by alby
Dongo wrote:
I did put that command where u wrote, and get this error when tried to install a module:
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 349639 bytes) in C:\Websites\MYSITE.hu\wwwroot\modules\nuSOAP\classes\nusoap.php on line 6219

Ok, 16 MB are low for you, try with:
Alby
Re: "could not save:400 -- bad request -- ",only when I try to save templates
Posted: Fri Feb 08, 2008 4:35 pm
by Dongo
Hmm, very strange, maybe host overwrites me, cos i tried with 32, not worked, then i tried with 64 and its not working..
same error:
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 349639 bytes) in C:\Websites\MYSITE\wwwroot\modules\nuSOAP\classes\nusoap.php on line 6219
my config.php:
<?php
ini_set('memory_limit', '64M');
#CMS Made Simple Configuration File ...
Re: "could not save:400 -- bad request -- ",only when I try to save templates
Posted: Fri Feb 08, 2008 4:41 pm
by alby
Dongo wrote:
Hmm, very strange, maybe host overwrites me, cos i tried with 32, not worked, then i tried with 64 and its not working..
Can be.
For test, uploads a file test.php with:
Code: Select all
<?php
ini_set('memory_limit', '64M');
phpinfo();
?>
and check the 'local value' for memory_limit
Alby
Re: "could not save:400 -- bad request -- ",only when I try to save templates
Posted: Fri Feb 08, 2008 4:45 pm
by Dongo
I made that test.php just how you write it, and get this error:
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in C:\Websites\MYSITE\wwwroot\test.php on line 2
Parse error: syntax error, unexpected T_STRING in C:\Websites\MYSITE\wwwroot\test.php on line 2
Re: "could not save:400 -- bad request -- ",only when I try to save templates
Posted: Fri Feb 08, 2008 4:57 pm
by alby
Dongo wrote:
I made that test.php just how you write it, and get this error:
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in C:\Websites\MYSITE\wwwroot\test.php on line 2
Parse error: syntax error, unexpected T_STRING in C:\Websites\MYSITE\wwwroot\test.php on line 2
Check sintax because it seems that there is a character in front of the quotes (your editor) or try with double quote:
Alby
Re: "could not save:400 -- bad request -- ",only when I try to save templates
Posted: Fri Feb 08, 2008 7:24 pm
by Dongo
Strange thing happend, what i wanted to download is disappeared...
And also I realized what happened with my characters, so Im not sure, I would need that module now.
Thanks for the help anyway!

Re: "could not save:400 -- bad request -- ",only when I try to save templates
Posted: Thu May 29, 2008 11:16 pm
by dscheff
I am getting the 400 badf request error when trying to save chenges to templates. Here is my debug dump:
Debug: (1.3999999999958E-05) - (1588552)
loading smartyDebug: (0.004949) - (1974112)
loading adodbDebug: (0.006765) - (2097608)
loading page functionsDebug: (0.009664) - (2313280)
loading content functionsDebug: (0.012558) - (2570048)
loading pageinfo functionsDebug: (0.013359) - (2612720)
loading translation functionsDebug: (0.013883) - (2640112)
loading events functionsDebug: (0.01539) - (2763832)
done loading filesDebug: (0.0263) - (3815040)
(mysql): SELECT sitepref_name, sitepref_value from cms_siteprefs
Error (0):
Debug: (0.029594) - (3903888)
(mysql): SELECT * FROM cms_userplugins
Error (0):
Debug: (0.07275) - (4642432)
(mysql): SELECT * FROM cms_modules ORDER BY module_name
Error (0):
Debug display of 'End of include':(0.108352) - (7306120)
Debug: (0.108979) - (7272888)
Session found. Moving on...Debug: (0.109098) - (7274272)
Session found. Moving on...Debug: (0.11091) - (7368184)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.111673) - (7369600)
(mysql): SELECT DISTINCT permission_name FROM cms_user_groups ug INNER JOIN cms_group_perms gp ON gp.group_id = ug.group_id INNER JOIN cms_permissions p ON p.permission_id = gp.permission_id WHERE ug.user_id = '1'
Error (0):
Debug: (0.112221) - (7370752)
(mysql): SELECT preference, value FROM cms_userprefs WHERE user_id = '1'
Error (0):
Debug: (0.114236) - (7471456)
(mysql): SELECT template_id, template_name, template_content, stylesheet, encoding, active, default_template, modified_date FROM cms_templates WHERE template_id = '19'
Error (0):
Debug: (0.120512) - (7998184)
Session found. Moving on...Debug: (0.120651) - (7998584)
Session found. Moving on...Debug: (0.123215) - (8146992)
Session found. Moving on...Debug: (0.123565) - (8146368)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.124798) - (8165392)
Session found. Moving on...Debug: (0.125105) - (8164872)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.126627) - (8187040)
Session found. Moving on...Debug: (0.126952) - (8186392)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.127411) - (8189304)
Session found. Moving on...Debug: (0.127659) - (8187360)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.128691) - (8200064)
Session found. Moving on...Debug: (0.128988) - (8199096)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.129632) - (8215272)
Session found. Moving on...Debug: (0.129901) - (8213104)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.130326) - (8216120)
Session found. Moving on...Debug: (0.130588) - (8214208)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.131025) - (8217056)
Session found. Moving on...Debug: (0.131272) - (8214888)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.132245) - (8225632)
Session found. Moving on...Debug: (0.13255) - (8224344)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.133715) - (8233560)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.134031) - (8234096)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.134281) - (8234376)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.136227) - (8344304)
(mysql): SELECT htmlblob_id FROM cms_additional_htmlblob_users WHERE user_id = '1'
Error (0):
Debug: (0.136556) - (8345728)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.136869) - (8345776)
(mysql): SELECT content_id FROM cms_content WHERE owner_id = '1'
Error (0):
Debug: (0.137223) - (8347240)
(mysql): SELECT user_id,content_id FROM cms_additional_users
Error (0):
Debug: (0.137467) - (8347360)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.137708) - (8347728)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.137953) - (8348032)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.138196) - (8348424)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.138441) - (8348728)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.138685) - (8349032)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.13893) - (8349416)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.139175) - (8349720)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.139419) - (8350024)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.139683) - (8350504)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.13993) - (8350896)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.140171) - (8351248)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.140412) - (8351552)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.140662) - (8352056)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.140903) - (8352408)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.141142) - (8352712)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.141386) - (8353176)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.141627) - (8353592)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.141872) - (8354168)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.142122) - (8354808)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.142387) - (8355888)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.142632) - (8356328)
(mysql): SELECT ug.user_id FROM cms_user_groups ug
WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):
Debug: (0.149106) - (8511280)
(mysql): SELECT bookmark_id, user_id, title, url FROM cms_admin_bookmarks WHERE user_id = '1' ORDER BY title
Error (0):
Debug: (0.156154) - (8518712)
(mysql): SELECT count(*) AS count FROM cms_templates WHERE stylesheet is not null and stylesheet != ''
Error (0):
Debug: (0.156363) - (8521752)
Session found. Moving on...
Re: "could not save:400 -- bad request -- ",only when I try to save templates
Posted: Fri May 30, 2008 6:47 am
by alby
dscheff wrote:
I am getting the 400 badf request error when trying to save chenges to templates. Here is my debug dump:
Probably this is the second page ( I don't see any UPDATE/INSERT).
Check your server logs because, maybe, is a close mod_security of your host
Alby