News 1.67 RC3 (Mamba version)
Report bug with Xoops 2.5.5 :1. Two errors on install :
=> Not fixedle="color: #000000"><?php Warning: include_once(/modules/news/xnclude/install_function.php): failed to open stream: No such file or directory in file /modules/system/admin/modulesadmin/modulesadmin.php line 69
le="color: #000000"><?php Warning: include_once(): Failed opening '/modules/news/xnclude/install_function.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in file /modules/system/admin/modulesadmin/modulesadmin.php line 69
2. Deprecated :
=> Will be fixed on Xoops 2.6le="color: #000000"><?php '/class/xoopstopic.php' is deprecated since XOOPS 2.5.4, please create your own class instead.
le="color: #000000"><?php '/class/xoopstory.php' is deprecated since XOOPS 2.5.4, please create your own class instead.
le="color: #000000"><?php '/class/xoopsuser.php' is deprecated since XOOPS 2.5.4, please use 'kernel/user.php' instead.
le="color: #000000"><?php Class 'XoopsTree' is deprecated, check 'XoopsObjectTree' in tree.php
3. When I go to news/admin/groupperms.php
=> Fixed by Mambale="color: #000000"><?php Warning: array_keys() expects parameter 1 to be array, null given in file /class/xoopsform/grouppermform.php line 129
le="color: #000000"><?php Warning: Invalid argument supplied for foreach() in file /class/xoopsform/grouppermform.php line 129
le="color: #000000"><?php Warning: Invalid argument supplied for foreach() in file /class/xoopsform/grouppermform.php line 253
le="color: #000000"><?php Warning: array_keys() expects parameter 1 to be array, null given in file /class/xoopsform/grouppermform.php line 266
le="color: #000000"><?php Warning: Invalid argument supplied for foreach() in file /class/xoopsform/grouppermform.php line 266
4. When I go to news/submit.php
=> Fixed by Mambale="color: #000000"><?php Notice: Undefined variable: pictureinfo in file /modules/news/include/storyform.inc.php line 168
le="color: #000000"><?php Notice: Undefined variable: subtitle in file /modules/news/include/storyform.original.php line 43
5. When I go to news/archive.php
=> Fixed by Mambale="color: #000000"><?php Notice: Undefined variable: this_year in file /modules/news/archive.php line 150
6. Typos
news/language/english/admin.php
=> Fixed by MambaLine 178
replace
le="color: #000000"><?php // Added in verisn 1.50
with
le="color: #000000"><?php // Added in version 1.50
Line 195
replace
le="color: #000000"><?php // Added in verisn 1.67
with
le="color: #000000"><?php // Added in version 1.67
Stories_files => to replace (?)
=> Fixed by MambaLine 218 and 219
le="color: #000000"><?php define ("_AM_NEWS_THEREARE_STORIES_FILES", "There are <span class='red bold'>%s</span> Stories_files in the database");
le="color: #000000"><?php define ("_AM_NEWS_THEREARE_STORIES_FILES_ONLINE", "There are <span class='red bold'>%s</span> Stories_files online");
news\language\english\modinfo.php
=> Fixed by MambaLine 190
replace
le="color: #000000"><?php define("_MI_NEWS_DESCRIPTION", "With this Xoops module, you can create an unlimited number of news articles on your site. </br></br> You can create all articles you want and organize them in topics.</br></br> With a very powerfull permissions management, you can create groups authorized to submit articles and a group authorized to approve them and decide who can see what.");
with
le="color: #000000"><?php define("_MI_NEWS_DESCRIPTION", "With this Xoops module, you can create an unlimited number of news articles on your site. <br /> <br /> You can create all articles you want and organize them in topics.<br /> <br /> With a very powerfull permissions management, you can create groups authorized to submit articles and a group authorized to approve them and decide who can see what.");
Line 197
replace
le="color: #000000"><?php define("_MI_NEWS_SHOWICONS_DSC","Display print , PDF and email icons in buttom of each article");
with
le="color: #000000"><?php define("_MI_NEWS_SHOWICONS_DSC","Display print , PDF and email icons in bottom of each article");
The content of this file is weird :
=> Not fixednews\language\english\newsletter.php