Page 1 of 2
group name param not passing
Posted: Tue Feb 05, 2013 3:59 pm
by Gradwank
I am setting up new site.
The code etc is all fine and works on testing setup, but on new server, the group_name param seems to be ignored always.
Any reason? Any setting I might have missed?
Re: group name param not passing
Posted: Tue Feb 05, 2013 4:24 pm
by admin
make sure i've setup crontab
Re: group name param not passing
Posted: Wed Feb 06, 2013 2:07 pm
by Gradwank
crontab is setup, problem persists - just shots all thumbs from all groups.
Re: group name param not passing
Posted: Wed Feb 06, 2013 2:13 pm
by Gradwank
I am using external DB.
Re: group name param not passing
Posted: Wed Feb 06, 2013 2:26 pm
by admin
ok, what url w\o rewrite that doesnt work ?
Re: group name param not passing
Posted: Wed Feb 06, 2013 3:00 pm
by Gradwank
Issue is in rewrite it seems.
RewriteRule ^pics\.shtml$ /scj/tube/index.php?force_template=mc_page_pics&content_type=image&group_name=PICSbadgirls [L]
Is one example, which works fine on other installs. what might issue be here?
Re: group name param not passing
Posted: Wed Feb 06, 2013 3:03 pm
by Gradwank
Sorry, that does not used on other installs.
Why cannot pass group_name in rewrite rule?
Re: group name param not passing
Posted: Wed Feb 06, 2013 3:06 pm
by admin
It can be there
does it work w\o rewrite ?
Re: group name param not passing
Posted: Wed Feb 06, 2013 3:11 pm
by Gradwank
yes it works when passing in other variables.
RewriteRule ^videos/(.*)\.shtml$ /scj/tube/index.php?force_template=mc_niche_vids&order=ctr&group_name=$1&content_type=movie [L]
This rule works fine, for example?
But..
RewriteRule ^vids\.shtml$ /scj/tube/index.php?force_template=mc_page_vids&content_type=movie&group_name=--VIDSbadgirls [QSA,L]
This does not, but it does load correct template and content type, jus tnot group name.
Re: group name param not passing
Posted: Wed Feb 06, 2013 3:14 pm
by admin
--VIDSbadgirls
pretty strange name
maybe - should be escaped in rewrites or something like that