67
Quote:
cath22 wrote:
Yes, Thanks Steve, this definitively solves the problem, I can open the blocks to the homepage again normally.
And I'll try with this to give you more feedback since I am a happy user from wiwimod/simplywiki.
With debug on I still can see following messages:
Warning: include_once(../../mainfile.php) [function.include-once]: failed to open stream: No such file or directory in bestand /modules/simplywiki/header.php regel 15
Warning: include_once() [function.include]: Failed opening '../../mainfile.php' for inclusion (include_path='.:/usr/local/lib/php') in bestand /modules/simplywiki/header.php regel 15
You'll need to make a few additional changes -
in blocks/swiki_blocks.php and blocks/wiwimod_recent.php remove the line that includes header.php
include_once ICMS_ROOT_PATH . '/modules/' . $wikiModDir . '/header.php';
in header.php, remove the if {} statement immediately after the line that includes mainfile.php with
defined('ICMS_URL') || define('ICMS_URL', XOOPS_URL);
defined('ICMS_ROOT_PATH') || define('ICMS_ROOT_PATH', XOOPS_ROOT_PATH);
Quote:
These 3 are listed aswell, upon clicking on the function include I get following message : The requested URL /test1/modules/simplywiki/function.include was not found on this server.
Therefore I can say these are related with simplywiki
Warning: include() [function.include]: Filename cannot be empty in file /class/smarty/Smarty.class.php line 1923
Warning: include() [function.include]: Filename cannot be empty in file /class/smarty/Smarty.class.php line 1923
Warning: include() [function.include]: Failed opening '' for inclusion (include_path='.:/usr/local/lib/php') in file /class/smarty/Smarty.class.php line 1923
Those probably are due to the above, also
Quote:
And further some notices:
Notice: Constant ICMS_URL already defined in bestand /modules/simplywiki/header.php regel 18
Notice: Constant ICMS_ROOT_PATH already defined in bestand /modules/simplywiki/header.php regel 19
These should go away if you use the updated code I posted in my previous message (edited the original snippets)
Quote:
Notice: Use of undefined constant _MI_SWIKI_PAGERESTORE_TITLE - assumed '_MI_SWIKI_PAGERESTORE_TITLE' in bestand /modules/simplywiki/xoops_version.php regel 335
Notice: Use of undefined constant _MI_SWIKI_PAGERESTORE_CAPTION - assumed '_MI_SWIKI_PAGERESTORE_CAPTION' in bestand /modules/simplywiki/xoops_version.php regel 336
Notice: Use of undefined constant _MI_SWIKI_PAGERESTORE_DESC - assumed '_MI_SWIKI_PAGERESTORE_DESC' in bestand /modules/simplywiki/xoops_version.php regel 337
Notice: Use of undefined constant _MI_SWIKI_PAGERESTORE_SUBJECT - assumed '_MI_SWIKI_PAGERESTORE_SUBJECT' in bestand /modules/simplywiki/xoops_version.php regel 339
Notice: Use of undefined constant _MI_SWIKI_GLOBALPAGERESTORE_TITLE - assumed '_MI_SWIKI_GLOBALPAGERESTORE_TITLE' in bestand /modules/simplywiki/xoops_version.php regel 344
Notice: Use of undefined constant _MI_SWIKI_GLOBALPAGERESTORE_CAPTION - assumed '_MI_SWIKI_GLOBALPAGERESTORE_CAPTION' in bestand /modules/simplywiki/xoops_version.php regel 345
Notice: Use of undefined constant _MI_SWIKI_GLOBALPAGERESTORE_DESC - assumed '_MI_SWIKI_GLOBALPAGERESTORE_DESC' in bestand /modules/simplywiki/xoops_version.php regel 346
Notice: Use of undefined constant _MI_SWIKI_GLOBALPAGERESTORE_SUBJECT - assumed '_MI_SWIKI_GLOBALPAGERESTORE_SUBJECT' in bestand /modules/simplywiki/xoops_version.php regel 348
Those are present in the English files and need to be added to the other translations.
Quote:
Might I see other things I will report back, and if I find the time I'll update the Dutch language since that is missing a lot aswell, also giving some messages in the debug I guess.
But a important thing that is fixed is the Preferences section that first only worked with the legacy layout in admin.
Keep up the good work.
Greetz
Cath
The blocks/groups tab in admin won't work on X2.5 - I plan to take it out, anyway.
Thanks for the feedback.