I am testing Drupal 5.0 Beta 2.

I installed TinyMCE but:
* A checkbox appears in the module list without label (I assumed it was TinyMCE because was the only new module).
* When tried to configure...
-* The "add profile" link is wrong (it says http://mercovich.com.ar/drupal-5.0-beta2/admin/settings/%3Cem%3E/drupal-...).
-* The corrected "add profile" link generates a "500 internal server error".

Maybe the whole testing has no sense because it has not been ported, but since I couln't find a report, and it is HEAD, just tried. :-)

Regards...

Comments

mosh’s picture

StatusFileSize
new9.33 KB

I have changed the patch from http://drupal.org/node/92043#comment-158720 a little and added the .info file again.
Should work with Drupal 5.0 Beta 2.

mosh’s picture

Component: User interface » Code
Status: Active » Needs review

status change...

David Foster’s picture

I am having similar problems but also am unsure how to apply a patch. Can someone explain please.

edrex’s picture

mosh, the patch seems to work. I'm going ahead to deploy the patched mod, +1 to get this in.

Not sure why you moved the patch thread to this symptom-reporting issue, can't help with the continuity of the thread.

DaveNotik’s picture

The patch did successfully (after some fussing with the fact that the .patch was for two files) cause the module to show up in the list, and it installed without error.

However, going to "add a new profile" -- besides the fact I had to go directly as that link has some weird em's in it and is broken -- takes me to a blank page. I even have memory_limit set to 32M.

Is this really working for anybody in 5.0 beta2? Help!

Thanks!

--D

DaveNotik’s picture

I noticed the original issue reported many of the same errors. Maybe my blank page is indeed an internal server error.

So this doesn't work w/ 5.0beta2.

--D

edrex’s picture

Dave, works for me with recent HEAD versions of drupal and tinymce. I created a new profile, and was able to load the editor. Perhaps you could turn on error reporting...

DaveNotik’s picture

Can you send your .module? (dave at digital202 {dot} com)

The "add a profile" link work? Clearly broken.

I'll try with HEAD, been on beta2.

Error reporting on (E_ALL and "On"), but no error, just blank.

--D

mosh’s picture

edrex, i moved the patch to this issue because this issue points to Drupal-5.0 beta 2 and the patch could be a solution for this issue.

DaveNotik,
i've tested the patch with a fresh install of Drupal-5.0 beta2 again and got no errors.

The things i have done:

01. install a fresh Drupal 5.0 beta 2
02. check out tinymce module from contrib-head
03. apply the tinymce-5.0-beta2.patch
04. unpack tinymce-2.0.8
05. create the first user account for drupal
06. login
07. activate the tinymce module
08. go to www.example.com?q=admin/settings/tinymce
09. click the create a new profile link
10. click on the assign to assign access tinymce permission for authenticated users
11. go to www.example.com?q=admin/settings/tinymce
12. click the create a new profile link
13. fill and submit the form
14. go to www.example.com?q=node/add/page and there it is :-)

I got the same result with clean-urls enabled.

I you still have errors please try to describe the way you tried it.

trungdong’s picture

I have tinyMCE running with Drupal 5.0 b2 (using the patch above). However, the insert image and insert link (URLs) buttons do not work for me (i.e. nothing happens when these buttons are clicked). I just wonder if it is just me or there are others who have the same problem. This happens on both Firefox 2.0 and IE 7.0. IE reports script errors when these buttons are clicked (Error: Invalid argument).

Ryanbach’s picture

We need to make a 5.x branch for this module as well when it works correctly...

phw’s picture

trungdong, those symptons sound like as if you have installed the latest TinyMCE compressor 1.0.9. If so, have a look in http://drupal.org/node/91893. There is a patch for those problems. Alternatively you can downgrade to compressor 1.0.8

edrex’s picture

Title: Drupal 5.0 beta 2: TinyMCE don't appear in modules list and creates wrong "add profile" link when installed. » Port tinymce to Drupal 5.x
edrex’s picture

Category: bug » task
Status: Needs review » Reviewed & tested by the community
drupalnesia’s picture

Status: Reviewed & tested by the community » Closed (fixed)

TinyMCE 5.0 RC1 has been uploaded. This version based on Drupal 5.0 RC1 which reduce many line-codes, from 30 KB to only 5 KB!

eaton’s picture

Unfortunately, the new version strips out most of the useful features of the module and is broken in many scenarios. For now, upgrading the 4.7 version with the patch in this thread is a much better solution than downloading the 5.0 version.

boris mann’s picture

Status: Closed (fixed) » Active

+1 works as affected. Please commit this version.

DaveNotik’s picture

What about Eaton's comment #16? Is the RC1 dangerous to recommend and should the patch be used instead? Grrr.

--D

canadrian’s picture

