Search error

  • 4 Replies
  • 2599 Views
*

Offline NinXx

  • **
  • 2
  • +0/-0
Search error
« on: February 20, 2018, 03:23:27 am »
Hi guys,

XBTIT 2.5.4, no hacks.
I have little trouble here with search torrent.
How can i fix this, please? Ty



*

Offline NinXx

  • **
  • 2
  • +0/-0
Re: Search error
« Reply #1 on: February 20, 2018, 06:21:21 pm »
Any idea? I try clean install - same problem. All file permission is right. I use MySql 5.7
If i try in clean install search any torrent, nothing happend. If i write 2 words to the search input, get mysql error  :o

*

Offline Frankiez

  • **
  • 2
  • +0/-0
Re: Search error
« Reply #2 on: July 03, 2018, 06:38:30 am »
What is the most important content within this forum? I want to know the source.

*

Offline DopeT

  • **
  • 1
  • +0/-0
Re: Search error
« Reply #3 on: July 06, 2018, 01:40:15 am »
this is what i did in torrents.php and the search seems to work ok.
i changed this line  (115 in my script):
Code: [Select]
$query_select .= " filename LIKE '%" .  mysqli_query($GLOBALS['conn'],$testocercato[$k]) . "%'";
to this:
Code: [Select]
$query_select .= " filename LIKE '%" . $testocercato[$k] . "%'";
make a backup just in case. Looks like $testocercato array already holds the strings you just need to loop trough them.
I just notice this is from February but hey maybe will help someone else.

*

Offline Johnwick88

  • **
  • 4
  • +0/-0
Re: Search error
« Reply #4 on: October 08, 2018, 06:59:29 am »
Thank query my sql.  ;D

gclub mobile

 


Powered by EzPortal