Minor problem with tinyMCE
|
8 posts
|
I’ve installed tinyMCE and everything seems to work fine, but the configuration details I entered on the tinyMCE tab have “vanished” (i.e. don’t show up in the various fields in the form). Shouldn’t this display the existing (saved) values? |
|
651 posts
|
Yes it should. What PHP and DB versions are you using? Can you check tinymce’s database table to see what is in it? Have you tried turning on DEBUG in config.php? |
|
31 posts
|
Hi peter_b (if you’re still listening) and mvdkleijn. I’m having the same problem. The values are stored fine in de database. I’m using PHP 5.2.6 and MySQL server 5.0.51b When running in debug mode it throws the following warning and notices, I’m to much of a noob to solve this myself though. :(
|
|
8 posts
|
Hi. Sorry about the delay in replying, but the day job has been hectic over the past few weeks. I’m running XAMPPLITE 1.4.6 (PHP 5.0.5, mySQL 4.1.14). The tinymce table is empty (0 rows). With debug on I get the following messages when I go to the tinymce tab: and these if I enter data and click on save: Although I see the message that the data has been saved the tinymce table still has 0 rows. |
|
8 posts
|
I tried deactivating tinymce then reactivating it, but still no joy. I’ve now managed to get it to work by manually inserting a row in the tinymce table using myphpadmin (with all fields set to the default values). It now saves the values I enter and shows them in the tinymce tab. But I don’t know why it didn’t install correctly in the first place. |
|
651 posts
|
peter_b.. sorry for not responding sooner. I’ll be overhauling the tinymce plugin anyway, so hopefully stuff like this will be resolved in the new version. |
|
191 posts
|
mvdkleijn, I admit I haven’t installed the tinyMCE plugin, but wanted to implement it for a current web project. Based on some of the posts I’ve read on the forums, I’ve been a bit hesitant. I should say I’ve probably been influenced more by struggles some users have reported, and probably need to hear from/talk to Frog users who have successfully used tinyMCE. Am I being overly cautious? |
|
651 posts
|
A bit yes. :-) Assuming you’re using MySQL, you should be fine. The plugin is a bit biased towards the DB insofar that it currently only takes MySQL into account. The documentation is complete and mentions everything you need to do to get it up-and-running. There have been some reports about problems, but these were mostly related to local testing installations based on Xampp/Wamp like systems. The current TinyMCE plugin is working very nicely on a large number of systems and I’m using it myself very successfully. If you’re still in doubt: the latest version (1.3.0) has been downloaded 567 times. Compared to that, I’m seeing very few problems mentioned. Besides, it costs maybe 10 minutes to try it out? |
|
191 posts
|
Thanks mvdkleijn for the quick response. I’ll give it a go this week on my development server. |
|
31 posts
|
I use the TinyMCE plugin and added Tinybrowser to it. It’s a very nice file brower with support for multiple folders; it’s nice |
|
651 posts
|
Hey Tunnis… I didn’t know about this one :-D. Looks good though! I’ll see if I can’t add this to the next release of the TinyMCE plugin for Frog. :-) Thanks for the info. |
|
31 posts
|
That could be a very nice addition mvdkleijn. I think most people interested in Tinymce will appreciate it. I’m using Tinybrowser 1.40 beta 3 and didn’t have any problems with it so far. Tinybrowser Google group (where one can find the beta) |
|
191 posts
|
I finally downloaded and installed the TinyMCE plugin, and immediately encountered the same issue of the values vanishing in the TinyMCE configuration page. Did anyone find a resolution for the issue? I’m using PHP 5.28 and MySQL 5.0.67. The tinymce table exists, and the 1 record has the correct values for the imagesdir, imagesuri, and cssuri. Opening a page with the TinyMCE editor selected doesn’t show any of the styles from the CSS style sheet in the dropdown menu. I’ve spent about an hour trying to resolve the issue, and reviewed forum posts and explanations, but haven’t found any solutions. Suggestions? Question: on the plugin page on Martijn’s site, it says it’s best to disable Markdown and Textile, but the readme.txt doesn’t mention any disabling. Is it best practice to disable Markdown and Textile when enabling TinyMCE? |
|
191 posts
|
Follow up – when I edit a page in Firefox 3.05 or Opera 9.61 under Windows Vista, the TinyMCE toolbar displays. When I edit a page in IE7 under Windows Vista, the TinyMCE toolbar doesn’t display. |
|
31 posts
|
As far as i know there’s no solution atm for the disappearing values in the config page. Maybe this will be resolved if mvdkleijn releases a new version. About CSS: I think you have to manually add your desired classes in tiny_init.js , like so:
Where the first value is the text you’ll see in dropdown and second the corresponding classname from your css sheet. Maybe it’s possible to configure tinymce to autodetect your classes but for me thats not desirable seeing i’ve got lots of classes that are not relevant for text editing. |
|
191 posts
|
Tunnis, Thanks for the response. I’ll follow up on the classes. Somehow I thought that TinyMCE would display the CSS classes in the dropdown menu. Do you have TinyMCE running in IE7? I can’t get it to display the toolbar in IE7 under Vista. Firefox and Opera display the toolbar. |
|
191 posts
|
Still having problems getting TinyMCE to work in IE7 in both Windows XP and Windows Vista, the TinyMCE toolbar doesn’t display. The tinymce table exists and it contains 1 record. Turning debug on in the config file results in the similar warning messages peter_b and Tunnis reported above: Warning: PDOStatement::execute() expects parameter 1 to be array, string given in /home/xxx/public_html/xxxxx/frogmovement/frog/plugins/tinymce/TinymceController.php on line 42 Notice: Trying to get property of non-object in /home/xxxxx/public_html/xxx/frogmovement/frog/plugins/tinymce/TinymceController.php on line 48 Notice: Trying to get property of non-object in /home/xxxxx/public_html/xxx/frogmovement/frog/plugins/tinymce/TinymceController.php on line 49 Notice: Trying to get property of non-object in /home/xxxxx/public_html/xxx/frogmovement/frog/plugins/tinymce/TinymceController.php on line 50 Notice: Trying to get property of non-object in /home/xxxxx/public_html/xxx/frogmovement/frog/plugins/tinymce/TinymceController.php on line 51 Notice: Trying to get property of non-object in /home/xxxxx/public_html/xxx/frogmovement/frog/plugins/tinymce/TinymceController.php on line 52 Forgive my ignorance, but what do these warning and notice messages mean, and what changes do I need to make to make to resolve them? I’ve searched online for the warning message text, but wasn’t able to find anything definitive to help me. There are lots of references to the “trying to get property of non-object” message, but I don’t know know what steps to take to resolve these messages. |
|
191 posts
|
Any suggestions on what is causing the warning message, and subsequent notice messages to display? I’ve resolved the issue of TinyMCE not working in IE7 in Windows XP/Vista, but still haven’t found any solution to what is causing the warning message to display. Advice? |
|
4 posts
|
I am having the exact same problem as redcrew with Frog 0.9.4 + tinymce plugin 1.3.0 Did anyone ever find out what was causing this issue? Thank you! Here is the error I receive when I click on the tinymce tab within the admincp: Warning: PDOStatement::execute() expects parameter 1 to be array, string given in /var/www/html/frog/plugins/tinymce/TinymceController.php on line 42 Notice: Trying to get property of non-object in /var/www/html/frog/plugins/tinymce/TinymceController.php on line 48 Notice: Trying to get property of non-object in /var/www/html/frog/plugins/tinymce/TinymceController.php on line 49 Notice: Trying to get property of non-object in /var/www/html/frog/plugins/tinymce/TinymceController.php on line 50 Notice: Trying to get property of non-object in /var/www/html/frog/plugins/tinymce/TinymceController.php on line 51 Notice: Trying to get property of non-object in /var/www/html/frog/plugins/tinymce/TinymceController.php on line 52 |
|
2 posts
|
Same here. Frog 0.9.4, tinymce plugin 1.3.0, PHP 5.2.9, MySQL 5.0.54 If I disable PDO in config.php, the configuration page errors disappear and settings are fetched/displayed without issue. Are there any negative side effects from using regular mysql instead of pdo_mysql? Thanks! |
|
2 posts
|
This issue also exists with Frog 0.9.5rc1, and there may be other minor issues with the plugin with 0.9.5 ( ie. I had to modify a path in line 19 of tinymce/TinymceController.php ). |
|
651 posts
|
@mta – If you had to alter a path, then you’re not using the appropriate plugin version of TinyMCE for the Frog release. Frog 0.9.4 – TinyMCE plugin 1.3.0 I would suggest you use TinyMCE release 2.0.0 RC 1 since that was a major overhaul of the plugin specifically for Frog 0.9.5. So far I have had no major complaints for that release. @cbtrussel – what exactly is or is not working in your installation of TinyMCE?
|