Skip to content
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

scribite integration is not working #438

Closed
rallek opened this issue Nov 23, 2013 · 6 comments
Closed

scribite integration is not working #438

rallek opened this issue Nov 23, 2013 · 6 comments
Assignees
Milestone

Comments

@rallek
Copy link

rallek commented Nov 23, 2013

If I follow the instruction of integration.txt of my generated modul (1.3.5/6) and copy the folder plugins into the scribite (4.3) folder I do get the following error:

Uncaught exception /www/htdocs/w00dd23a/www/rcgw.net/Zikula/modules/Scribite/plugins/CKEditor/Plugin.php must exist in /www/htdocs/w00dd23a/www/rcgw.net/Zikula/lib/util/PluginUtil.php line, 104
#0 /www/htdocs/w00dd23a/www/rcgw.net/Zikula/lib/util/ModUtil.php(1859): PluginUtil::loadPlugins('modules/Scribit...', 'ModulePlugin_Sc...')
#1 /www/htdocs/w00dd23a/www/rcgw.net/Zikula/lib/util/ModUtil.php(790): ModUtil::initOOModule('Scribite')
#2 /www/htdocs/w00dd23a/www/rcgw.net/Zikula/lib/util/ModUtil.php(724): ModUtil::loadGeneric('Scribite', 'user', false, true)
#3 [internal function]: ModUtil::loadApi('Scribite', 'user')
#4 /www/htdocs/w00dd23a/www/rcgw.net/Zikula/lib/util/ModUtil.php(1056): call_user_func_array('ModUtil::loadAp...', Array)
#5 /www/htdocs/w00dd23a/www/rcgw.net/Zikula/lib/util/ModUtil.php(1199): ModUtil::exec('Scribite', 'user', 'getModuleConfig', Array, true, NULL)
#6 /www/htdocs/w00dd23a/www/rcgw.net/Zikula/modules/Scribite/lib/Scribite/Listeners.php(48): ModUtil::apiFunc('Scribite', 'user', 'getModuleConfig', Array)
#7 /www/htdocs/w00dd23a/www/rcgw.net/Zikula/lib/Zikula/EventManager.php(199): Scribite_Listeners::coreinit(Object(Zikula_Event))
#8 /www/htdocs/w00dd23a/www/rcgw.net/Zikula/lib/Zikula/EventManager.php(135): Zikula_EventManager->invoke(Array, Object(Zikula_Event))
#9 /www/htdocs/w00dd23a/www/rcgw.net/Zikula/lib/Zikula/Core.php(503): Zikula_EventManager->notify(Object(Zikula_Event))
#10 /www/htdocs/w00dd23a/www/rcgw.net/Zikula/index.php(16): Zikula_Core->init()
#11 {main}

@rallek
Copy link
Author

rallek commented Nov 23, 2013

ok, might be wrong, to copy the files with the plugin folder. I guess I have to copy them into the folders of the editors: The text in instruction.txt is misleading.

Now I have copied all files into the folder structure of the scribite editors. I do get the following warning when trying to add something in a news by using tinymce:
WARN (4): E_WARNING: Invalid argument supplied for foreach() in /www/htdocs/w00dd23a/www/rcgw.net/Zikula/modules/Scribite/lib/Scribite/Api/User.php Zeile 383
WARN (4): E_WARNING: implode() [function.implode]: Invalid arguments passed in /www/htdocs/w00dd23a/www/rcgw.net/Zikula/modules/Scribite/lib/Scribite/Api/User.php Zeile 397

The editor tinymce is shown but nothing of my module :-(
Trying CKEditor no warnings but also nothing about my module

in the editor configuration of tinymce is my modulke also missing

@rallek
Copy link
Author

rallek commented Nov 23, 2013

Ahh! finally I got it! The folder structure of the generated module for the scribite plugins is wrong!

@ghost ghost assigned Guite Nov 24, 2013
@Guite
Copy link
Owner

Guite commented Nov 24, 2013

What exactly was wrong?

@rallek
Copy link
Author

rallek commented Nov 24, 2013

in line 20 of integration.txt is written:

  1. Copy or move all files from modules/Classifieds/docs/scribite/plugins/ into modules/Scribite/plugins/.

But the folder modules/Scribite/plugins/ do not exist. So I created it.

Than I realised I have to copy this folders into modules/Scribite/includes. But even this was wrong because the path to the plugins folders are different.

This belongs to zk1.3.5/6 and content 4.3. Might be it is ok for pre1.4 modules or scribite 5.x

@Guite
Copy link
Owner

Guite commented Nov 25, 2013

Hm yes, I see the generator creates code for Scribite 4.3.1 which has never been released. I will downgrade it for 4.3.0.
Scribite 5.x is supported for the pre14-target only.

@Guite
Copy link
Owner

Guite commented Nov 25, 2013

Fixed in ed26092

@Guite Guite closed this as completed Nov 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants