group name param not passing

Gradwank
Posts: 67
Joined: Tue Jan 29, 2013 2:57 pm

group name param not passing

Post 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?
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: group name param not passing

Post by admin »

make sure i've setup crontab
Don't forget to run script update
Gradwank
Posts: 67
Joined: Tue Jan 29, 2013 2:57 pm

Re: group name param not passing

Post by Gradwank »

crontab is setup, problem persists - just shots all thumbs from all groups.
Gradwank
Posts: 67
Joined: Tue Jan 29, 2013 2:57 pm

Re: group name param not passing

Post by Gradwank »

I am using external DB.
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: group name param not passing

Post by admin »

ok, what url w\o rewrite that doesnt work ?
Don't forget to run script update
Gradwank
Posts: 67
Joined: Tue Jan 29, 2013 2:57 pm

Re: group name param not passing

Post 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?
Gradwank
Posts: 67
Joined: Tue Jan 29, 2013 2:57 pm

Re: group name param not passing

Post by Gradwank »

Sorry, that does not used on other installs.

Why cannot pass group_name in rewrite rule?
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: group name param not passing

Post by admin »

It can be there

does it work w\o rewrite ?
Don't forget to run script update
Gradwank
Posts: 67
Joined: Tue Jan 29, 2013 2:57 pm

Re: group name param not passing

Post 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.
admin
Site Admin
Posts: 37202
Joined: Wed Sep 10, 2008 11:43 am

Re: group name param not passing

Post by admin »

--VIDSbadgirls

pretty strange name
maybe - should be escaped in rewrites or something like that
Don't forget to run script update
Post Reply