My prefered xoopseditor is koivi but its not working that well... Spent some time on it and here is what i got...
Hope this can help others with same problems...
At first installation all seems right but...
1. when trying to insert table, popup window appears with errors...
in /class/xoopseditor/koivi/koivieditor/preferences.php
line 32
XOOPS_ROOT_PATH never found
if not defined it cannot be included...
if (!defined("XOOPS_ROOT_PATH")) {
include XOOPS_ROOT_PATH . "/class/xoopseditor/xoopseditor.inc.php";
if (!defined("XOOPS_UPLOAD_PATH")) { die("Path error!"); } }
Changed to
if (!defined("XOOPS_ROOT_PATH")) {
include "../../../../class/xoopseditor/xoopseditor.inc.php";
if (!defined("XOOPS_UPLOAD_PATH")) { die("Path error!"); } }
2. Testing insert table after change opens popup with no language recognized...
one has to
copy language dir from /class/xoopseditor/koivi/languages
to /class/xoopseditor/koivi/koivieditor/language problem solved...
if moved to directory the main editor will loose language settings...
3. Now everything works locally but when on hosting provider with
define( 'XOOPS_ROOT_PATH', '/' ); in mainfile.php
In /class/xoopseditor/koivi/dialogs.php there are lines of code that do not recognize the "/" after XOOPS_ROOT_PATH.
I used an editor and changed all lines like:
include_once XOOPS_ROOT_PATH.''.$url.'/language/'.$xoopsConfig['language'].'.php';
changing them to
include_once XOOPS_ROOT_PATH.'/'.$url.'/language/'.$xoopsConfig['language'].'.php';
These changes work for me hope for others who like koivi too....
Cheers...