Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.4
Author Message
Darrell3831
Worker
Worker



Joined: Feb 18, 2004
Posts: 244

PostPosted: Sat Sep 04, 2004 7:26 am Reply with quote

Hi,

Recently I upgraded from 6.9 to 7.4 with a patched version I downloaded here.

I was using both the content and special sections modules before. But in 7.4 special sections is taken away now. It dosent exist.

When you view the top 10 on my site:
Only registered users can see links on this board! Get registered or login!

A category for the special sections is displayed, but clicking on any of those links dosent work since it's been removed in 7.4.

How do you go about fixing this?

Can those articles be recovered and moved into a new category of the content module automatically? Can the links be repaired easily in the top ten module?

Thanks,
Darrell

_________________
http://www.psy-center.com 
View user's profile Send private message Visit poster's website
sixonetonoffun
Spouse Contemplates Divorce



Joined: Jan 02, 2003
Posts: 2496

PostPosted: Sat Sep 04, 2004 8:29 am Reply with quote

You can still get it from phpnuke club or use the last version from 7.3 I think?

_________________
[b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 
View user's profile Send private message
Darrell3831







PostPosted: Sat Sep 04, 2004 12:01 pm Reply with quote

I don't mind that they did away with it.

I just need the fix for the Top 10 module. Aperantly they did not patch that so that it would stop query'ing the database.

Because it's drawing from my data that's left over from the 6.9 installation. Or something.

Other than installing the function that's been removed, how do you fix it?

Thanks,
Darrell
 
sixonetonoffun







PostPosted: Sat Sep 04, 2004 3:35 pm Reply with quote

Looks to me like you can just remove the whole block of code from the modules/Top/index.php where it starts:
/* Top 10 articles in special sections */
 
sixonetonoffun







PostPosted: Sat Sep 04, 2004 4:44 pm Reply with quote

Looking at that module I am amazed it doesn't even check for an active status who would have thought? It just looks to see if the articles exist.
 
Darrell3831







PostPosted: Sat Sep 04, 2004 10:34 pm Reply with quote

Okay,

thanks. I'll remove it. It just seemed to me like a mistake that someone overlooked....

Darrell
 
sixonetonoffun







PostPosted: Sat Sep 04, 2004 11:08 pm Reply with quote

I think the idea might have been if it was empty it doesn't show no harm done. On the other hand I'd say your right its a mistake.
 
chatserv
Member Emeritus



Joined: May 02, 2003
Posts: 1389
Location: Puerto Rico

PostPosted: Mon Sep 06, 2004 8:41 am Reply with quote

That module needs updating as mentioned here but in a related subject some people are having problems with sections articles not getting transfered, the 73-74 upgrade file needs to be modified:
http://www.nukefixes.com/ftopict-839.html#2796
 
View user's profile Send private message Visit poster's website
Darrell3831







PostPosted: Mon Sep 06, 2004 10:26 am Reply with quote

I had 6 or 7 articles in the special sections area. It would have been nice to save them. They were not transferred to the content section by the upgrade script.

It's not a major issue for me personally though. I can probably recreate them from scratch easier than adding them thru phpMyAdmin.

Having two different places for content was kinda nice because I renamed the special sections module to go along with what it contained. That just made the standard main menu easier to manage for me.

Anyway's I guess my only contribution would be that the upgrade script did not move those articles from special sections to content, and the top ten needed a chunk of code removed or commented out.

Darrell
 
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Mon Sep 06, 2004 11:39 am Reply with quote

See Chat's site for the full discussion, as mentioned above. I have pilfered his code for the upgrade fix [only] and it can be found Only registered users can see links on this board! Get registered or login!.
 
View user's profile Send private message
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.4

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©