==================================================================
Please DO NOT REPLY to this mail or send email to the developers
about this bug. Please follow-up to Bugzilla using this link:
http://bugs.contribs.org/show_bug.cgi?id=6420
Have you checked the Frequently Asked Questions (FAQ)?
http://wiki.contribs.org/SME_Server:Documentation:FAQ
Please also take the time to read the following useful guide:
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
==================================================================
Summary: 404 after clicking next in search results.
Classification: Contribs
Product: SME Contribs
Version: 7.5
Platform: PC
OS/Version: Unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: smeserver-scuttle
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Up-to-date SME 7.5, gateway mode , standard install of Scuttle contrib.
Use 'search all bookmarks' to return at least 3 pages of results.
Click the 'Next' button. http://servername/scuttle/search.php/all//?page=2
Click it again on page 2 to get a 404 error.
Note the 2 slashes in the url.
I fixed this by editing /opt/scuttle/templates/bookmarks.tpl.php
At line 151, ABOVE this line:
echo '<p class="paging">'. $bfirst .'<span> / </span>'. $bprev .'<span> /
</span>'. $bnext .'<span> / </span>'. $blast .'<span> / </span>'.
sprintf(T_('Page %d of %d'), $page, $totalpages) .'</p>';
Add this:
// page url bug on smeserver-scuttle contrib quick fix by MB 2010-12-01
// remove double slashes
$bfirst = str_replace ('//', '/', $bfirst);
$bprev = str_replace ('//', '/', $bprev);
$bnext = str_replace ('//', '/', $bnext);
$blast = str_replace ('//', '/', $blast);
// restore protocol slashes
$bfirst = str_replace (':/', '://', $bfirst);
$bprev = str_replace (':/', '://', $bprev);
$bnext = str_replace (':/', '://', $bnext);
$blast = str_replace (':/', '://', $blast);
// end of fix
--
Configure bugmail: http://bugs.contribs.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at http://lists.contribs.org/mailman/public/contribteam/