1

Topic: Problem with News Generator

I have installed News Generateur, configured the top of the php file... whene i use the button GENERATE, the plugin says me that all is okey but the html file generated is empty... Any idea ?

Greg Serveur : www.gregserveur.com

Re: Problem with News Generator

Does it generate the archives?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

3

Re: Problem with News Generator

no :s

Greg Serveur : www.gregserveur.com

Re: Problem with News Generator

So it generates an empty news.html and then nothing in the archives directory?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

5

Re: Problem with News Generator

i have installed the 1.2.1 and now it appears to be funcionnal but i have only 1 news / 5 so is it normal that i don't have file in the archive directory ?

URL : http://gregb.no-ip.com

Greg Serveur : www.gregserveur.com

Re: Problem with News Generator

Yes, it's normal. The archives files will only be created if there is actually anything to archive.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Problem with News Generator

Nice wallpapers gregb ! cool

8

Re: Problem with News Generator

Hehe

Greg Serveur : www.gregserveur.com

Re: Problem with News Generator

Oh yes. We like to look at the ladies now and then smile

"Programming is like sex: one mistake and you have to support it for the rest of your life."

10 (edited by Azakur4 2005-02-17 18:34)

Re: Problem with News Generator

i have the same problem the file news.html is empty

days back it worked well

i try to solve it with a new instalation but i don't work, the plugin generates one file in the folder archive but the news.html  is empty

El Mejor Lugar de la Red - Corporación Azakur4

Re: Problem with News Generator

anybody can help me

El Mejor Lugar de la Red - Corporación Azakur4

Re: Problem with News Generator

Well, if it worked a few days ago and all of a sudden doesn't, that means something changed. Do you have any idea what?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: Problem with News Generator

sorry, the problem was generated for the mod easy smiley

El Mejor Lugar de la Red - Corporación Azakur4

14

Re: Problem with News Generator

I'm having the same problem (in 1.2.2). Any possible solution than uninstalling easysmiles? Does somebody know why this happens so I may fix it myself? (I couldn't figure it out)

Thanks from a newbie, punbb is really nice :-)

Re: Problem with News Generator

That's wierd....I'm using EasySmilies and 1.2.2 and it's working fine...

http://www.zanthria.com

16 (edited by peppelorum 2005-07-09 11:58)

Re: Problem with News Generator

Anyone found a solution for this problem?
news.html can't be generated but 2005-07.html can.

If I comment the code for smilies in parser.php

//     $smiley_text = array();
//     $smiley_img = array();
// //     $result = $db->query('SELECT * FROM '.$db->prefix.'smilies') or error('Unable to retrieve smilies', __FILE__, __LINE__, $db->error());
//     while ($db_smilies = $db->fetch_assoc($result))
//     {
//         $smiley_text_array = array($db_smilies['text']);
//         $smiley_text = array_merge($smiley_text, $smiley_text_array);
//
//         $smiley_img_array = array($db_smilies['image']);
//         $smiley_img = array_merge($smiley_img, $smiley_img_array);
//     }

everything works fine.


EDIT:
Solved it myself, in AP_News_Generator.php, around line 58, move the "require PUN_ROOT.'include/parser.php';" above the sql-question and everything works fine.

17 (edited by Xzorg6 2005-07-17 11:40)

Re: Problem with News Generator

Hello,

I have a problem with News Generator.

<commentaires_news>

Generate an empty link, only on archives files, like :

<a href=""></a>

Any idea ?

Re: Problem with News Generator

Where did you get <commentaires_news> from? There is no such replacement variable.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

19

Re: Problem with News Generator

From the news.tpl, when I generate, only <commentaires_news> of the page news.html are good.

Generated pages on archive have a empty link.