- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 53 guest(s) and 2 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - GT Error in DLs & WLs when Sort (A\D) [ ]
Author
Message
davnel
Nuke Soldier
Joined: Mar 17, 2005
Posts: 12
Posted:
Fri Apr 22, 2005 12:58 am
If I did a search http://www.nukebling.com/downloads-search-google.html
Then clicked on one of the 'sort' filters
Sort Downloads by: Title (A\D) Date (A\D) Rating (A\D) Popularity (A\D)
I get this error
Quote:
The html tags you attempted to use are not allowed
The url appears as http://www.nukebling.com/downloads-search-google-ordertitleA.html but just displays an error
Anybody got this fixed??
Currently using nuke7.6 RC4
GT-Downloads.php now looks like...
Code:
<?php
$urlin = array(
"'(?<!/)modules.php\?name=Downloads&d_op=ratelink&lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=AddDownload([a-zA-Z#]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=MostPopular&ratenum=([0-9]*)&ratetype=([a-z]*)([a-zA-Z#]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=MostPopular([a-zA-Z#]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=NewDownloads&newdownloadshowdays=([0-9]*)([a-zA-Z#]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=NewDownloadsDate&selectdate=([0-9]*)([a-zA-Z#]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=NewDownloads([a-zA-Z#]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=TopRated&ratenum=([0-9]*)&ratetype=([a-z]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=TopRated([a-zA-Z#]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=brokendownload&lid=([0-9]*)([a-zA-Z#]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=getit&lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=modifydownloadrequest&lid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=outsidedownloadsetup&lid=([0-9]*)([a-zA-Z#]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=ratedownload&lid=([0-9]*)&ttitle=([/:\-\'{}()\,\._&a-zA-Z0-9+= ]*)'",
//"'(?<!/)modules.php\?name=Downloads&d_op=search&query=([a-zA-Z0-9\_\-\#]*)&min=([0-9]*)&orderby=([a-zA-Z]*)&show=([0-9]*)'",
//"'(?<!/)modules.php\?name=Downloads&d_op=search&query=([a-zA-Z0-9\_\-\#]*)&orderby=([a-zA-Z]*)([a-zA-Z#]*)'",
//"'(?<!/)modules.php\?name=Downloads&d_op=search&query=([a-zA-Z0-9\_\-]*)([a-zA-Z#]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=search&query=([/:\-\'{}()\,\._&a-zA-Z0-9+=]*)&min=([0-9]*)&orderby=([a-zA-Z0-9+]*)&show=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=search&query=([/:\-\'{}()\,\._&a-zA-Z0-9+= ]*)&orderby=([a-zA-Z0-9+]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=search&query=([/:\-\'{}()\,\._&a-zA-Z0-9+=]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=viewdownload&cid=([0-9]*)&min=([0-9]*)&orderby=([a-zA-Z]*)&show=([0-9]*)([a-zA-Z#]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=viewdownload&cid=([0-9]*)&orderby=([a-zA-Z]*)([a-zA-Z0-9#]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=viewdownload&cid=([a-zA-Z0-9]*)([a-zA-Z0-9\_\-\# ]*)'",
"'(?<!/)modules.php\?name=Downloads&d_op=viewdownload&cid=([0-9]*)'",
"'(?<!/)modules.php\?name=Downloads&file=ns_uploads_file&type=file'",
"'(?<!/)modules.php\?name=Downloads&d_op=viewdownload(comments|details|editorial)&lid=([0-9]*)&ttitle=([/:\-\'{}()\,\._&a-zA-Z0-9+= ]*)([a-zA-Z#]*)'",
"'(?<!/)modules.php\?name=Downloads'",
"'(?<!/)modules.php\?name=Your_Account&op=userinfo&uname=([a-zA-Z0-9_-]*)'",
"'(?<!/)modules.php\?name=Search&query=([a-zA-Z0-9_-]*)'"
);
$urlout = array(
"downloads-rate-\\1.html",
"downloads-add.html\\1",
"downloads-pop-\\1-\\2.html\\3",
"downloads-pop.html\\1",
"downloads-new-showday-\\1.html\\2",
"downloads-new-selectday-\\1.html\\2",
"downloads-new.html\\1",
"downloads-top-\\1-\\2.html",
"downloads-top.html\\1",
"downloads-broken-\\1.html\\2",
"downloads-file-\\1.html",
"downloads-mod-\\1.html",
"downloads-outside-\\1.html\\2",
"downloads-rate-\\1-\\2.html",
"downloads-search-\\1-\\2-order\\3-\\4.html",
"downloads-search-\\1-order\\2.html",
"downloads-search-\\1.html\\2",
"downloads-cat-\\1-\\2-order\\3-\\4.html\\5",
"downloads-cat-\\1-order\\2.html\\3",
"downloads-cat-\\1.html\\2",
"downloads-cat-\\1.html",
"download-upload.html",
"downloads-\\1-\\2-\\3.html",
"downloads.html",
"userinfo-\\1.html",
"search-\\1.html"
);
?>
and .htaccess
Code:
#Downloads
RewriteRule ^downloads-rate-([0-9]*).html modules.php?name=Downloads&d_op=ratelink&lid=$1
RewriteRule ^downloads-add.html([[:punct:]\#a-zA-Z]*) modules.php?name=Downloads&d_op=AddDownload$1
RewriteRule ^downloads-pop-([0-9]*)-([a-z]*).html([[:punct:]\#a-zA-Z]*) modules.php?name=Downloads&d_op=MostPopular&ratenum=$1&ratetype=$2$3
RewriteRule ^downloads-pop.html([[:punct:]\#a-zA-Z]*) modules.php?name=Downloads&d_op=MostPopular$1
RewriteRule ^downloads-new-showday-([0-9]*).html([[:punct:]\#a-zA-Z]*) modules.php?name=Downloads&d_op=NewDownloads`"wdownloadshowdays=$1$2
RewriteRule ^downloads-new-selectday-([0-9]*).html([[:punct:]\#a-zA-Z]*) modules.php?name=Downloads&d_op=NewDownloadsDate&selectdate=$1$2
RewriteRule ^downloads-new.html([[:punct:]\#a-zA-Z]*) modules.php?name=Downloads&d_op=NewDownloads$1
RewriteRule ^downloads-top-([0-9]*)-([a-z]*).html modules.php?name=Downloads&d_op=TopRated&ratenum=$1&ratetype=$2
RewriteRule ^downloads-top.html([[:punct:]\#a-zA-Z]*) modules.php?name=Downloads&d_op=TopRated$1
RewriteRule ^downloads-broken-([0-9]*).html([[:punct:]\#a-zA-Z]*) modules.php?name=Downloads&d_op=brokendownload&lid=$1$2
RewriteRule ^downloads-file-([0-9]*).html modules.php?name=Downloads&d_op=getit&lid=$1
RewriteRule ^downloads-mod-([0-9]*).html modules.php?name=Downloads&d_op=modifydownloadrequest&lid=$1
RewriteRule ^downloads-outside-([0-9]*).html([[:punct:]\#a-zA-Z]*) modules.php?name=Downloads&d_op=outsidedownloadsetup&lid=$1$2
RewriteRule ^downloads-rate-([0-9]*)-([[:punct:]/:\-\'{}()\%._&a-zA-Z0-9+=\ ]*).html modules.php?name=Downloads&d_op=ratedownload&lid=$1&ttitle=$2
RewriteRule ^downloads-search-([[:punct:]/:\-\'{}()\%._&a-zA-Z0-9+=\ ]*)-([0-9]*)-order([a-zA-Z]*)-([0-9]*).html modules.php?name=Downloads&d_op=search&query=$1&min=$2("derby=$3&show=$4
RewriteRule ^downloads-search-([[:punct:]/:\-\'{}()\%._&a-zA-Z0-9+=\ ]*)-order([a-zA-Z]*).html([[:punct:]\#a-zA-Z]*) modules.php?name=Downloads&d_op=search&query=$1("derby=$2
RewriteRule ^downloads-search-([[:punct:]/:\-\'{}()\%._&a-zA-Z0-9+=\ ]*).html([[:punct:]\#a-zA-Z]*) modules.php?name=Downloads&d_op=search&query=$1$2
RewriteRule ^downloads-cat-([0-9]*)-([0-9]*)-order([a-zA-Z]*)-([0-9]*).html([[:punct:]\#a-zA-Z]*) modules.php?name=Downloads&d_op=viewdownload&cid=$1&min=$2("derby=$3&show=$4$5
RewriteRule ^downloads-cat-([0-9]*)-order([a-zA-Z]*).html([[:punct:]\#a-zA-Z]*) modules.php?name=Downloads&d_op=viewdownload&cid=$1("derby=$2$3
RewriteRule ^downloads-cat-([a-zA-Z0-9]*).html([[:punct:]\#a-zA-Z0-9]*) modules.php?name=Downloads&d_op=viewdownload&cid=$1$2
RewriteRule ^downloads-cat-([0-9]*).html modules.php?name=Downloads&d_op=viewdownload&cid=$1
RewriteRule ^downloads-(comments|details|editorial)-([0-9]*)-([[:punct:]/:\-\'{}()\%._&a-zA-Z0-9+=\ ]*).html* modules.php?name=Downloads&d_op=viewdownload$1&lid=$2&ttitle=$3
RewriteRule ^downloads.html modules.php?name=Downloads
_________________$$ Nuke Bling ££ | Hot Crawl ~ search | 1nfoweb - Free eLearning | BlogSpot
mikeshields
Sergeant
Joined: Feb 21, 2004
Posts: 101
Posted:
Sun Aug 07, 2005 9:52 pm
ashish54
Sergeant
Joined: Dec 20, 2004
Posts: 83
Posted:
Sun Aug 07, 2005 11:08 pm
hello danvel and mikeshields
i think your problem will come to an end now.
in htaccess,change this code
Code:
RewriteRule ^downloads-search-([[:punct:]/:\-\'{}()\%._&a-zA-Z0-9+=\ ]*)-([0-9]*)-order([a-zA-Z]*)-([0-9]*).html modules.php?name=Downloads&d_op=search&query=$1&min=$2("derby=$3&show=$4
RewriteRule ^downloads-search-([[:punct:]/:\-\'{}()\%._&a-zA-Z0-9+=\ ]*)-order([a-zA-Z]*).html([[:punct:]\#a-zA-Z]*) modules.php?name=Downloads&d_op=search&query=$1("derby=$2
with
Code:
RewriteRule ^downloads-search-([[:punct:]/:\-\'{}()\%._&a-zA-Z0-9+=\ ]*)-([0-9]*)-order([a-zA-Z]*)-([0-9]*).html modules.php?name=Downloads&d_op=search&query=$1&min=$2&orderby=$3&show=$4
RewriteRule ^downloads-search-([[:punct:]/:\-\'{}()\%._&a-zA-Z0-9+=\ ]*)-order([a-zA-Z]*).html([[:punct:]\#a-zA-Z]*) modules.php?name=Downloads&d_op=search&query=$1&orderby=$2
hope that helps.if it helps ,please let me know.
mikeshields
Sergeant
Joined: Feb 21, 2004
Posts: 101
Posted:
Wed Aug 10, 2005 4:11 am
Didn't work for me
also having pronlems with downloads-cat-**.html as the page wants to go to downloads-cat-**-10-ordertitleA-10.html BUT all I get is the
Quote:
The html tags you attempted to use are not allowed
page
Do you have the entire GT-Downloads.php and the part for the htaccess
Thanks
_________________Turkish Real Estate | Health & Safety Resources | Health & Safety Consultants | Blog
unknown_admi
Sergeant
Joined: Aug 11, 2005
Posts: 133
Posted:
Thu Aug 11, 2005 9:06 am
mikeshields
Sergeant
Joined: Feb 21, 2004
Posts: 101
Posted:
Thu Aug 11, 2005 10:19 am
mikeshields
Sergeant
Joined: Feb 21, 2004
Posts: 101
Posted:
Sun Aug 14, 2005 11:27 pm
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum