11
keshavarz
Search can't work properly
  • 2006/3/1 21:03

  • keshavarz

  • Just popping in

  • Posts: 24

  • Since: 2005/4/7 1


I updated my website from 2.0.9 to 2.2.4. In the extended profile I added some new fields. Now the profile search doesn't work good. If users want to search based on new fields the search.php can't find any members. search.php has problem only with new fields.
I repared the tables, but the problem didn't fix.



12
keshavarz
Re: Blocks in wfdownloads doesnt work good
  • 2006/1/23 19:53

  • keshavarz

  • Just popping in

  • Posts: 24

  • Since: 2005/4/7 1


Is it server problem? Because in Localhost in XOOPS 2.2.3 it works good. I use Recent Downloads block.



13
keshavarz
Re: Blocks in wfdownloads doesnt work good
  • 2006/1/23 19:45

  • keshavarz

  • Just popping in

  • Posts: 24

  • Since: 2005/4/7 1


No, I have to change the line 45 to:

$download['title'] = substr($download['title'], 0, ($options[2] -1));

If the line 45 is not like above, the title is not there.
The cache anabled is off.



14
keshavarz
Re: Blocks in wfdownloads doesnt work good
  • 2006/1/23 19:32

  • keshavarz

  • Just popping in

  • Posts: 24

  • Since: 2005/4/7 1


Dear m0nty: I updated my site to 2.2.4 and changed the line 45 as before but the problem doesn't fixed. The block doesn't show the true recent file that I added yesterday.



15
keshavarz
Re: Blocks in wfdownloads doesnt work good
  • 2006/1/23 18:10

  • keshavarz

  • Just popping in

  • Posts: 24

  • Since: 2005/4/7 1


OK, thank you very much for your good help. I will update to 2.2.4.



16
keshavarz
Re: Blocks in wfdownloads doesnt work good
  • 2006/1/23 18:02

  • keshavarz

  • Just popping in

  • Posts: 24

  • Since: 2005/4/7 1


Thank you very much. I changed the line 45 as you told. The block works now but it doesn't show the last file that I added yesterday. I have not updated to 2.2.4 yet.



17
keshavarz
Re: Blocks in wfdownloads doesnt work good
  • 2006/1/23 17:43

  • keshavarz

  • Just popping in

  • Posts: 24

  • Since: 2005/4/7 1


The MySQL hasn'r error. When I turn smarty debug ON and saw it, the varibale TITLE of the file is Empty. When I turn PHP debug ON a lot of notice appeare like these:

Notice [PHP]: Only variables should be assigned by reference in file kernel/profile.php line 94
Notice [PHP]: Only variables should be assigned by reference in file include/common.php line 215
Notice [PHP]: Only variables should be assigned by reference in file kernel/config.php line 239
Notice [PHP]: Only variables should be assigned by reference in file kernel/config.php line 239
Notice [PHP]: Only variables should be assigned by reference in file kernel/groupperm.php line 229
Notice [PHP]: Only variables should be assigned by reference in file kernel/blockinstance.php line 169
Notice [PHP]: Only variable references should be returned by reference in file kernel/blockinstance.php line 111
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 151
Notice [PHP]: Only variables should be assigned by reference in file kernel/groupperm.php line 229
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 154
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 159
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 159
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 159
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 159
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 159
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 159
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 159



18
keshavarz
Re: Blocks in wfdownloads doesnt work good
  • 2006/1/23 17:23

  • keshavarz

  • Just popping in

  • Posts: 24

  • Since: 2005/4/7 1


I checked it. I changed it before to display 50 character of the title. As I told before, it work's fine in Localhost.



19
keshavarz
Re: Blocks in wfdownloads doesnt work good
  • 2006/1/23 16:05

  • keshavarz

  • Just popping in

  • Posts: 24

  • Since: 2005/4/7 1


OK. I reported. In this block Template When I change the $download.title to $download.id the block shows the ID of the files but it still doesn't show the new files that I added recently.



20
keshavarz
Blocks in wfdownloads doesn't work good
  • 2006/1/23 15:11

  • keshavarz

  • Just popping in

  • Posts: 24

  • Since: 2005/4/7 1


Recently I updated my wfdownloads 2.05b to wfdownloads 3RC1. Now the New Downloads block doesn't work good. It only shows the date and doesn't show the title of the files also when I add a file the block doesn't show it.
I don't have this problems in Localhost. I don't know why the blocks doesn't work in Server. The templates are correct. I use:

XOOPS Version: 2.2.3
Module Name/Version: wfdownload 3 RC 01
PHP Version: 4.4.2
MySQL Version: 4.1.14-standard
Web Server Software (Apache/IIS/Other): Apache 1.3.34 (Unix)
Operating System: Unix
Custom template: (Yes/No) No




TopTop
« 1 (2) 3 »



Login

Who's Online

241 user(s) are online (137 user(s) are browsing Support Forums)


Members: 0


Guests: 241


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