Hi Gijoe,
First of all: tks you to share your work.
I make both installations: in x223a and x20132 and find this msg
Quote:
Creating new block
Block Tópicos inserted. Block ID: 46
ERROR: Could not insert template xhnewbb_main_block.html.
Creating new block
Block Tópicos inserted. Block ID: 47
ERROR: Could not insert template xhnewbb_main_block2.html.
I miss anything?
tks
beduino
XOOPS BRps: the lang package to portuguesebr is in
click here
Hi!
me ... again
well, I set a block in x223a
sub-domain XTRADand nothing appears and the msg
Quote:
Warning [Xoops]: Smarty error: unable to read resource: "db:xhnewbb_main_block.html" in file class/smarty/Smarty.class.php line 1084
starts...
tks
beduino
hi beduino.
I've just tested xhnewbb with XOOPS 2.2.3 now and it works perfectly.
Possibilities:
- broken tpl_* table - repiar the tables
- broken templates_c - clear templates_c/
- broken system-core files - upload entirely again
- broken template data - try tplsadmin
hy,
i have the same pb when upgrading from 1.13
Quote:
Block Sujets updated. Block ID: 61
ERROR: Could not update template xhnewbb_main_block.html.
Added block access right. Block ID: 62 Group ID: 1
Added block access right. Block ID: 62 Group ID: 2
ERROR: Could not insert template xhnewbb_main_block2.html to the database.
xoops 2.0.13.2
any idea ?
marco
nb in forum's option, weight is not translated
hi marco.
Quote:
i have the same pb when upgrading from 1.13
Quote:Block Sujets updated. Block ID: 61
ERROR: Could not update template xhnewbb_main_block.html.
Added block access right. Block ID: 62 Group ID: 1
Added block access right. Block ID: 62 Group ID: 2
ERROR: Could not insert template xhnewbb_main_block2.html to the database.
xoops 2.0.13.2
Check templates/blocks/xhnewbb_main_block*.html, again.
Quote:
nb in forum's option, weight is not translated
Thank you for reporting.
I'll fix it
Quote:
Check templates/blocks/xhnewbb_main_block*.html, again.
this template is installed over there
why do we have an error on update ?
its content
<table class="outer" cellspacing="1">
<{if $block.full_view == true}>
<tr>
<th><{$block.lang_forum}></th>
<th><{$block.lang_topic}></th>
<th align="center"><{$block.lang_replies}></th>
<th align="center"><{$block.lang_views}></th>
<th align="center" colspan="2"><{$block.lang_lastpost}></th>
</tr>
<{foreach item=topic from=$block.topics}>
<{strip}>
<tr class="<{cycle values="even,odd"}>">
<td>
<a href="<{$xoops_url}>/modules/xhnewbb/viewforum.php?forum=<{$topic.forum_id}>"><{$topic.forum_name}></a>
</td>
<td>
<a href="<{$xoops_url}>/modules/xhnewbb/viewtopic.php?topic_id=<{$topic.id}>&post_id=<{$topic.post_id}>#forumpost<{$topic.post_id}>">
<{if $topic.u2t_marked}>
<img src="<{$xoops_url}>/modules/xhnewbb/images/marked.gif" />
<{/if}>
<{* displays the last post's subject or topic title *}>
<{if $block.disp_last_subject }>
<{$topic.last_subject}>
<{else}>
<{$topic.title}>
<{/if}>
</a>
<{if ! $topic.solved}>
<img src="<{$xoops_url}>/modules/xhnewbb/images/unsolved.gif" />
<{/if}>
</td>
<td align="center"><{$topic.replies}></td>
<td align="center"><{$topic.views}></td>
<td align="center" nowrap="nowrap"><{$topic.poster}></td>
<td align="right" nowrap="nowrap"><{$topic.date}></td>
</tr>
<{/strip}>
<{/foreach}>
<{else}>
<tr>
<td class="head"><{$block.lang_topic}></td>
<td class="head" align="center"><{$block.lang_replies}></td>
<td class="head" align="right"><{$block.lang_lastpost}></td>
</tr>
<{foreach item=topic from=$block.topics}>
<tr class="<{cycle values="even,odd"}>">
<td><a href="<{$xoops_url}>/modules/xhnewbb/viewtopic.php?topic_id=<{$topic.id}>&forum=<{$topic.forum_id}>"><{$topic.title}></a></td>
<{* <td align="center"><{$topic.replies}></td> *}>
<{* <td align="center"><{$topic.views}></td> *}>
<td align="right" nowrap="nowrap"><{$topic.date}></td>
</tr>
<{/foreach}>
<{/if}>
</table>
<div style="text-align:right; padding: 5px;">
<a href="<{$xoops_url}>/modules/xhnewbb/viewallforum.php?cat=<{$block.categories}>"><{$block.lang_listalltopics}></a>
<a href="<{$xoops_url}>/modules/xhnewbb/index.php?cat=<{$block.categories}>"><{$block.lang_visitforums}></a>
</div>
hi marco.
I've just recall
domifara's indication!
check language/french/modinfo.php
define("_MI_XHNEWBB_BDESC1","...");
define("_MI_XHNEWBB_BDESC2","...");
If '...' is longer than 100 byte, the module installation or updating will be failed.
>beduino
Perhaps, it is the same trouble about you.
If you use spanish, check language/spanish/modinfo.php
hy GIJOE,
hum, i don't think so
here is my define
define("_MI_XHNEWBB_BDESC1","Ce bloc peut óÕre utilis pour diffñÓents usages. Bien s vous pouvez le dupliquer.");
i can't find this define("_MI_XHNEWBB_BDESC2","...");
you mean only for those defines or for all define constant within this file ?
rrr
marco
hi marco.
Which version had you used?
Quote:
i can't find this define("_MI_XHNEWBB_BDESC2","...");
It's my mistake.
There are no constants named "_MI_XHNEWBB_BDESC2";
Anyway, can you modify the definition of "_MI_XHNEWBB_BDESC1" shorter as possible ?