1
lungor
wf-download problem in xoops 2.2
  • 2006/8/26 16:19

  • lungor

  • Just popping in

  • Posts: 11

  • Since: 2003/9/4 1


I have installed XOOPS 2.2 in my system and installed the wf-download module as usual. However, when I try to go through category. It shows nothing.
You may visit my webhttp://www.vincoyiu.com/modules/PDdownloads/
And click "testing" category. From the index page, you find that there is one file. However, when you click into the category. It shows nothing. When you click the latest listing, rating or popularity. It shows up again. Can anyone help to fix this problem.


Resized Image
to
Resized Image

2
krobi
Re: wf-download problem in xoops 2.2
  • 2006/8/26 17:39

  • krobi

  • Quite a regular

  • Posts: 290

  • Since: 2003/12/21


hm it looks like pd-downloads 1.0? not wf-downloads.

have you installed pd-downloads 1.0? than please install pd-downloads 1.2 and try again.
Developer of PD-Modules like PD-Downloads and PD-Links.
Webmaster of Power-Dreams.com

3
lungor
Re: wf-download problem in xoops 2.2
  • 2006/8/27 16:17

  • lungor

  • Just popping in

  • Posts: 11

  • Since: 2003/9/4 1


I have installed both pd-download and wf-download. The pd-download shown in the screen cap is 1.2 version.
I seems that the problem comes from the category management. I have created one category and one sub-category.

testing
--testing1

When I clicked into testing, it shows nothing. The other function is ok, except browsing the content by category. For me, the problem also appears in WF-FAQ.

4
davidl2
Re: wf-download problem in xoops 2.2
  • 2006/8/27 16:26

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


If you have wf & pd downloads both installed, they may clash.

5
lungor
Re: wf-download problem in xoops 2.2
  • 2006/8/27 16:40

  • lungor

  • Just popping in

  • Posts: 11

  • Since: 2003/9/4 1


I just tried to fix the problem and it works in the following amendment.

original script in viewcat.php
_------------------------------------------

global $xoopsModuleConfig, $myts, $xoopsModules;

$start = isset($_GET['start']) ? intval($_GET['start']) : 0;
$orderby = isset($_GET['orderby']) ? convertorderbyin($_GET['orderby']) : $xoopsModuleConfig['filexorder'];
$cid = empty( $_GET['cid'] ) ? 0 : intval( $_GET['cid'] ) ;
$uid = empty( $_GET['uid'] ) ? 0 : intval( $_GET['uid'] ) ;
$list = isset($_GET['list']) && $myts->addslashes($_GET['list']) ? $_GET['list'] : 0;
$selectdate = (isset($_GET['selectdate']) ? intval($_GET['selectdate']) : 0);
$xoopsOption['template_main'] = "PDdownloads{$mydirnumber}_viewcat.html";
$groups = (is_object($xoopsUser)) ? $xoopsUser->getGroups() : XOOPS_GROUP_ANONYMOUS;
$gperm_handler = &xoops_gethandler('groupperm');
$time_cur = time();
$module_id = $xoopsModule->getVar('mid');

---------------------------------------------------cut and paste at the top
----------------------------------------------------------
/**
* Begin Main page Heading etc
*/

include XOOPS_ROOT_PATH . '/header.php';
$catarray['imageheader'] = PDd_imageheader();
$catarray['letters'] = PDd_letters();
$catarray['toolbar'] = PDd_toolbar();
$xoopsTpl->assign('catarray', $catarray);

/**
* Breadcrumb
*/
-------------------------------------------
revised script in viewcat.php
_------------------------------------------

/**
* Begin Main page Heading etc
*/

include XOOPS_ROOT_PATH . '/header.php';
$catarray['imageheader'] = PDd_imageheader();
$catarray['letters'] = PDd_letters();
$catarray['toolbar'] = PDd_toolbar();
$xoopsTpl->assign('catarray', $catarray);

/**
* Breadcrumb
*/
global $xoopsModuleConfig, $myts, $xoopsModules;

$start = isset($_GET['start']) ? intval($_GET['start']) : 0;
$orderby = isset($_GET['orderby']) ? convertorderbyin($_GET['orderby']) : $xoopsModuleConfig['filexorder'];
$cid = empty( $_GET['cid'] ) ? 0 : intval( $_GET['cid'] ) ;
$uid = empty( $_GET['uid'] ) ? 0 : intval( $_GET['uid'] ) ;
$list = isset($_GET['list']) && $myts->addslashes($_GET['list']) ? $_GET['list'] : 0;
$selectdate = (isset($_GET['selectdate']) ? intval($_GET['selectdate']) : 0);
$xoopsOption['template_main'] = "PDdownloads{$mydirnumber}_viewcat.html";
$groups = (is_object($xoopsUser)) ? $xoopsUser->getGroups() : XOOPS_GROUP_ANONYMOUS;
$gperm_handler = &xoops_gethandler('groupperm');
$time_cur = time();
$module_id = $xoopsModule->getVar('mid');

---------------------------------------------------
I used to test the file of $cid in the original script. It returns null. Can anyone tell why it happens?

6
krobi
Re: wf-download problem in xoops 2.2
  • 2006/8/27 18:32

  • krobi

  • Quite a regular

  • Posts: 290

  • Since: 2003/12/21


i would recommend you to try pd-downloads 1.2 and not 1.0.

we did many fixed in 1.2 so maybe this bug is also fixed - give it a try.
Developer of PD-Modules like PD-Downloads and PD-Links.
Webmaster of Power-Dreams.com

7
lungor
Re: wf-download problem in xoops 2.2
  • 2006/8/28 2:04

  • lungor

  • Just popping in

  • Posts: 11

  • Since: 2003/9/4 1


Mine is already 1.2 la.....

8
krobi
Re: wf-download problem in xoops 2.2
  • 2006/8/28 3:09

  • krobi

  • Quite a regular

  • Posts: 290

  • Since: 2003/12/21


oh ok sorry,

could you give me more information about your server and XOOPS configuration please

so i could try to reproduce this problem, you are using pd- and wf-downloads at the same time? what version of wf-downloads do you use?

would be nice if you could give me that information, because when i can reproduce this problem i can try to fix it.
Developer of PD-Modules like PD-Downloads and PD-Links.
Webmaster of Power-Dreams.com

9
lungor
Re: wf-download problem in xoops 2.2
  • 2006/8/28 4:01

  • lungor

  • Just popping in

  • Posts: 11

  • Since: 2003/9/4 1


Mine is apache, mysql, and xoops-2.2.4-tw-big5

Resized Image

Attached here is the screen for your reference.
The problem also exists in smartfaq.

here is the link:
http://www.vincoyiu.com/modules/smartfaq/

You may found that it drives to a blank page. I have no idea how to fix the problem...

Login

Who's Online

225 user(s) are online (135 user(s) are browsing Support Forums)


Members: 0


Guests: 225


more...

Donat-O-Meter

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

Latest GitHub Commits