Page 1 of 1

New page not added

Posted: Wed Nov 05, 2008 11:58 pm
by xman
Hi,
i have problem with cmsms, in backend i add a new page, click send and it says that page is succesfully added, but page isnt added! Page isnt in db in backend, nowhere. I try to reinstall cms but no change, i try new db but no change, i have actually version of cmsms but this happend also in bevor version.

Can you help me, pls?

Re: New page not added

Posted: Thu Nov 06, 2008 8:45 am
by alby
xman wrote: i have problem with cmsms, in backend i add a new page, click send and it says that page is succesfully added, but page isnt added! Page isnt in db in backend, nowhere. I try to reinstall cms but no change, i try new db but no change, i have actually version of cmsms but this happend also in bevor version.
enable debug in config.php and check in your error logs, maybe you have more infos

Alby

Re: New page not added

Posted: Thu Nov 06, 2008 1:37 pm
by xman
Debug is on. Redirecting disabled... Please click this link to continue.
http://www.beg.sk/admin/listcontent.php ... ntentadded

DELETE FROM cms_content_props WHERE content_id = ? AND prop_name = ?

INSERT INTO cms_content_props ( content_id, type, prop_name, param1, param2, param3, content, modified_date ) VALUES ( ?,?,?,'','','',?,'2008-11-06 14:35:58' )

DELETE FROM cms_content_props WHERE content_id = ? AND prop_name = ?

INSERT INTO cms_content_props ( content_id, type, prop_name, param1, param2, param3, content, modified_date ) VALUES ( ?,?,?,'','','',?,'2008-11-06 14:35:58' )

DELETE FROM cms_content_props WHERE content_id = ? AND prop_name = ?

INSERT INTO cms_content_props ( content_id, type, prop_name, param1, param2, param3, content, modified_date ) VALUES ( ?,?,?,'','','',?,'2008-11-06 14:35:58' )

DELETE FROM cms_content_props WHERE content_id = ? AND prop_name = ?

INSERT INTO cms_content_props ( content_id, type, prop_name, param1, param2, param3, content, modified_date ) VALUES ( ?,?,?,'','','',?,'2008-11-06 14:35:58' )

DELETE FROM cms_content_props WHERE content_id = ? AND prop_name = ?

INSERT INTO cms_content_props ( content_id, type, prop_name, param1, param2, param3, content, modified_date ) VALUES ( ?,?,?,'','','',?,'2008-11-06 14:35:58' )

DELETE FROM cms_content_props WHERE content_id = ? AND prop_name = ?

INSERT INTO cms_content_props ( content_id, type, prop_name, param1, param2, param3, content, modified_date ) VALUES ( ?,?,?,'','','',?,'2008-11-06 14:35:58' )
Debug: (9.0000000000368E-6) - (557128)

loading smarty....

Re: New page not added

Posted: Thu Nov 06, 2008 5:13 pm
by Pierre M.
Hello,
xman wrote: i have problem with cmsms, in backend i add a new page, click send and it says that page is succesfully added, but page isnt added! Page isnt in db in backend, nowhere. I try to reinstall cms but no change, i try new db but no change, i have actually version of cmsms but this happend also in bevor version.
Please provide your System Info. And any other relevant context info.
Pierre M.

Re: New page not added

Posted: Thu Nov 06, 2008 5:38 pm
by xman
CMS Version

1.4.1

PHP Information:

PHP Safe Mode (safe_mode):

On (True) Caution

Current PHP Version (phpversion):

5.2.4 Success

PHP Effective Memory Limit (memory_limit):

1024M Success

Maximum Execution Time (max_execution_time):

5 Failure

GD version (gd_version):

2 Success

Session Save Path (session_save_path):

No check because open basedir active Caution

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

Success

PHP Open Basedir (open_basedir):

/domains/beg.sk/public:/domains1/gh297400/public:/tmp Caution
Open basedir restrictions are in effect. You may have difficulty with some addon functionality with this restriction

Maximum Post Size (post_max_size):

8M Caution

Maximum Upload Size (upload_max_filesize):

2M Caution
Server Information:

Server API (server_api):

apache2handler

Server Database (server_db_type):

MySQL (mysql)

Server Database Version (server_db_version):

5.0.45 Success

Server Software (server_software):

Apache

Server Operating System (server_os):

Linux 2.6.22-vs2.2.0.6-gentoo On i686

Permission Information

tmp:

/domains1/gh297400/public/www_root/tmp (0705) Failure

templates_c:

/domains1/gh297400/public/www_root/tmp/templates_c (0777) Success

modules:

/domains1/gh297400/public/www_root/modules (0777) Success

File Creation Mask (umask):

/domains1/gh297400/public/www_root/tmp/cache (0777) Success

config_file:

0666

Re: New page not added

Posted: Fri Nov 07, 2008 4:13 pm
by Pierre M.
xman wrote: PHP Safe Mode (safe_mode):

On (True) Caution

Maximum Execution Time (max_execution_time):

5 Failure

Permission Information

tmp:

/domains1/gh297400/public/www_root/tmp (0705) Failure
Too many wierd things at once. You don't match the requirements.

Pierre M.

Re: New page not added

Posted: Sat Nov 08, 2008 1:06 pm
by xman
Maximum Execution Time is now 30s and permission is set good but still not working  >:(

Re: New page not added

Posted: Sat Nov 08, 2008 2:40 pm
by Pierre M.
Pierre M. wrote:
xman wrote: PHP Safe Mode (safe_mode): On
...
Too many wierd things at once. You don't match the requirements.

Pierre M.
Please read the documentation before buging support.
Pierre M.

Re: New page not added

Posted: Tue Nov 11, 2008 1:45 pm
by xman
Safe mode is now off but still not working  :'(

Re: New page not added

Posted: Tue Nov 11, 2008 2:53 pm
by alby
If page isn't in db you must check:
- error logs for errors that denies the values for query (for example, but in general you have a 404/500 error with mod_security)
- error in DB (missing field, no INSERT permission, ..) so CMSMS cannot write content in DB, with debug enable look for query:
INSERT INTO cms_content ..... -> add page
UPDATE cms_content_seq ..... -> next ID
INSERT INTO cms_content_props ..... -> add content

Alby