Page 1 of 1

Can't add or modify pages

Posted: Wed Oct 01, 2008 8:05 pm
by miba
Hi Yall'!

everything was workin' just fine about 4 days, and now works everything exept I can't edit or add new pages.

When I clilck on Edit geting this error
Not Found
The requested URL /admin/editcontent.php?content_id=51&page= was not found on this server.

and the url is

http://www.site.hr/admin/editcontent.ph ... d=51&page=. I think that missing something after "page=".

Please help.
Regards

Re: Can't add or modify pages

Posted: Thu Oct 02, 2008 5:43 am
by miba
Cms Version: 1.4.1

Installed Modules:

CMSMailer: 1.73.14
FileManager: 0.4.1
MenuManager: 1.5.1
ModuleManager: 1.2.1
News: 2.8.2
nuSOAP: 1.0.1
Printing: 0.2.5
Search: 1.5.1
ThemeManager: 1.0.8
TinyMCE: 2.4.5
Blogs: 0.3.0b2
Comments: 1.8.2
linkmanager: 0.3
FormBuilder: 0.5.3
Captcha: 0.3.1


Config Information:

php_memory_limit:
process_whole_template: true
max_upload_size: 16000000
default_upload_permission: 664
assume_mod_rewrite: false
page_extension:
internal_pretty_urls: false
use_hierarchy: false


Php Information:

safe_mode: Off (False)
phpversion: 5.2.6
memory_limit: 32M
max_execution_time: 30
gd_version: 2
session_save_path: /tmp (1777)


Server Information:

Server Api: cgi
Server Db Type: MySQL (mysql)
Server Db Version: 5.0.51a

Re: Can't add or modify pages

Posted: Thu Oct 02, 2008 10:18 am
by alby
miba wrote: everything was workin' just fine about 4 days, and now works everything exept I can't edit or add new pages.
Have you installed modules in this period?

Active debug in config.php and look in your server logs

Alby

Re: Can't add or modify pages

Posted: Thu Oct 02, 2008 10:38 am
by miba
no, I wasn't install anything. I dont know, I was set debug to true, and here's what he say:

Debug: (0.000117) - (1145720)

loading smarty

Debug: (0.004751) - (1565832)

loading adodb

Debug: (0.006893) - (1701072)

loading page functions

Debug: (0.009684) - (1938584)

loading content functions

Debug: (0.012998) - (2270384)

loading pageinfo functions

Debug: (0.014082) - (2317560)

loading translation functions

Debug: (0.015) - (2346472)

loading events functions

Debug: (0.016712) - (2480680)

loading php4 entity decode functions

Debug: (0.020283) - (2811528)

done loading files

Debug: (0.038617) - (3963776)


(mysql): SELECT sitepref_name, sitepref_value from cms_siteprefs
Error (0):

Debug: (0.043608) - (4079176)


(mysql): SELECT * FROM cms_userplugins
Error (0):

Debug: (0.070743) - (5035024)


(mysql): SELECT * FROM cms_modules WHERE active = 1 ORDER by module_name
Error (0):

Debug display of 'End of include':(0.137551) - (10569400)
Debug: (0.13772) - (10505600)

Session found.  Moving on...

Debug: (0.1378) - (10505808)

Session found.  Moving on...

Debug: (0.149151) - (11460192)

Session found.  Moving on...

Debug: (0.149841) - (11465272)


(mysql): SELECT preference, value FROM cms_userprefs WHERE user_id = '1'
Error (0):

Debug: (0.150068) - (11466728)

Session found.  Moving on...

Debug: (0.152031) - (11620984)

Session found.  Moving on...

Debug: (0.154381) - (11740768)


(mysql): SELECT ug.user_id FROM cms_user_groups ug
                     WHERE ug.user_id = '1' AND ug.group_id = 1
Error (0):

Debug: (0.154742) - (11743576)


(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.155346) - (11767232)

Session found.  Moving on...

Debug: (0.156513) - (11778312)

Session found.  Moving on...

Debug: (0.157758) - (11795864)

Session found.  Moving on...

Debug: (0.158038) - (11796240)

Session found.  Moving on...

Debug: (0.159316) - (11828384)

Session found.  Moving on...

Debug: (0.160232) - (11873688)

Session found.  Moving on...

Debug: (0.160483) - (11874176)

Session found.  Moving on...

Debug: (0.161625) - (11888368)

Session found.  Moving on...

Debug: (0.162142) - (11889360)

Session found.  Moving on...

Debug: (0.162391) - (11889840)

Session found.  Moving on...

Debug: (0.16264) - (11890272)

Session found.  Moving on...

Debug: (0.163639) - (11900288)

Session found.  Moving on...

Debug: (0.167057) - (12041568)


(mysql): SELECT htmlblob_id FROM cms_additional_htmlblob_users WHERE user_id = '1'
Error (0):

Debug: (0.167469) - (12042880)


(mysql): SELECT content_id FROM cms_content WHERE owner_id = '1'
Error (0):

Debug: (0.167732) - (12044160)


(mysql): SELECT user_id,content_id FROM cms_additional_users
Error (0):

Debug: (0.1749) - (12222120)


(mysql): SELECT bookmark_id, user_id, title, url FROM cms_admin_bookmarks WHERE user_id = '1' ORDER BY title
Error (0):

Debug display of 'Start Loading Hierarchy Manager':(0.17545) - (12205192)
Debug display of 'Load Content Operations':(0.175494) - (12205192)
Debug display of 'End Load Content Operations':(0.182066) - (12868688)
Debug display of 'starting tree':(0.18216) - (12869360)
Debug: (0.184919) - (13085528)


(mysql): SELECT id_hierarchy FROM cms_content ORDER BY hierarchy
Error (0):

Debug display of 'Start Loading Children into Tree':(0.185146) - (13088160)
Debug display of 'End Loading Children into Tree':(0.185364) - (13097256)
Debug: (0.185401) - (13097576)

Serializing...

Debug: (0.186037) - (13104336)


(mysql): SELECT * FROM cms_content WHERE parent_id = -1 ORDER BY hierarchy
Error (0):

Debug display of 'ending tree':(0.189226) - (13381376)
Debug display of 'End Loading Hierarchy Manager':(0.189311) - (13381976)
Debug: (0.196609) - (13475736)

Session found.  Moving on...

Debug: (0.196719) - (13475736)

Session found.  Moving on...

Debug: (0.199716) - (13595768)


(mysql): SELECT template_id, template_name, template_content, stylesheet, encoding, active, default_template, modified_date FROM cms_templates WHERE template_id = '22'
Error (0):

Debug: (0.200493) - (13603528)


(mysql): SELECT username, password, active, first_name, last_name, admin_access, email FROM cms_users WHERE user_id = '1'
Error (0):

Debug: (0.201885) - (13609320)


(mysql): SELECT template_id, template_name, template_content, stylesheet, encoding, active, default_template, modified_date FROM cms_templates WHERE template_id = '20'
Error (0):


hope you find something.
Thanks

Re: Can't add or modify pages

Posted: Thu Oct 02, 2008 10:55 am
by alby
miba wrote: hope you find something.
No, Error(0) is not error.
Look in your server logs when you call editcontent and try with System Verification if you have broken files

Alby

Re: Can't add or modify pages

Posted: Fri Oct 03, 2008 5:39 am
by miba
On server logs, also nothing. Nothing from admin panel, only rooth. It's intersting that, everything work's exept add or edit page's. What you think, maybe reinstal?

Re: Can't add or modify pages

Posted: Fri Oct 03, 2008 10:10 am
by alby
miba wrote: On server logs, also nothing. Nothing from admin panel, only rooth. It's intersting that, everything work's exept add or edit page's. What you think, maybe reinstal?
I had problem with editing and save template/stylesheet with mod_security rules very closed

Alby

Re: Can't add or modify pages

Posted: Fri Oct 03, 2008 4:17 pm
by miba
Here's what say from my host company - they resolve the problem.
"Specifically, I found in almost all
directories "strange" php files, which are false response header.
I assume that the files came through the upload component so I suggest that the disable that script."
- Copy Paste from Google Translate

So I think that script can be only for module upload.

Thanks and worm regards
http://www.miba.hr

[solved]Re: Can't add or modify pages

Posted: Fri Oct 03, 2008 4:19 pm
by miba
It's solved :)