I would hazard a guess that the reason MOST people use a modular system such as Drupal is because they, like me, have NO IDEA how to code anything, or to apply patch files. I appreciate the hard work the patcher has done here, and I realize some people may want the patch file so they can see the differences. However: for the sake of people like me who like Drupal because it's modular and doesn't require coding experience, is there any chance an alread-patched version of this module could be posted in addition to the .patch file?

redraven’s picture

I would really appreciate if the maintainer of this module would chime in on this thread/issue.

Maybe I am misunderstanding things, but is there some type of disagreement on the inclusion of this patch and the update/port to 5.0?

Thanks

tomsolo’s picture

StatusFileSize
new23.91 KB

Re: #19 canadrian.electricteaparty.net

Here a patched (and little modified) 4.7x version to drupal 5.x.

Some info:
Base on mos' tinymce-5.0-beta2.patch.
I tested TinyMCE 2.0.9 and drupal 5 and IMCE, run smoothly. (Browsers: IE 6., FF 2.0, Opera 9.1, Theme: garlands and bluemarine.)
I have enabled drupal's textarea resizable function in the source of the module. (Eg.: Using TinyMCE -'rich text enabled-', the resize is controlled by TinyMCE , otherwise by drupal.)
Some useful TinyMCE config false in default ( horizont resizing, resizing use cookie).
The attached file use 7zip compress. ( Go http://www.7-zip.org/ more info.)

cheers

canadrian’s picture

Thank you so much, that's awesome. I did eventually find a handbook page on how to patch modules, by all my effort were unsuccessful. This is a great help!

kvarnelis@drupal.org’s picture

is there any chance we could have that in a more universally accessible format, like zip for example?

tomsolo’s picture

StatusFileSize
new39.23 KB

is there any chance we could have that in a more universally accessible format, like zip for example?

Sure. :)

Anonymous’s picture

Priority: Normal » Critical
Status: Active » Needs review

have many tested mosh's patch?

I think we need to convert the current 5.0 tinymce to this with the patch.

changing to critical cause this needs to be resolved asap. the new maintainer seems to have gone awall!

ChrisKennedy’s picture

Status: Needs review » Needs work

Based on the .zip from #24 the settings page does not show any options and someone's settings.php is in the themes directory.

skor’s picture

I followed the instructions in post #9, except I used the released 5.0, and TinyMCE 2.09.

Tested and looks good, but I'm not using IMCE.

tomsolo’s picture

#25 Re:

"I think we need to convert the current 5.0 tinymce to this with the patch."

NO! the patch work only 4.7.xdev or head. The current 'official' 5.x module totally new fork.

#26 Re:
Remove currently module and reinstall tiny_mce4.7.x_to_5.x.zip

#27 Re:

"I followed the instructions in post #9, except I used the released 5.0, and TinyMCE 2.09."

??? The patch work only 4.7.xdev or head.

skor’s picture

Sorry, I should have been more specific.
I used the released 5.0 of Drupal no the beta 2 as mentioned in post #9.

skor’s picture

Sorry, I should have been more specific.
I used the released 5.0 of Drupal not the beta 2 as mentioned in post #9.

skor’s picture

Sorry, I should have been more specific.
I used the released 5.0 of Drupal not the beta 2 as mentioned in post #9.

skor’s picture

