Problem with FCKEditor
I want to add the FCKEditor to a Cake project. But with every FCKHelper I use, I run into the same problem... It appear to work, however the FCKEditor does not load correctly. The iframe does appear, but the fckeditor.html is not loaded. Apparently it does not exist... Looking at it with Firebug, I get two GET requests for the fckeditor.html on two different locations, that obviously are not going to get the file. First location: http://localhost/js/fckeditor/editor/fckeditor.html?InstanceName=data[MediaCoverage][content]&Toolbar=Default Response: 404 Not Found Not Found The requested URL /js/fckeditor/editor/fckeditor.html was not found on this server. Apache/2.2.9 (Unix) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h PHP/ 5.2.6 mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0 Server at localhost Port 80 Second location: http://localhost/opt/lampp/htdocs/xampp/www/workspace/CakeMSC/app/webroot/js/fckeditor/editor/fckeditor.html?InstanceName=data[MediaCoverage][content]&Toolbar=Default Response: 404 Not Found Not Found The requested URL /opt/lampp/htdocs/xampp/www/workspace/CakeMSC/app/ webroot/js/fckeditor/editor/fckeditor.html was not found on this server. Apache/2.2.9 (Unix) DAV/2 mod_ssl/2.2.9 OpenSSL/0.9.8h PHP/ 5.2.6 mod_apreq2-20051231/2.6.0 mod_perl/2.0.4 Perl/v5.10.0 Server at localhost Port 80 Worse, the source of the iframe points at the correct location. And I can try as I want, with different ways to get the location, I always get those two GET requests... Please someone help me... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Problem with FCKEditor
Hello. I'm a newb in Baking Cakes. :p And I have a problem setting up the FCKEditor in Cake 1.2. I have used the code for setting up FCK from the Bakery (http:// bakery.cakephp.org/articles/view/using-fckeditor-with-cakephp) the version for 1.2 of course. Now I have the problem that the iframe outputs the layout of the page rather than the FCK editor. Of course I did some Google fu, to see if there was a solution and even looked into this group. I did find a two messages, but it did not really help, as the first message stated the problem I have as well, while the other message simply say '$this->layout = false'. I hope someone can help me here. - Warringer --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Problem with FCKEditor
Granted it is probably not Cake related, upgrading to the current stable version of Cake won't hurt.If you are having problems with your code like the original poster is upgrading eliminates the chance that a known bug in cake that has been fixed in the current release is not contributing to the problem. There were also security related fixes that would be wise to apply.It will also give you a chance to refactor portions of your code to look for possible causes to the problem. So you would be doing two things at once. Looking for bugs, and upgrading your project to apply bug fixes and security patches. On 9/9/06, Olivier Percebois-Garve <[EMAIL PROTECTED]> wrote: This is probably not directly cake related, but raher some param must bewrong.What method r u using ? Did you see my post on fck ?: http://groups.google.com/group/cake-php/browse_thread/thread/de6ecd314cb7597/22aa22e717f6e456?lnk=gst&q=fck&rnum=3#22aa22e717f6e456[EMAIL PROTECTED] wrote:> Hi, >> I am facing some problems with FCKeditor.>> I am trying to display the editor in my html page and I followed the> steps described in> http://wiki.cakephp.org/tutorials:online_editor-fckeditor>> I have used the same code that they given.> After changing the basepath in thtml file , I could able to display the> toolbar for the editor. But it is not displaying the text area. >> Any help ?>>> >>> --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Problem with FCKEditor
This is probably not directly cake related, but raher some param must be wrong. What method r u using ? Did you see my post on fck ?: http://groups.google.com/group/cake-php/browse_thread/thread/de6ecd314cb7597/22aa22e717f6e456?lnk=gst&q=fck&rnum=3#22aa22e717f6e456 [EMAIL PROTECTED] wrote: > Hi, > > I am facing some problems with FCKeditor. > > I am trying to display the editor in my html page and I followed the > steps described in > http://wiki.cakephp.org/tutorials:online_editor-fckeditor > > I have used the same code that they given. > After changing the basepath in thtml file , I could able to display the > toolbar for the editor. But it is not displaying the text area. > > Any help ? > > > > > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Problem with FCKEditor
First upgrade to the current version of Cake so that more people will be better able to help troubleshoot.On 9/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:Thanks for the reply.. But the textarea is not coming only the toolbar is coming .I am using cake 1.0.1.2708 version and I didn't use the bake.php.Any help ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Problem with FCKEditor
Thanks for the reply.. But the textarea is not coming only the toolbar is coming . I am using cake 1.0.1.2708 version and I didn't use the bake.php. Any help ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Re: Problem with FCKEditor
Maybe is better to work with newer code I try to give you my solution. I use cakephp 1.1.7 I create the table. (see tutorial) I configure config/database.php (see tutorial) I copy the files in section "Installing FCKeditor" (see tutorial) *** use the folder /vendor/ in the root. I use bake.php to generate the code for the model, controller and view. (see Building the Bakery on http://cakephp.org/screencasts) I use not interactively for the generation. I copy this code in a good location in /app/ (not other location) I change the controller >> function edit($id=null) { if(empty($this->data)) { $this->data = $this->Content->read(null, $id); >>> $this->set('data', $this->data); I copy from the tutorial the view contents/edit (see tutorial) I test... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---
Problem with FCKEditor
Hi, I am facing some problems with FCKeditor. I am trying to display the editor in my html page and I followed the steps described in http://wiki.cakephp.org/tutorials:online_editor-fckeditor I have used the same code that they given. After changing the basepath in thtml file , I could able to display the toolbar for the editor. But it is not displaying the text area. Any help ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~--~~~~--~~--~--~---