Page 1 of 1
Preview doesn't work
Posted: Mon Apr 23, 2007 7:07 pm
by Chris
Hi All,
The preview of my CMSMS / FCKEditorX doesn't work. I updated the FCKEditor X to module version 1.0.3 but no luck. Anyone any ideas??????
THanks in advance,
Chris
Re: Preview doesn't work
Posted: Mon Apr 23, 2007 7:50 pm
by Cutter
Same problem here. I posted about this
here.
Re: Preview doesn't work
Posted: Mon Apr 23, 2007 8:17 pm
by Chris
Maybe, maybe not. The preview works but shows the old content not the new edited content. It seams to work in 1.0.4, but I'm using 1.0.2 Multi language branch. The FCKeditor update fixed some issues but not all.
Any ideas are appreseated.
Re: Preview doesn't work
Posted: Wed Apr 25, 2007 8:40 am
by Chris
Anyone any Ideas ...
PLEASE
Re: Preview doesn't work
Posted: Wed Apr 25, 2007 10:26 am
by Chris
I've found an interesting think. It seams to work in version 0.13 Canary (TinyMCE) which I use on another domein at the same server. The server runs LAMP (Linux Fedora, Apache, MySQL and PHP).
Could it be in the way session vars are being handled on the server ? I assume when the preview button is pushed the temp content is being stored in some sort of var (I guess a Session var), this value is used by FCKeditor to show the preview. If this value is not set i maybe uses the old content from the DB.

?
o... And I see this error sometimes...
Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0
Does this help?
Re: Preview doesn't work
Posted: Wed Apr 25, 2007 10:56 am
by Pierre M.
Chris wrote:
I see this error sometimes...
Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3.
http://wiki.cmsmadesimple.org/index.php ... quirements
CMSms requires PHP 4.3+. If you have PHP 4.2 you are below the requirement.
Pierre M.
Re: Preview doesn't work
Posted: Wed Apr 25, 2007 11:12 am
by Chris
Thanks for the reply Pierre, I checked and I'm using:
Apache/2.0.50 (Fedora)
PHP Version 4.3.8
(register_globals are Off)
MySQL - Client API version - 3.23.58
Is it possible that there are register_globals needed in this version? It would be strange.. I use 1.0.3 of the FCKEditor module. with CMSMS 1.0.2 Multilanguage Build 3
Thanks in advance!
Re: Preview doesn't work
Posted: Wed Apr 25, 2007 4:08 pm
by Pierre M.
May be a virtualhosting problem, as it works for one domain and not the other one on the same server ? Please check that both domains are treated the same way by Apache.
Pierre M.
Re: Preview doesn't work
Posted: Wed Apr 25, 2007 4:11 pm
by Pierre M.
Chris wrote:
... CMSMS 1.0.2 Multilanguage Build 3
It could be this : a bug in the MLE fork. Unfortunately only the MLE folks can answer your questions.
Pierre M.
Re: Preview doesn't work
Posted: Wed Apr 25, 2007 6:51 pm
by Chris
OK, could be the Fork ,not the vhosts since I debugged the CMS initially in the same dir.. Anyone a good idea on where to start debugging the MLE build? Or has anyone experience which would prove this theory wrong or right?
Thanks ...