-
-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tinymce/bbcode #614
Comments
Which browser is this? |
Firefox mainly, also in use (partial when testing) Opera and , IE 11 (troublesome overall) Chrome |
9th June ; latest files browsers Opera IE11 Chrome and Firefox This happens on a live (test) server as new install and also as an update. Screenshot of IE11 ( the 'blimp') where all other 3 browsers do not want to do (display) anything at all. |
Maybe related? #624 See my second comment. |
What PHP version do you have running @tgtje ? |
i just double checked, when i set it to 5.5, problem is solved |
The same here, but I can switch only to 5.4 version, 5.3. is native too. With 5.4 no problems. |
yep.. after some testing, 5.4 is definitely the best version my setup.
|
Willem, if you see any notices related to the e107 core (plugins) please let me know in a separate issue and I'll look into them to see if we can already get rid of them. |
sure. |
Yes, although it's a very old one in need of a rewrite. Just post them up, all in one issue (not for every plugin a different issue but just in one issue) and I'll take a look at them. Thanks! |
no problem. |
php 5.3.27 & php 5.3.28 Mind ! these are basic (shared) hosting versions, no possibility to change php versions. 5.3.x should be sufficient,; 5.4 ( or higher) as minimum requirement is (imo) a no go . |
@tgtje Yep, that's why the current requirement is still PHP 5.3 (which is over 5 years old!). Hosts should definitely be looking into upgrading onto PHP 5.4 in the next year or so. Anyhow, this issue is narrowed down to a PHP 5.3 incompatibility. No issues on PHP 5.4+ |
funny, (which renders some of my own plugins useless, so i needed to revert to 5.3 after some testing i didnt find new problems or core plugins i have done a quick test on the forum and that seems to work better with 5.4 |
Yes please, I'll take a look. Not sure what's wrong as that plugin works properly on PHP 5.4 here and o many other installations.
Would be great to have this confirmed. |
Just as a reference, video by @tgtje http://tgtje.eu/movik/flvplayer/flashvideoplayer.html?video=content/tiny.flv |
adding : running php 5.3.28 |
tgtje, could you click on console tab and insert picture here if there isn't javascript problem? Thanks |
Only notice: there is in e_meta.php in tinymce4 used mceAddControl and I found: "they removed mceRemoveControl and mceAddControl in tinymce4, so use mceAddEditor and mceRemoveEditor instead." |
@Jimmi08 here's a pic, notice : the only error is 'made' from the 'outside". eg. external call used this time the create page instead of add news, since it is the same issue. |
Weird thing is that in source code when I clink on wysiwyg.php with tinymce init, there is in 5.4: |
@tgtje On line 102 of e107_plugins/tinymce4/wysiwyg.php change this: $text .= json_encode($this->config, JSON_PRETTY_PRINT); to $text .= json_encode($this->config); Please re-test the issue, and check the source code. If the source code is different, please post another image. |
identical sourcecode in Chrome now shows :
|
As a notice: investigating why this option (code) change to understand; i found this : probably the reason for it :
http://ryanuber.com/07-10-2012/json-pretty-print-pre-5.4.html |
Yeah the 'pretty print' option is only available since PHP 5.4. That's why the config fields aren't filled properly, and that's why TinyMCE won't show up on PHP 5.3. I don't really get why it's not throwing a more accurate error though. Did you try enabling the debug mode to find PHP errors/warnings? I'm going to verify with @CaMer0n if it's ok to use this fix. The only difference is that the JSON is not outputted nicely (properly formatted, but all in one row) in the source code. Functionality wise, nothing else changes. I have found a workaround in case we'd prefer to have a nicely formatted sourcecode: https://github.com/GerHobbelt/nicejson-php |
Yes, multiple times (using FF and debugger ) it will not show any |
Pushed the temporary fix anyway, for the time being. |
@tgtje Are the issues fixed now? |
for me the small change does work. Just have to reinstall a new pack, since (reason unknown) media manage |
Ok, closing this issue. Please open up a new issue in case of new issues. |
USING news create OR Page (files age : latest 5 hours ago) 2-6
INPUT AREA (window : body)
Upgrade of v1 to v2 : succeeded with 1 solvable issue : new issue made/making> forum related issue =upgrade )
Creating news and/or pages
(as installed = tinymce4 Upgraded site
trying to add youtube etc.
When selecting youtube it opens media manager news : youtube (2 movies); not selectable
Adding an image : media m.. displayed : not selectable
adding youtube embedding code ( i frame ) works, txt works. Trying to use any image or related > not selectable
Here are some error reports
Tijdstempel: 2-6-2014 14:44:05
Fout: TypeError: $(...).tooltip is not a function
Bronbestand: http://domain/e107_web/js/core/admin.jquery.js?1401712003
Regel: 76 = $(this).tooltip({opacity:1.0,fade:true, placement: pos});
When creating news selecting an image at bottom (first block)
it opens mediamanager.Selecting an image shown. marks it, but does NOT close the dialog : no file selection (closing window)
Tijdstempel: 2-6-2014 14:52:14
Fout: TypeError: parent.document.getElementById(...) is null
Bronbestand: http://domain/e107_admin/image.php?mode=main&action=dialog&for=news&tagid=news-thumbnail-0&iframe=1&video=1
Regel: 1
Tijdstempel: 2-6-2014 14:56:25
Fout: TypeError: e is undefined
Bronbestand: http://tinymce.cachefly.net/4.0/tinymce.min.js?1401712003
Regel: 9
Tijdstempel: 2-6-2014 15:02:11
Fout: TypeError: $(...).draggable is not a function
Bronbestand: http://domain/e107_web/js/core/admin.jquery.js?1401712003
Regel: 82
Uninstalled Tinymce4
Installed Tinymce
In BOTH cases i have NO possibilties to add media related
Preferences adjusting (disabling wysiwig) does NOT change display of window or makes changes to method for input
Tijdstempel: 2-6-2014 15:04:47
Fout: TypeError: tinymce is null
Bronbestand: http://domain/e107_plugins/tinymce/tiny_mce_popup.js?1401712003
Regel: 5
basically i can not create a page or news post WITH media
The text was updated successfully, but these errors were encountered: