11
par14h
Re: xNews 1.68 RC1 - Bug report
  • 2010/6/18 5:53

  • par14h

  • Just popping in

  • Posts: 41

  • Since: 2010/2/24


I'm getting a blank page when I try to submit an article to xNews 1.68 RC1. here's the Debug message:

<snip>
Fatal error: require_once() [function.require]: Failed opening required '[edited:Xooproot]/modules/tag/include/formtag.php' (include_path='.:/usr/lib64/php:/usr/lib/php') in [edited:Xooproot/modules/xnews/include/storyform.inc.php on line 106
</snip>

I have no idea what half of that says, but I do know there is no "tag" module installed.

Equally quirky, if I go into xNews from the Modules Admin page and use the "post/edit articles" button, I get an un-themed, almost un-formatted screen with with the operation tabs, a "news configuration section (No articles because there aren't any yet) and a line that says "Post New Article" but no button. The debug message on this screen says,

<snip>
Fatal error: require_once() [function.require]: Failed opening required '/home1/anarchit/public_html/creeksideatcedarpath/modules/tag/include/formtag.php' (include_path='.:/usr/lib64/php:/usr/lib/php') in /home1/anarchit/public_html/creeksideatcedarpath/modules/xnews/include/storyform.original.php on line 100
</snip>

12
dnprossi
Re: xNews 1.68 RC1 - Bug report
  • 2010/6/18 8:55

  • dnprossi

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/15


Hi par14h,

the errors you mention happens when one enables "Use the tags system" in xnews preferences... Set this option to NO if you dont have tag module active...

Hi oswaldo,

Thanks for your spanish translation...

13
dnprossi
Re: xNews 1.68 RC1 - Blocks, blank page
  • 2010/6/18 11:24

  • dnprossi

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/15


@burning

Is your xoops install a fresh 2.4.4 one or an upgraded one???

I have been going crazy to reproduce issue. On new xoops 2.4.x install I had no problems installing xnews and blocks they all work fine. Found problem on an upgraded xoops from 2.3.x to 2.4.x.

Somehow Constants are not loaded. Have not understood why nor where they get lost.

The solution for now is adding these few lines of code to all or in nonworking block's files in xnews/blocks:

if (!defined('NW_MODULE_PATH')) {
    
define("NW_SUBPREFIX""nw");
    
define("NW_MODULE_DIR_NAME""xnews");
    
define("NW_MODULE_PATH"XOOPS_ROOT_PATH "/modules/" NW_MODULE_DIR_NAME);
    
define("NW_MODULE_URL"XOOPS_URL "/modules/" NW_MODULE_DIR_NAME);
    
define("NW_UPLOADS_NEWS_PATH"XOOPS_ROOT_PATH "/uploads/" NW_MODULE_DIR_NAME);
    
define("NW_TOPICS_FILES_PATH"XOOPS_ROOT_PATH "/uploads/" NW_MODULE_DIR_NAME "/topics");
    
define("NW_ATTACHED_FILES_PATH"XOOPS_ROOT_PATH "/uploads/" NW_MODULE_DIR_NAME "/attached");
    
define("NW_TOPICS_FILES_URL"XOOPS_URL "/uploads/" NW_MODULE_DIR_NAME "/topics");
    
define("NW_ATTACHED_FILES_URL"XOOPS_URL "/uploads/" NW_MODULE_DIR_NAME "/attached");
}


Right after:

if (!defined('XOOPS_ROOT_PATH')) {
    die(
'XOOPS root path not defined');
}


in news_latestnews.php you shoud also add the above xoops_root_path right after the commented text.

If any coder has experienced similar issues with upgraded xoops it would be nice to have some suggestions... :)

To make same changes to clones go to "Clone Manager" and "Force upgrade"

Will be fixed in RC2.

14
Burning
Re: xNews 1.68 RC1 - Bug report
  • 2010/6/18 21:46

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi' dnprossi

It was a new site with, at start News 1.66 installed (found on xuups.com). I uninstalled it and installed xnews 1.68 RC1. I can't say more.

May be someting wrong with french translation. I haven't verify this point.

Sorry, I have no enough free time for moment to test it. I will be back monday :) !
Still learning CSS and... english

15
par14h
Re: xNews 1.68 RC1 - Bug report
  • 2010/6/18 22:23

  • par14h

  • Just popping in

  • Posts: 41

  • Since: 2010/2/24


Hello, dnprossi and thank you for your swift reply.

Hi, Burning! Good to see you again!

Thank you, dnprossi for telling me aboutthat tagging system checkbox. Somewhere alongthe line, I came under the impression that the XOOPS core had Tag support built in, so I had the feature in xNews 1.68 switched on. I disabled eth feature and the symptoms cleared right up. I went hunting and found a Tag module by who I think is phppp and installed it. It seems to be playing nice with your xNews, so I'm running with it. THank you for putting together such a terrific module. Incorporating a newsletter function is both intuitive and brilliant. (At least, I think it is.)

