I just installed cms made simple 1.1.
When I tried to make a new template I get this error.
Bad Request
Your browser sent a request that this server could not understand.
Apache/2.0.59 (Unix) mod_ssl/2.0.59 OpenSSL/0.9.8e Server at www.ocf.berkeley.edu Port 80
I also get a similar error when I try to preview a page under content/page/edit page:
[solved] template problem
-
alchris
[solved] template problem
Last edited by alchris on Fri Aug 31, 2007 7:19 pm, edited 1 time in total.
-
Pierre M.
Re: template problem
Hello,
what do webserver logs say ?
what does debug mode say ? (please set debug to on in config.php)
Which "lights" weren't green during the install procedure ?
What is your web browser ?
Pierre M.
what do webserver logs say ?
what does debug mode say ? (please set debug to on in config.php)
Which "lights" weren't green during the install procedure ?
What is your web browser ?
Pierre M.
Re: template problem
What Pierre M you want a full explanation right off the bat?... 
-
alchris
Re: template problem
I am a novice at this so it took me a while to get a more detailed info about my problem.
ERROR MESSAGE ONE.
I get this error mesage when I click on reorder pages link, move up and down arrow and when I Edit Page and click preview.
Error: the server returned the following HTTP status: 400 recieved:
400 Bad Request
Bad Request
Your browser sent a request that this server could not understand.
Apache/2.0.59 (Unix) mod_ssl/2.0.59
OpenSSL/0.9.8e Server at www.ocf.berkeley.edu Port 80
ERROR MESSAGE TWO
I get this error mesage when I try create a new template.
Bad Request
Your browser sent a request that this server could not understand.
Apache/2.0.59 (Unix) mod_ssl/2.0.59 OpenSSL/0.9.8e Server at www.ocf.berkeley.edu Port 80
When I take out the line of code from a new template it works and no error message.
1. This is some of the errors in the server log.
[Wed Aug 22 17:57:11 2007] [error] [client 70.95.187.92] ModSecurity: Access denied with code 400 (phase 2). Pattern match "(?:\\\\bhttp.(?:0\\\\.9|1\\\\.[01])|"] [severity "ALERT"] [hostname "www.ocf.berkeley.edu"] [uri "/~bpr/cmsmadesimple-1.1/admin/addtemplate.php"] [unique_id "XtdNxMA63fMAADWdjuUAAAAO"]
[Thu Aug 23 14:07:08 2007] [error] [client 70.95.187.92] ModSecurity: Access denied with code 400 (phase 2). Pattern match "(?:\\\\bhttp.(?:0\\\\.9|1\\\\.[01])|"] [severity "ALERT"] [hostname "www.ocf.berkeley.edu"] [uri "/~bpr/cmsmadesimple-1.1/admin/listcontent.php"] [unique_id "RfCkgcA63fMAAG2oXI4AAAA0"]
[Thu Aug 23 14:09:17 2007] [error] [client 70.95.187.92] ModSecurity: Access denied with code 400 (phase 2). Pattern match "(?:\\\\bhttp.(?:0\\\\.9|1\\\\.[01])|"] [severity "ALERT"] [hostname "www.ocf.berkeley.edu"] [uri "/~bpr/cmsmadesimple-1.1/admin/listcontent.php"] [unique_id "TaHZx8A63fMAAGvG@xQAAAAM"]
[Thu Aug 23 14:11:13 2007] [error] [client 70.95.187.92] ModSecurity: Access denied with code 400 (phase 2). Pattern match "(?:\\\\bhttp.(?:0\\\\.9|1\\\\.[01])|"] [severity "ALERT"] [hostname "www.ocf.berkeley.edu"] [uri "/~bpr/cmsmadesimple-1.1/admin/editcontent.php?content_id=15&page="] [unique_id "VIN6LMA63fMAAArJTCQAAACy"]
2. I turned on debug mode and it doesn't say anything different. unless I don't know where to look.
3. When I installed there were 2 yellow light.
a. Checking PHP memory limit (min 8M, recommend 16M) I have 8
Could not retrieve a value.... passing anyways.
Displaying the value originally set in the config file (this may not be accurate).
You may not have enough memory to run CMSMS correctly, or with all of your desired addons. If
possible, you should try to get your system admin to raise this value. Proceed with caution.
This is what the system admin said: PHP memory limit is not configurable in our build of PHP 4. On the other hand, our PHP 5 is
currently configured with a memory limit of 128 MB, and you can raise this if needed in your own php.ini file; to use PHP 5, name your scripts with a .php5 extension
b. Checking max upload file size (min 2M, recommend 10M)
You will probably not be able to upload (larger) files using the included file management functions.
Please be aware of this restriction.
4. My web browser is firefox and safari
I appreciate any help you can offer
thank you.
ERROR MESSAGE ONE.
I get this error mesage when I click on reorder pages link, move up and down arrow and when I Edit Page and click preview.
Error: the server returned the following HTTP status: 400 recieved:
400 Bad Request
Bad Request
Your browser sent a request that this server could not understand.
Apache/2.0.59 (Unix) mod_ssl/2.0.59
OpenSSL/0.9.8e Server at www.ocf.berkeley.edu Port 80
ERROR MESSAGE TWO
I get this error mesage when I try create a new template.
Bad Request
Your browser sent a request that this server could not understand.
Apache/2.0.59 (Unix) mod_ssl/2.0.59 OpenSSL/0.9.8e Server at www.ocf.berkeley.edu Port 80
When I take out the line of code from a new template it works and no error message.
1. This is some of the errors in the server log.
[Wed Aug 22 17:57:11 2007] [error] [client 70.95.187.92] ModSecurity: Access denied with code 400 (phase 2). Pattern match "(?:\\\\bhttp.(?:0\\\\.9|1\\\\.[01])|"] [severity "ALERT"] [hostname "www.ocf.berkeley.edu"] [uri "/~bpr/cmsmadesimple-1.1/admin/addtemplate.php"] [unique_id "XtdNxMA63fMAADWdjuUAAAAO"]
[Thu Aug 23 14:07:08 2007] [error] [client 70.95.187.92] ModSecurity: Access denied with code 400 (phase 2). Pattern match "(?:\\\\bhttp.(?:0\\\\.9|1\\\\.[01])|"] [severity "ALERT"] [hostname "www.ocf.berkeley.edu"] [uri "/~bpr/cmsmadesimple-1.1/admin/listcontent.php"] [unique_id "RfCkgcA63fMAAG2oXI4AAAA0"]
[Thu Aug 23 14:09:17 2007] [error] [client 70.95.187.92] ModSecurity: Access denied with code 400 (phase 2). Pattern match "(?:\\\\bhttp.(?:0\\\\.9|1\\\\.[01])|"] [severity "ALERT"] [hostname "www.ocf.berkeley.edu"] [uri "/~bpr/cmsmadesimple-1.1/admin/listcontent.php"] [unique_id "TaHZx8A63fMAAGvG@xQAAAAM"]
[Thu Aug 23 14:11:13 2007] [error] [client 70.95.187.92] ModSecurity: Access denied with code 400 (phase 2). Pattern match "(?:\\\\bhttp.(?:0\\\\.9|1\\\\.[01])|"] [severity "ALERT"] [hostname "www.ocf.berkeley.edu"] [uri "/~bpr/cmsmadesimple-1.1/admin/editcontent.php?content_id=15&page="] [unique_id "VIN6LMA63fMAAArJTCQAAACy"]
2. I turned on debug mode and it doesn't say anything different. unless I don't know where to look.
3. When I installed there were 2 yellow light.
a. Checking PHP memory limit (min 8M, recommend 16M) I have 8
Could not retrieve a value.... passing anyways.
Displaying the value originally set in the config file (this may not be accurate).
You may not have enough memory to run CMSMS correctly, or with all of your desired addons. If
possible, you should try to get your system admin to raise this value. Proceed with caution.
This is what the system admin said: PHP memory limit is not configurable in our build of PHP 4. On the other hand, our PHP 5 is
currently configured with a memory limit of 128 MB, and you can raise this if needed in your own php.ini file; to use PHP 5, name your scripts with a .php5 extension
b. Checking max upload file size (min 2M, recommend 10M)
You will probably not be able to upload (larger) files using the included file management functions.
Please be aware of this restriction.
4. My web browser is firefox and safari
I appreciate any help you can offer
thank you.
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: template problem
ModSecurity says it all. I think you'll have to work with your web host to see about relaxing some of his mod_security rules.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.

