The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!
You are not logged in.
Pages: 1
When i try to search a video for example with word "mom"
It shows pagination
1
2
3
...
23
24
NEXT
But when i click on page 24,23,22,20 i am getting this message only
--------
We're sorry, but no videos found while searching for 'MOM'!
------
Offline
Hmmm...checking!
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
I cannot connect with ssh. Please edit /etc/sphinx/sphinx.conf and find max_matches and set it to 10000. If you dont have that setting, add max_matches = 10000 in searchd {}
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
I have changed this, Now when i search "mom" from 24 pages now i am getting 90 pages. Also from page 65-90 there is no video and have this message again
It was browse_per_page not search_per_page at $offset so i have changed
$offset = ($page >= 2) ? (($page - 1) * $this->vcfg['browse_per_page']) : 0;
with
$offset = ($page >= 2) ? (($page - 1) * $this->vcfg['search_per_page']) : 0;
And works now
Last edited by Eri (2014-03-21 12:40:54)
Offline
Hello Eri, I have the same problem, but I haven't the line "$offset" in the sphinx.conf file, is this an addition?
I have different results from different page, for exemple, search "mom" -->
page 1 = 19 results
page 2 = 1
page 3 = 0
page 4 = 1
page 5 = 2
page 6 = 30 ...
Last edited by MrPulse (2014-04-04 11:32:46)
Offline
This is in modules/video/components/search.php
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
I have tried to replace the line but nothing changed. I noticed there are also a lot of duplicate videos in the search results (all kind of search like teen or milf, not only short search)
... Adrian I reloaded original files (sphinx.conf and search.php) and now search return only a "restricted access" page both with sphinx and simple search...
I asked to my hosting to replace these files with a recent backup (one week ago, sphinx was installed one month ago), but all "search.php" backup file contain only a little part of file (without sphinx code), instead the original file has 113 lines of code, I suppose my hosting is kidding me:
<?php
defined('_VALID') or die('Restricted Access!');
define('_SEARCH', TRUE);
class VModule_search
{
public function __construct()
{
}
public function render()
{
$type = VUri::request(1);
if (VModule::enabled($type)) {
VComponent::load('search', $type);
} else {
VModule::load('404', TRUE);
}
}
}
?>
Last edited by MrPulse (2014-04-05 09:37:48)
Offline
They replaced modules/search/search.php and it should be modules/video/components/search.php
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
ok .. I'm a mess, error is mine. Now search works but there is still the page problem, with different video results from different page.. (I tried to change 1000 to 10000 in sphinx.conf and to replace "browse_per_page with search_per_page), any idea?
Offline
Email me ssh and i will check.
Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds
Offline
Pages: 1