Grrrr. Sorry about the triple post. Slow connection :(

Anonymous’s picture

tomsolo.

im saying the current drupal 5.0 tinymce that has all the features missing (cause it has been rewritten) should be 5_0__2_0 and not 5_0__1_0 .

1_0 should be the 4.7 (head) ported to 5.0 with the patch that is made from this issue.

allie micka’s picture

Thanks for taking the lead on this, Steve!

My impression is that the new code should be rolled back rather than placed into a separate branch. While I agree with some of the motives that caused this code to exist, nobody is stepping forward to maintain *either* branch.

I feel that having 2 unmaintained branches is creating more problems than it solves. If we roll back the 5.0 changes and add the patch from this thread, we can revisit the changes and bring them in as needed.

seanr’s picture

+! - I want the button configuration options back!

techczech’s picture

I also agree - the usability of TinyMCE has definitely taken a hit in 5.0 - although it has become much simpler to set up.

mdwoodbury’s picture

I installed the module in line 24. I TRYED to uninstall the 5.0 version of TinyMCE module but it would not. I uploaded the line 24 module and drupal suggested I do a database update and came up with the following 4 database errors. I am not a coder so I am wondering how to fix the database manually? I do see how I can now setup the TinyMCE module where with the 5.0ver It was missing lots of setup. Can someone help me out?

Matthew

* user warning: Table 'culturej_drupal5.tinymce_settings' doesn't exist query: SELECT s.name FROM tinymce_settings s INNER JOIN tinymce_role r ON r.name = s.name WHERE r.rid IN (2) in /home/culturej/public_html/members/includes/database.mysql.inc on line 167.
* user warning: Table 'culturej_drupal5.tinymce_settings' doesn't exist query: SELECT * FROM tinymce_settings in /home/culturej/public_html/members/includes/database.mysql.inc on line 167.
* user warning: Table 'culturej_drupal5.tinymce_settings' doesn't exist query: SELECT s.name FROM tinymce_settings s INNER JOIN tinymce_role r ON r.name = s.name WHERE r.rid IN (2) in /home/culturej/public_html/members/includes/database.mysql.inc on line 167.
* user warning: Table 'culturej_drupal5.tinymce_settings' doesn't exist query: SELECT * FROM tinymce_settings in /home/culturej/public_html/members/includes/database.mysql.inc on line 167.

fde’s picture

Status: Needs work » Needs review

I have just tested the tomsolo version (#21) on a clean Drupal 5.0 install with TinyMCE 2.0.9.

The module installed fine and I tested it by creating 2 profiles with different settings. I could not find any obvious bug.
I think the current version for 5.0 by Drupal-id.com which provides no functionality at all and is totally not backward-compatible is not acceptable and should be replaced asap. Then more people will be able to test the port, hopefully.

IMO the current maintainer did not make is job and took too much liberty by commiting a new version instead of porting the 4.7 module. Hope this will be fixed now.

cybertron1’s picture

may you test if you can post/update a page/story in Internet Explorer ??

fde’s picture

Sorry I did not mention it, but I use Firefox (2.0.0.1) under Linux (Ubuntu 6.10). I have no problem for editing or updating.
I cannot test it with IE though.

cybertron1’s picture

ok, the problem seems to only occur on IE and Safari.

skor’s picture

Works for me in IE7

cybertron1’s picture

which version? do you use the 4.7 to 5.0 patch or the "real" 5.0?

And by working i assume you mean that you can edit/publish new material?

skor’s picture

As I said above, this patch, applied to th 4.7 version of this module, with the 5.0 drupal works for me with Firefox and IE7. I can edit and publish new material.

If you're experiencing a problem, perhaps you could describe it.

cybertron1’s picture

i have described it: http://drupal.org/node/110827
but the version is wrong, should be "4.7 with 5.0 patch"

cybertron1’s picture

I have temporarily made a workaround for the 5.x version of this module for use in Internet Explorer 6.0 (and perhaps Safari?), (not the patched version of this module, although I assume it should work similar with this too)

see this post : http://drupal.org/node/110827#comment-187835

the problem still remains, but in the meantime one can use IE for editing and publishing.

awardpromo’s picture

I'm running drupal 5 and tinymce latest version and everything works fine, both in Firefox and in IE (6 and 7)...
Maybe i'm only lucky :), or more expert than you.

bye bye
L.D.

kreynen’s picture

Status: Needs review » Closed (fixed)
nedjo’s picture

Assigned: Unassigned » nedjo
Status: Closed (fixed) » Fixed

I've reviewed the patch in its final form and done some basic testing. It looks fine. This is a minimal upgrade to 5.x. There is more we can and should do to take advantage of 5.x features and approaches, but those we can pursue in separate issues.

This patch was previously applied to:

(a) the DRUPAL-5 branch of tinymce module. That branch had initially been a replacement module dropping the coding approaches of tinymce.module for an approach relying on manually coded configuration files. Then the 5 branch was overwritten with a version of the original module apparently patched with this patch, but missing some files (e.g., the plugins directory and its files).

(b) the moxie module, an interim solution for tinymce module users while the tinymce module wasn't available in Drupal 5 with its original features.

I've just applied this patch to tinymce module HEAD, so we have a clean starting point for moving forward. After a bit of use, we can replace the existing DRUPAL-5 branch with what's in HEAD.

luti’s picture

I see there was a lot of issues and patches of TinyMCE recently (some quite massive / significant, like jquery one), for which I have the impression they are not applied in some sequence, but more in parallel - starting from more or less the same source. So, I am a bit lost now what to follow (I've also just posted an issue and don't really know where to look for a possible solution). It would be really good to make some temporary -dev version, with all latest patches included, so we know where we are. And, then to discuss and correct some issues starting from this point.

kreynen’s picture

The current and previous release of the Drupal 5 compatible TinyMCE module were VERY different. We've tried to clear as much of the old support advice from the queue that no longer applies to the current 5.1 release. I hope things are much less confusing now than they were over the last month or so.

There will be a new release (5.2), that will incorporate many of the patches (or at least the features the patch writer wanted).

The current 5.1 release is stable, feature compatible with the 4.7 release, and nearly error free. Future development will be based on the 5.1 release.

AdrianB’s picture

Just wanted to say thanks to kreynen and others for actively taking this module in a much needed direction! Looking forward to further development.

Anonymous’s picture

Status: Fixed » Closed (fixed)