Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue in url #144

Open
kartikdanidhariya opened this issue Nov 21, 2014 · 9 comments
Open

Issue in url #144

kartikdanidhariya opened this issue Nov 21, 2014 · 9 comments

Comments

@kartikdanidhariya
Copy link

repeat language prefix many times so give invalid URL error
i am to use pybbm in django-cms my django-cms version in 2.4.3 Django version is 1.5.1,
django-hvad==0.3 for multilingual
also use django multilingual english and french language prefix are en,fr
But after configure pybbm ,
language prefix is en-us an repeated many times.

like
http://127.0.0.1:8000/en-us/en-us/en-us/en-us/en-us/en-us/en-us/en-us/en-us/en-us/en-us/en-us/en-us/en-us/en-us/en-us/en-us/en-us/en-us/en-us/admin/

it give error "The page isn't redirecting properly"

Also registration and login link also not work i installed django-registration ==1.0 it display "page not found error" in that also same URL problem.

Most important when i open admin in french language so it shows "Page not found error"

so what reason behind that,
Pls help,
Thanks in advance!!!

@GeyseR
Copy link
Contributor

GeyseR commented Nov 21, 2014

Hi
Are you sure that problem in pybbm app and not in project setup or configuration? What happening when you remove pybbm from project (installed_apps, middleware, etc)?

@kartikdanidhariya
Copy link
Author

After removing pybbm from project and middleware everything is fine,
problem occurs only when i add pybbm in install app and middleware .

@GeyseR
Copy link
Contributor

GeyseR commented Nov 24, 2014

One place where pybbm can affect other pages on site - middleware. Can you try to exclude only middleware from your MIDDLEWARE_CLASSES, and leave pybbm installed?

@kartikdanidhariya
Copy link
Author

After remove from MIDDLEWARE it works ,
thank you so much for reply!!!
but emoji not insert properly in message box
see in image theme also not proper,
emoji

@GeyseR
Copy link
Contributor

GeyseR commented Nov 24, 2014

Can you post there your project's language specific settings? It will help to fix problem with middleware

@GeyseR
Copy link
Contributor

GeyseR commented Nov 24, 2014

You can check https://github.com/hovel/pybbm_org repository with simplest pybbm setup

@kartikdanidhariya
Copy link
Author

my language specific settings is,
LANGUAGE_CODE = 'en-us'
LANGUAGES = [
('en', _('English')),
('fr', _('French')),
]

@GeyseR
Copy link
Contributor

GeyseR commented Nov 24, 2014

I can't reproduce your error on my local installation.
Notice that without PybbMiddleware django won't respect user profile's language.
Can you compare your settings with pybbm.org settings and file distinction there? I'm interesting to fix your problem in pybbm core

@kartikdanidhariya
Copy link
Author

i compare all settings are same ,
now there are two issue
1)emoji not insert properly in message text boxes i am describe that in previous post with image
2)Second issue is after edit image in profile defaule avatar image is not change
so how can i solve these problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants