Page 1 of 1

[SOLVED] Creating new page error

Posted: Fri Jan 18, 2013 8:37 pm
by kembl
Solved by Jo Morg, see answer there http://forum.cmsmadesimple.org/viewtopi ... =3&t=64546

-----------------------------------------
Hello, developers! :)

After update to version 1.11.4 "Fernandina" (and all modules was updated also), had got strange bug - cant create new pages and even edit old! ???

Deep debug show that problem in file "class.Smarty_Parser.php" on line 288:

[removed by editor]

When I was try to create new page, at this line, php 5.3.20 was seems lost its output buffer with no message or any other log lines in any log files (my error mode E_ALL). "try catch" also have no effect in this situation. I think this is definitely not bad smarty tags formatting, cause this is new page. Also, I have no modules, which may change new page.

As result of this error no edit page interface shows at all. No tabs, not content type selector, no text area for edit page content, no submit button. Only clear gray area :)

:) Workaround:

[removed by editor]

I wonder if some one found more better solution :)

My OS CenOS 5.8
My settings:

Code: Select all

CMS Version 		1.11.4

Installed Modules
CMSMailer 		5.2.1
FileManager 		1.4.3
MenuManager 		1.8.5
ModuleManager 		1.5.5
FEmessages 		1.1
Printing 		1.1.2
Search 		1.7.7
ThemeManager 		1.1.7
TinyMCE 		2.9.12
Cataloger 		0.11.3
FrontEndUsers 		1.21.2
CGExtensions 		1.31.3
Album 		1.10-beta2
Uploads 		1.14.4
Statistics 		1.1.3
FLVPlayer 		1.0.3
Captcha 		0.4.5
NMS 		2.3.8
SelfRegistration 		1.7.3
FrontEndUsersComments 		0.1
FeuPermissions 		0.1
Smileys 		0.9.0
News 		2.12.10
CMSPrinting 		1.0.3
MicroTiny 		1.2.5
FormBuilder 		0.7.3


CMS Config Settings
php_memory_limit 		 
process_whole_template 		 
output_compression 		 
max_upload_size 		25000000
url_rewriting 		mod_rewrite
page_extension 		.html
query_var 		page
image_manipulation_prog 		GD
auto_alias_content 		true
locale 		 
default_encoding 		utf-8
admin_encoding 		utf-8
set_names 		true
debug 		true 

Current PHP Version (phpversion) 	Success 	 5.3.20 

Re: [Workaround] Creating new page error

Posted: Fri Jan 18, 2013 8:52 pm
by Jos
Or simply update MenuManager

Re: [Workaround] Creating new page error

Posted: Fri Jan 18, 2013 9:34 pm
by kembl
Jos wrote:Or simply update MenuManager
Hmm, but it not outdated! I lost my modules versions at the bottom of previous post :)

My: MenuManager 1.8.5

there: http://dev.cmsmadesimple.org/project/files/133

i see equal version 1.8.5

Thanx for your guessing :)

Re: [Workaround] Creating new page error

Posted: Fri Jan 18, 2013 11:44 pm
by chandra
kembl wrote:
Jos wrote:Or simply update MenuManager
Hmm, but it not outdated!
You have to modify the MenuManager sources manually

http://viewsvn.cmsmadesimple.org/diff.p ... efault.php&

or load (newer) SVN version (it's not the same like in your link)

Re: [Workaround] Creating new page error

Posted: Sat Jan 19, 2013 12:55 am
by Jo Morg
chandra wrote:
kembl wrote:
Jos wrote:Or simply update MenuManager
Hmm, but it not outdated!
You have to modify the MenuManager sources manually

http://viewsvn.cmsmadesimple.org/diff.p ... efault.php&

or load (newer) SVN version (it's not the same like in your link)
.... I may very well be barking at the wrong tree, but... I have both updated sites from 1.0.x up until the latest and 1.11.4 installed fresh and all working fine. Menu Manager isn't updated in the core release of 1.11.4 so it should be updated to 1.8.5 (the latest). No other modifications are needed neither recommended except for this, which comes from someone from the developer team.
If neither of these fixes solve your problem then you may consider a Bug Report with every steps needed to reproduce your issue.
I'm referring this just because the type of error you are reporting has been fixed (or so it seems), and there are several forum threads with solutions to that particular problem without having to "hack" the code which is not supported AFAIK.

Re: [Workaround] Creating new page error

Posted: Sat Jan 19, 2013 1:56 pm
by kembl
Hello, Jo Morg!

You are the best! This was exactly {stylesheet} issue!

Thank you!


Hi, Chandra!

>You have to modify the MenuManager sources manually
>http://viewsvn.cmsmadesimple.org/diff.p ... efault.php&
>
>or load (newer) SVN version (it's not the same like in your link)[/quote]

I was check my action.default.php file, it is equal to last file in SVN (version 245), also it equal to file from gzip in 1.8.5 version from http://dev.cmsmadesimple.org/project/files/133

So, I do not understand you :) All files are equal - your, my, and from MenuManager-1.8.5.tar.gz :)