Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 05:00:01 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155544 Posts in 21714 Topics by 7736 Members
Latest Member: chris85
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: AnyNews doesn't work anymore after upgrade  (Read 2067 times)
joop

Offline Offline

Posts: 86


WWW
« on: January 25, 2011, 11:45:24 AM »

I'm lost.
Yesterday I've upgraded the website from 2.7 to 2.8.1 and everything works....except the anynews thingy.
I've been sniffing around this topic, but can't understand what I'm doing wrong here.
It shows the news-items, but when I click at it, it gives me an emty page in return.
This is the code I'm using:
Code:
<?php display_news_items(05502"Laatste nieuws""lees meer""oeps, no news available"false); ?>

Greetz,
Joop
Logged

There is a fine line between fishing and just standing on the shore like an idiot!
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2297



WWW
« Reply #1 on: January 25, 2011, 12:11:34 PM »

Did you read and follow the upgrade instructions?

http://www.websitebaker2.org/nl/download/laatste-versie/upgraden.php

It tells you about the news module, some fields and css are changed.
Logged

Professional WebsiteBaker Solutions
joop

Offline Offline

Posts: 86


WWW
« Reply #2 on: January 25, 2011, 02:14:57 PM »

Hi Ruud,

I've followed it all, but still it doesn't work.
Any suggestions? (ik begrijp er geen hol meer van  wink)
Logged

There is a fine line between fishing and just standing on the shore like an idiot!
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2297



WWW
« Reply #3 on: January 25, 2011, 02:16:30 PM »

Did you try to set the errorreporting to E_ALL?

Can we have a look?
Logged

Professional WebsiteBaker Solutions
joop

Offline Offline

Posts: 86


WWW
« Reply #4 on: January 25, 2011, 02:20:50 PM »

I've had E_ALL on all the time, but where should it generate the errors? No errors are displayed in the newspage....
Logged

There is a fine line between fishing and just standing on the shore like an idiot!
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2297



WWW
« Reply #5 on: January 25, 2011, 02:28:54 PM »

Always good to check for errors. Especially on empty page results.

Can we have a look?

Logged

Professional WebsiteBaker Solutions
joop

Offline Offline

Posts: 86


WWW
« Reply #6 on: January 25, 2011, 02:31:38 PM »

Where can I view possible errors?
Logged

There is a fine line between fishing and just standing on the shore like an idiot!
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2297



WWW
« Reply #7 on: January 25, 2011, 02:41:15 PM »

With E_ALL, if there are errors, you will see them on the webpage output.
It seems there are no errors to show.

Next thing to check is if anything is outputted using sourceview or debuggingtools of your browser.

If not, check your newspage output templates. (note: this is not a problem of theDisplayNews snippet)
Logged

Professional WebsiteBaker Solutions
joop

Offline Offline

Posts: 86


WWW
« Reply #8 on: January 25, 2011, 03:27:24 PM »

Hi Ruud,

Below is the source. It displays the links.
But the page is emty where it should give the long description (div id="right").

Code:
<div id="news">
<p>
<!-- Display news items anywhere -->
<h2>Laatste nieuws</h2>
<ul>
<li><a href="http://www.molengaard.nl/pages/posts/hkz-keurmerk55.php">HKZ-keurmerk</a></li>
<li><a href="http://www.molengaard.nl/pages/posts/fysioforum-nieuws54.php">Fysioforum Nieuws</a></li>
<li><a href="http://www.molengaard.nl/pages/posts/stefan-rusch-wereldkampioen-100-meter52.php">Stefan Rusch WERELDKAMPIOEN 100 meter</a></li>
<li><a href="http://www.molengaard.nl/pages/posts/nieuws-uit-het-team.51.php">Nieuws uit het team.</a></li>
<li><a href="http://www.molengaard.nl/pages/posts/telefonische-bereikbaarheid27.php">Telefonische Bereikbaarheid</a></li>
</ul>
</p>
</div>
</div>
 
<div id="right">
 
<!-- <div class="leftcol">
        </div>
 
<div class="rightcol">
        </div> -->
 
<div class="special">
    <a class="section_anchor" id="wb_2" name="wb_2"></a> </div>
</div>
Logged

There is a fine line between fishing and just standing on the shore like an idiot!
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2297



WWW
« Reply #9 on: January 25, 2011, 03:58:24 PM »

The newspage templateblocks are correct?
The newspage section is set to the correct section?
The newsitems have the correct date/time settings that control when they should be visible?
If you create a new newspage (not an item, a complte new page).. does that one work?

Logged

Professional WebsiteBaker Solutions
joop

Offline Offline

Posts: 86


WWW
« Reply #10 on: January 25, 2011, 04:09:33 PM »

I've created a new newspage with some test nes in it....it doesn't show up on the site.
Not even within the news-section

Is it possible to complete delete the newssection, and start over from scratch, and then place the news back in the database?
« Last Edit: January 25, 2011, 04:12:51 PM by joop » Logged

There is a fine line between fishing and just standing on the shore like an idiot!
Ruud
WebsiteBaker Org e.V.

Offline Offline

Posts: 2297



WWW
« Reply #11 on: January 25, 2011, 04:26:02 PM »

I don't think that will help. If a new newspage is not functioning, deleting the old ones has no extra value.

I have no suggestions anymore you could do to check.
I assume you checked everything I suggested in the previous messages...
Logged

Professional WebsiteBaker Solutions
joop

Offline Offline

Posts: 86


WWW
« Reply #12 on: January 25, 2011, 04:32:28 PM »

Just noticed one thing, when I put the new newspage NOT hidden, it shows up but also the link to the long description works.
When I do this with the "old" newspage, it makes no different.
Logged

There is a fine line between fishing and just standing on the shore like an idiot!
snark
Guest
« Reply #13 on: January 26, 2011, 06:47:01 PM »

Had à silimair problem, i saved THE htt files from anynews, threw anynews away and installed à fresh version from amasp... Them placed THE htt files back

Logged
joop

Offline Offline

Posts: 86


WWW
« Reply #14 on: January 26, 2011, 09:30:05 PM »

Hi Snoork,

Thanks for your reply. I will try it out, and let you know if this helped.

- edit - Where to find these htt files?
« Last Edit: January 26, 2011, 09:33:49 PM by joop » Logged

There is a fine line between fishing and just standing on the shore like an idiot!
snark
Guest
« Reply #15 on: January 27, 2011, 07:11:34 PM »

In the anynews template folders, that is where you style the look of the anynews items
Logged
joop

Offline Offline

Posts: 86


WWW
« Reply #16 on: January 28, 2011, 11:16:00 AM »

I can't seem to find the htt files in the template folder....  huh
Logged

There is a fine line between fishing and just standing on the shore like an idiot!
sky writer

Offline Offline

Posts: 285



« Reply #17 on: January 28, 2011, 02:18:45 PM »

Do you have the latest AFE (Addon File Editor), which shows hidden files?
Logged
joop

Offline Offline

Posts: 86


WWW
« Reply #18 on: January 28, 2011, 09:09:18 PM »

Ow crap....that's it.
Thanks Sky Writer! I will install it right away.

- Edit - Hmmm it still shows only 3 files (index, info and include) no htt files what so ever...
« Last Edit: January 28, 2011, 09:17:17 PM by joop » Logged

There is a fine line between fishing and just standing on the shore like an idiot!
snark
Guest
« Reply #19 on: January 28, 2011, 11:51:51 PM »

If you cannot find THE htt files you have probably not altered them so just overwrite em...

Then again... You should dive into this à bit, I often use lots of different groups and different htt templates to create all kinds of stuff in combination with news modules.

Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!