1
JamesSAEP
2.0.15 - WF-Download, PD-Download Problem
  • 2006/8/30 13:47

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


I upgraded to 2.0.15 from 2.0.14 and in the admin panel, I try to either edit an existing file or create a new file, the page doens't load all the way and stops after "Allowed Admin File Extensions" box.

I have applied the change mentioned by GIJOE mentioned here, but no luck.

I ended up replacing the form.php with the 2.0.14 version and it solved the problem.

You can see a screenshot
WF-Downloads - 3.1
PD-Downlaods - 1.2

HERE

2
McDonald
Re: 2.0.15 - WF-Download, PD-Download Problem
  • 2006/8/30 14:36

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15



3
krobi
Re: 2.0.15 - WF-Download, PD-Download Problem
  • 2006/8/30 14:37

  • krobi

  • Quite a regular

  • Posts: 290

  • Since: 2003/12/21


oh i see there is the following problem

Quote:
Fatal error: Call to a member function isContainer() on a non-object in C:\Program Files (x86)\xampp\htdocs\xoops-org\class\xoopsform\form.php on line 193


i will look into this problem to solve it in pd-downloads 1.2 - by the way its nice from the XOOPS team that they dont inform developer on such changes

so i have to hear it when its too late, but i hope i can tell you soon a bugfix for that.
Developer of PD-Modules like PD-Downloads and PD-Links.
Webmaster of Power-Dreams.com

4
krobi
Re: 2.0.15 - WF-Download, PD-Download Problem
  • 2006/8/30 15:32

  • krobi

  • Quite a regular

  • Posts: 290

  • Since: 2003/12/21


with this changes from gijoe it works for me

in form.php change this

Quote:
function &getElements($recurse = false){
if (!$recurse) {
return $this->_elements;
} else {
$ret = array();
$count = count($this->_elements);
for ($i = 0; $i < $count; $i++) {
if ( is_string( $this->_elements[$i] ) ) {
$ret[] = $this->_elements[$i];
} else if (!$this->_elements[$i]->isContainer()) {
$ret[] =& $this->_elements[$i];
} else {
$elements =& $this->_elements[$i]->getElements(true);
$count2 = count($elements);
for ($j = 0; $j < $count2; $j++) {
$ret[] =& $elements[$j];
}
unset($elements);
}
}
return $ret;
}
}
Developer of PD-Modules like PD-Downloads and PD-Links.
Webmaster of Power-Dreams.com

5
JamesSAEP
Re: 2.0.15 - WF-Download, PD-Download Problem
  • 2006/8/30 15:49

  • JamesSAEP

  • Just can't stay away

  • Posts: 732

  • Since: 2005/2/28


Yup, that worked. Sorry for the posting. It turned out I missed putting in one of the a } in the pasting.

6
krobi
Re: 2.0.15 - WF-Download, PD-Download Problem
  • 2006/8/30 16:18

  • krobi

  • Quite a regular

  • Posts: 290

  • Since: 2003/12/21


absolutly no problem, it was nice from you to tell me this problem - so i know it now
Developer of PD-Modules like PD-Downloads and PD-Links.
Webmaster of Power-Dreams.com

7
BDW
Re: 2.0.15 - WF-Download, PD-Download Problem
  • 2006/9/5 19:47

  • BDW

  • Quite a regular

  • Posts: 280

  • Since: 2002/9/28


I think this should be renamed and made sticky because there are still people posting with the same problem but with different module (usually ones that begin with PD or WF).