11
hrac
Re: Problem with search function in mydownloads 1.5
  • 2008/8/8 21:26

  • hrac

  • Quite a regular

  • Posts: 305

  • Since: 2002/7/15


I found the solution:

there is one more include to be replaced with include_once in search.inc.php.

12
trabis
Re: Problem with search function in mydownloads 1.5
  • 2008/8/8 21:47

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Hum, sorry, I have here version 1.45 and this version does not have that line.

But good to know you manage to do it!

13
lapsa2000
Re: Problem with search function in mydownloads 1.5
  • 2008/8/9 2:13

  • lapsa2000

  • Quite a regular

  • Posts: 247

  • Since: 2006/10/27


as I solve the problem? mydownload 1.5 .... some help?
Persevera...y seguiras
Perseverando !!!

14
hrac
Re: Problem with search function in mydownloads 1.5
  • 2008/8/9 4:30

  • hrac

  • Quite a regular

  • Posts: 305

  • Since: 2002/7/15


my version is 1.5 too and I solved problem as I explained.

15
lapsa2000
Re: Problem with search function in mydownloads 1.5
  • 2008/8/9 5:15

  • lapsa2000

  • Quite a regular

  • Posts: 247

  • Since: 2006/10/27


I made all these steps:

1 -

Search for:
mainheader

Replace for:
mydl_mainheader

2 -

/*
function mainheader($mainlink=1) {
echo "<br /><br /><p><a href="".XOOPS_URL."/modules/mydownloads/index.php"><img src="".XOOPS_URL."/modules/mydownloads/images/logo-en.gif" border="0" alt"" /></a></p><br /><br />";
}
*/

3-
Go to header.php and change:

include XOOPS_ROOT_PATH."/modules/mydownloads/include/functions.php";

with


include_once(XOOPS_ROOT_PATH."/modules/mydownloads/include/functions.php");



fix what is the search, but I get error when entering the module mydonwload, from the menu.

Regards !!!
Persevera...y seguiras
Perseverando !!!

16
hrac
Re: Problem with search function in mydownloads 1.5
  • 2008/8/9 5:21

  • hrac

  • Quite a regular

  • Posts: 305

  • Since: 2002/7/15


undo all these changes and make only this change:

in include/search.inc.php file

change this
include XOOPS_ROOT_PATH."/modules/mydownloads/include/functions.php";
witnh this one
include_once XOOPS_ROOT_PATH."/modules/mydownloads/include/functions.php";

all of the remaining files should not be changed.

17
lapsa2000
Re: Problem with search function in mydownloads 1.5
  • 2008/8/9 5:39

  • lapsa2000

  • Quite a regular

  • Posts: 247

  • Since: 2006/10/27


ohhh Thanck !!! its work now !!!

Regards !!!
Persevera...y seguiras
Perseverando !!!

18
lapsa2000
Re: Problem with search function in mydownloads 1.5
  • 2008/8/9 15:03

  • lapsa2000

  • Quite a regular

  • Posts: 247

  • Since: 2006/10/27


return error! install the wfdownload and when I search appears:

Fatal error: Cannot redeclare convertorderbyin() (previously declared in C:\Inetpub\vhosts\misitio.com\httpdocs\modules\wfdownloads\include\functions.php:728) in C:\Inetpub\vhosts\misitio.com\httpdocs\modules\mydownloads\include\functions.php on line 86
Persevera...y seguiras
Perseverando !!!

19
trabis
Re: Problem with search function in mydownloads 1.5
  • 2008/8/9 19:13

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Quote:

lapsa2000 wrote:
return error! install the wfdownload and when I search appears:

Fatal error: Cannot redeclare convertorderbyin() (previously declared in C:\Inetpub\vhosts\misitio.com\httpdocs\modules\wfdownloads\include\functions.php:728) in C:\Inetpub\vhosts\misitio.com\httpdocs\modules\mydownloads\include\functions.php on line 86


No sure why you are using 2 downloads modules but, it seems my downloads are using functions with the same name as wfdownloads so, you will have to go for step 1 and rename all funntions inside mydownloads/include/functions that are not prefixed already with mydl_. Use a search and replace program to do it or wait for a new release of mydownloads. You can also disable temporarly one of the modules from search opening xoops_version.php and setting 'hassearch' to 0 to avoid the conflict (conflict may arise again using blocks of both this modules together).

20
lapsa2000
Re: Problem with search function in mydownloads 1.5
  • 2008/8/10 5:12

  • lapsa2000

  • Quite a regular

  • Posts: 247

  • Since: 2006/10/27


thanks for your answer, better ... I will wait for a new version.

Greetings!
Persevera...y seguiras
Perseverando !!!

Login

Who's Online

150 user(s) are online (116 user(s) are browsing Support Forums)


Members: 0


Guests: 150


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