And Burning, thank you again for the help you were giving me over the last week and a half. You were very helpful in solving my problems.

You both take care.
par14h

16
rgauci
Re: xNews 1.68 RC1 - Bug report
  • 2010/6/29 16:05

  • rgauci

  • Not too shy to talk

  • Posts: 173

  • Since: 2007/8/31


In xNews Latest News Block there is an image size field to have a kind of a thumbnail pix on the latest article, but for some reason the photo is not reduced to that size but stays the size uploaded in the article

Is this a bug perhaps?????
Be Set FREE!

17
dnprossi
Re: xNews 1.68 RC1 - Bug report
  • 2010/6/30 9:23

  • dnprossi

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/15


Hi rgauci,

Latest News Block image size field is for code embedded images. It does not affect topics or article images added through "edit article form" or "topics manager".

embedded code like
[img][/img]
<
img src=""><img>


example:
<p><img src="http://your.host.com/uploads/filename.jpg" /></p>
<
p>Your text goes here<p>


embedded image must be on first line of your htmltext same if you use img xoops code.
"Display topic image" must be set to "NO" so that image will be displayed in place.
Also "Display 'Topics'?" in block settings has to be set to "NO" if you don't want two images to appear.

This is code I found in Latest News Block and did not change. It is a bit rudimental but more refined image controls will be added in future releases.

hope this helped.

18
fibri
Re: xNews 1.68 RC1 - Bug report
  • 2010/7/20 14:43

  • fibri

  • Just popping in

  • Posts: 14

  • Since: 2010/5/20


Nothing works for me. Im using Xoops 2.4.5 and whenever I wanna set a xnews block as visible, the system crashes.

Fatal errorCall to undefined function nw_getmoduleoption() in /mnt/web2/61/55/52433755/htdocs/modules/xnews/blocks/news_top.php on line 50
Nada Todo Errores 
(10En desuso (0Consultas (20Bloques (5Extra (2Temporizadores(4)
Errores
Aviso
Constant XOBJ_DTYPE_FLOAT already defined en el archivo /modules/smartobject/class/smartobject.php y lànea 24
Aviso
: Use of undefined constant NW_MODULE_PATH assumed 'NW_MODULE_PATH' en el archivo /modules/xnews/blocks/news_top.php y línea 31
Advertencia
: include_once(NW_MODULE_PATH/class/class.newsstory.php) [function.include-once]: failed to open streamNo such file or directory en el archivo /modules/xnews/blocks/news_top.php y lànea 31
Advertencia
: include_once() [function.include]: Failed opening 'NW_MODULE_PATH/class/class.newsstory.php' for inclusion (include_path='.:/opt/RZphp5/includes'en el archivo /modules/xnews/blocks/news_top.php y lànea 31
Aviso
: Use of undefined constant NW_MODULE_PATH assumed 'NW_MODULE_PATH' en el archivo /modules/xnews/blocks/news_top.php y línea 32
Advertencia
: include_once(NW_MODULE_PATH/class/class.newstopic.php) [function.include-once]: failed to open streamNo such file or directory en el archivo /modules/xnews/blocks/news_top.php y lànea 32
Advertencia
: include_once() [function.include]: Failed opening 'NW_MODULE_PATH/class/class.newstopic.php' for inclusion (include_path='.:/opt/RZphp5/includes'en el archivo /modules/xnews/blocks/news_top.php y lànea 32
Aviso
: Use of undefined constant NW_MODULE_PATH assumed 'NW_MODULE_PATH' en el archivo /modules/xnews/blocks/news_top.php y línea 47
Advertencia
: include_once(NW_MODULE_PATH/include/functions.php) [function.include-once]: failed to open streamNo such file or directory en el archivo /modules/xnews/blocks/news_top.php y lànea 47
Advertencia
: include_once() [function.include]: Failed opening 'NW_MODULE_PATH/include/functions.php' for inclusion (include_path='.:/opt/RZphp5/includes'en el archivo /modules/xnews/blocks/news_top.php y lànea 47

19
dnprossi
Re: xNews 1.68 RC1 - Bug report
  • 2010/7/21 12:47

  • dnprossi

  • Not too shy to talk

  • Posts: 107

  • Since: 2006/3/15


Hi fibri,

Your problem has been solved for next full version.

to solve yourself read POST 13 above

20
Valio69
Re: xNews 1.68 RC1 - Bug report
  • 2010/7/23 3:31

  • Valio69

  • Just popping in

  • Posts: 46

  • Since: 2010/1/2 1


Hello! THANKS FOR THE MODULE!!! XNEWS IS PERFECT!

Now I'm testing xoops 2.5 with this module and I found that it is impossible to admin xNews blocks.

the functions like: function nw_b_news_top_edit($options)... etc
just dont want to save choosen configuration in the database!

So you can do enything, you will get "DB updated successfully" but nothing will change at a real.

Does someone know what is it?

Login

Who's Online

180 user(s) are online (103 user(s) are browsing Support Forums)


Members: 0


Guests: 180


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits