purpletenspeed has asked for the wisdom of the Perl Monks concerning the following question:

Hi Everyone! I"m trying to use tinymce but I can't seem to get it to work in my cgi-bin. I'm not sure if my problem is a server issue or something i'm doing wrong with the code i'm adding. Does anyone have a simple barebones cgi script that I can use to test my server and also to build my script off of. Any help would be greatly appreciated! Thanks in advance! James
  • Comment on (OT) tinymce - anyone have an example script????

Replies are listed 'Best First'.
Re: (OT) tinymce - anyone have an example script????
by Corion (Patriarch) on Jan 23, 2011 at 19:24 UTC

    This has nothing to do with Perl. First get tinymce to work with a static HTML page, then try to get it to work with Perl.

    To attack the problem from the other side, get a plain CGI script that has nothing to do with TinyMCE, and see whether that works.

    If you already got both things to work, it's a matter of reading the TinyMCE documentation to find out what requests it sends to your script, and then a matter of looking at the webserver error log as to what goes wrong.

    This site is about problems with Perl, not problems with Javascript and HTML, so you're much more likely to find help with the second and third part of solving the problem. Where exactly do you have problems?

Re: (OT) tinymce - anyone have an example script????
by Your Mother (Archbishop) on Jan 23, 2011 at 19:29 UTC

    TinyMCE is JS, it doesn't need to be a server side executable or in your cgi-bin. If you're having a problem with CGI code you're writing to receive/send with TinyMCE, you'll get better help if you'd post the actual problem; code, errors, etc. Here is just one of the many jumping off places for troubleshooting: Troubleshooting Perl CGI scripts.

Re: (OT) tinymce - anyone have an example script????
by Anonymous Monk on Jan 23, 2011 at 19:20 UTC
Re: (OT) tinymce - anyone have an example script????
by Khen1950fx (Canon) on Jan 23, 2011 at 22:48 UTC