Page 1 of 2

[SOLVED] Problem with updating pages-submit and apply redirect to main site page

Posted: Thu Jul 02, 2009 6:36 am
by geometrikal
Hi all,

Further to my post: http://forum.cmsmadesimple.org/index.php/topic,35122.msg165902.html#msg165902

Updating pages and some other basic admin functions where "submit" or "apply" doesn't work. For example, if I modify a page and press submit, it simple loads the main site page. Going back into the admin pages I find the modifications haven't stuck.

Any ideas on the problem or a method of trouble shooting?

Thanks
Ross

Re: Problem with updating pages - submit and apply redirect to main site page

Posted: Fri Jul 03, 2009 6:23 am
by Jeff
edit your config.php file and set debug to true.

Re: Problem with updating pages - submit and apply redirect to main site page

Posted: Fri Jul 03, 2009 7:09 am
by geometrikal
No luck. Still does the same thing - spits me out to the main page, just with debug info for the main page now. Why would it redirect me to the main page??

Re: Problem with updating pages - submit and apply redirect to main site page

Posted: Fri Jul 03, 2009 11:55 am
by Jeff
have you checked the http error logs?

Re: Problem with updating pages - submit and apply redirect to main site page

Posted: Fri Jul 03, 2009 11:58 am
by geometrikal
Hi ajprog,

How do I check the http error logs?

I just installed a brand new 1.6 CMSMS in a new directory and the same prolem exists... It must be a site problem... ahhh

Re: Problem with updating pages - submit and apply redirect to main site page

Posted: Fri Jul 03, 2009 12:09 pm
by geometrikal
cPanel shows no errors in error log either

Re: Problem with updating pages - submit and apply redirect to main site page

Posted: Fri Jul 03, 2009 1:50 pm
by geometrikal
By the way here is the system information for a brand new 1.6 site (same problem)

Site Admin » System Information

You have 2 unhandled notifications



View Text Report (suitable for copying into forum posts)
System Information Help (new window)
The information displayed below is collected from a variety of locations, and summarized here so that you may be able to conveniently find some of the information required when trying to diagnose a problem or request help with your CMS Made Simple installation.
CMS Install Information:

CMS Version

1.6

Installed Modules

CMSMailer

1.73.14

FileManager

1.0

MenuManager

1.6

ModuleManager

1.3

News

2.10

nuSOAP

1.0.1

Printing

1.0

Search

1.6.1

ThemeManager

1.1.1

TinyMCE

2.5.0

Config Information

php_memory_limit:

 

process_whole_template:

false

max_upload_size:

2000000

default_upload_permission:

664

assume_mod_rewrite:

false

page_extension:

 

internal_pretty_urls:

false

use_hierarchy:

true

debug:

false

output_compression:

false

root_url:

http://www.reefencounters.org/cmsms_v2

root_path:

/home/reef/public_html/cmsms_v2 (0755) 

previews_path:

/home/reef/public_html/cmsms_v2/tmp/cache (0755) 

uploads_path:

/home/reef/public_html/cmsms_v2/uploads (0755) 

uploads_url:

http://www.reefencounters.org/cmsms_v2/uploads

image_uploads_path:

/home/reef/public_html/cmsms_v2/uploads/images (0755) 

image_uploads_url:

http://www.reefencounters.org/cmsms_v2/uploads/images

use_smarty_php_tags:

false

locale:

 

default_encoding:

utf-8

admin_encoding:

utf-8
PHP Information:

Current PHP Version (phpversion):

4.4.7 

md5 function (md5_function):

On (True) 

GD version (gd_version):



tempnam function (tempnam_function):

On (True) 

Magic quotes in runtime (magic_quotes_runtime):

Off (False) 

PHP Effective Memory Limit (memory_limit):

32M 

Maximum Execution Time (max_execution_time):

30 

PHP Safe Mode (safe_mode):

Off (False) 

Session Save Path (session_save_path):

/tmp (1777) 

Checking if the httpd process can create a file inside of a directory it created (create_dir_and_file):



PHP register_globals (register_globals):

Off (False) 

PHP output_buffering (output_buffering):

On 

disable_functions in PHP (disable_functions):

 

PHP Open Basedir (open_basedir):

 

Test for remote URL (test_remote_url):


fsockopen: Connection ok! 
fopen: Connection ok! 

File uploads (file_uploads):

On (True) 

Maximum Post Size (post_max_size):

8M 

Maximum Upload Size (upload_max_filesize):

2M 

Basic XML (expat) support (xml_function):

On (True) 

Test file_get_contents (file_get_contents):

On (True) 

Test ini_set (check_ini_set):

On (True) 
Server Information:

Server API (server_api):

cgi 

Server Database (server_db_type):

MySQL (mysql) 

Server Database Version (server_db_version):

5.0.81 

Server Software (server_software):

Microsoft-IIS/6.0 

Server Operating System (server_os):

Linux 2.6.28.6-VISION On i686 

Permission Information

tmp:

/home/reef/public_html/cmsms_v2/tmp (0755) 

templates_c:

/home/reef/public_html/cmsms_v2/tmp/templates_c (0755) 

modules:

/home/reef/public_html/cmsms_v2/modules (0755) 

File Creation Mask (umask):

/home/reef/public_html/cmsms_v2/tmp/cache (0755) 

config_file:

0644 
config.php writable. It is more safe if you change permission to read-only


« Back to Menu
CMS Made Simple 1.6 "New Caledonia"
CMS Made Simple is free software released under the General Public Licence.

Re: Problem with updating pages - submit and apply redirect to main site page

Posted: Mon Jul 06, 2009 6:26 am
by geometrikal
No more ideas?  :)    :'(

Re: Problem with updating pages - submit and apply redirect to main site page

Posted: Mon Jul 06, 2009 4:59 pm
by Pierre M.
geometrikal wrote: By the way here is the system information for a brand new 1.6 site (same problem)

Server Software (server_software):
Microsoft-IIS/6.0 

Server Operating System (server_os):
Linux 2.6.28.6-VISION On i686 
IIS on Linux... funny how CMSms 1.6 is amasing ;-)
Pierre

Re: Problem with updating pages - submit and apply redirect to main site page

Posted: Mon Jul 06, 2009 5:13 pm
by Jeff

Re: Problem with updating pages - submit and apply redirect to main site page

Posted: Fri Jul 10, 2009 4:27 am
by geometrikal
so far no luck... i made the changes described but it didn't fix anything

Re: Problem with updating pages - submit and apply redirect to main site page

Posted: Fri Jul 10, 2009 5:02 am
by geometrikal
also i find out it really is apache that is running, not IIS

Re: Problem with updating pages - submit and apply redirect to main site page

Posted: Mon Jul 13, 2009 12:19 am
by geometrikal
SOLVED - The web hosting company changed some security setting. Also made other cmses like ModX not work

Re: [SOLVED] Problem with updating pages-submit and apply redirect to main site page

Posted: Mon Jul 13, 2009 1:56 am
by Jeff
Any chance you know what settings? Incase other people have the same problem.

Re: [SOLVED] Problem with updating pages-submit and apply redirect to main site page

Posted: Mon Jul 13, 2009 3:09 am
by geometrikal
Yes, I just received a reply from the tech support:
We have implemented mod_security on the server which was causing problem to your site. Please let us know if we can assist you further.
Perhaps CMSMS could check for mod_security? Is that even possible?

Thanks for all the replies