1
Xman04
WF-Links problems
  • 2005/10/30 23:22

  • Xman04

  • Not too shy to talk

  • Posts: 180

  • Since: 2004/7/12


Hi,

I've just started testing WF-Links on my web site, and several errors are occurring. I'm using version 1.03

When I click on the visit link icon, I receive the following error:

Error [Xoops]:
Class wflAgeHandler does not exist.
Handler Name: age in file modules/wflinks/include/functions.php line 38


In addition, when I go to the WF-links module administration in my administration panel, I receive warnings that the following folders are missing on my server, but are required by WF-links. However, some of those folders already exist on my server. I added the folders that didn't exist, and then updated the entire module. However, I still keep receiving messages that the folders below do not exist.

public_html/modules/wflinks/images
public_html/modules/wflinks/images/thumbs
public_html/uploads/images/screenshots
public_html/uploads/images/screenshots/thumbs
public_html/uploads/images/category
public_html/uploads/images/category/thumbs


Has anyone experienced these same errors and/or have solutions?

Dave

2
McDonald
Re: WF-Links problems
  • 2005/10/31 0:01

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Quote:
Error [Xoops]:
Class wflAgeHandler does not exist.
Handler Name: age in file modules/wflinks/include/functions.php line 38


Change line 20 in visit.php to:

Quote:
//$age_handler = &wfl_gethandler( 'age' );


You also might want to remove the line <div><{$link.urlrating|wordwrap:50:"\n":true}></div> in the files templates/wflinks_linkload.html and templates/wflinks_linkloadsimple.html

Quote:
public_html/modules/wflinks/images
public_html/modules/wflinks/images/thumbs
public_html/uploads/images/screenshots
public_html/uploads/images/screenshots/thumbs
public_html/uploads/images/category
public_html/uploads/images/category/thumbs


Check if the setting of these folders is CHMOD 777.

Best is to use the WF-Links 1.03 version that is part of the Xoops Modules packages.
This version has some fixes regarding to modifying categories in the admin panel.
Read also the threads in the forum on WF-Projects website for other fixes:http://www.wf-projects.com/modules/newbb/index.php?cat=5

3
McDonald
Re: WF-Links problems
  • 2005/10/31 0:24

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


Here are some more fixes for WF-Links 1.03:

Quote:

File: viewcat.php
Description: fix page navigation on link pages.

line 206
========
old : $list_by = "'cid=' . $cid";
new : $list_by = "cid=$cid";

----------------------------------------------------------

File: viewcat.php
Description: pagenav not working in 'Browse links by alphabetical listing'

line 184
========
old : $list_by = "'list=' . $list";
new : $list_by = "list=$list";

----------------------------------------------------------

File: topten.php
Description: Popularity and Rating lists not showing
Solution: typo in line 34, groupid should be pid

lines 34 old
=============
$result = $xoopsDB -> query( "SELECT cid, title, groupid FROM " . $xoopsDB -> prefix( WFLINKS_CAT ) . " WHERE pid=0" );

lines 34 new
=============
$result = $xoopsDB -> query( "SELECT cid, title, pid FROM " . $xoopsDB -> prefix( WFLINKS_CAT ) . " WHERE pid=0" );

Note: In line 46 and 64 of the file viewcat.php the term 'groupid' is used also.
Changing this to 'pid' didn't change anything noticeable.

4
Xman04
Re: WF-Links problems
  • 2005/10/31 3:23

  • Xman04

  • Not too shy to talk

  • Posts: 180

  • Since: 2004/7/12


Thank you! I applied all of your fixes and everything seems to be working fine now.

5
McDonald
Re: WF-Links problems
  • 2005/10/31 23:31

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


These fixes do not fix all the bugs in WF-Links 1.03, but at least you can use it this way.
It is still not possible to view the links alphabetically ordered, no matter the setting in the admin panel.
Also the amount of links behind category names is incorrent when a category contains one or more sub-categories.
Showing the 'popular' icon doesn't work either and the view.gif icon is missing (you have to create your own or use this one Resized Image)
In this thread,http://www.wf-projects.com/modules/newbb/viewtopic.php?topic_id=3&start=20, you can read how to make the items in the category dropdown menu in the submit form on the user site listed alphabetically.

Login

Who's Online

171 user(s) are online (121 user(s) are browsing Support Forums)


Members: 0


Guests: 171


more...

Donat-O-Meter

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

Latest GitHub Commits