Jump to content

Recommended Posts

Posted

Hello, recently ive made a ecommerce site but for some reason when i deploy it on heliohost it throws me to the error 500 page. I have experience deploying django sites to heliohost, but this one has pissed me off. Ofc. i did the stuff that needs to be done, the htaccess file and dispatch.wsgi. On localhost it works fine, maybe a module is missing? 

Posted

This is Krydos question and I will escalate to him right now or if other root admins knows what’s causing the problem.

 

Escalating.

Posted

Here's your error

[Tue May 05 02:28:30.893205 2020] [core:error] [pid 86746] [client x.x.x.x:51468] AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace., referer: https://www.helionet.org/index/topic/39594-krydos-django-ecommerce-site-showing-err-500-on-deployment/
This means you have a redirect loop. Probably in your .htaccess file.
Posted

i dont have any .htaccess files that redirect anywhere, just using django's setting SECURE_SSL_REDIRECT = True which i added just now and nothing changed 

Posted

update: i believe the redirect loop has been fixed somehow... but new error popped up which I will need to look at the error like krydos provided me 

[Tue May 05 17:29:00.117293 2020] [wsgi:error] [pid 51141] [client 172.68.141.225:62962]   File "/home/painless/public_html/store.painlesspvp.ml/Index/dispatch.wsgi", line 10, in <module>

[Tue May 05 17:29:00.064083 2020] [wsgi:error] [pid 51141] [client 172.68.141.225:62962] mod_wsgi (pid=51141): Exception occurred processing WSGI script '/home/painless/public_html/store.painlesspvp.ml/Index/dispatch.wsgi'.
Posted

[Tue May 05 18:26:44.452842 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682] Traceback (most recent call last):, referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453011 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]   File "/home/painless/public_html/store.painlesspvp.ml/Index/dispatch.wsgi", line 10, in <module>, referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453047 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]     application = get_wsgi_application(), referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453093 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]   File "/usr/local/python3.7/lib/python3.7/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application, referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453136 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]     django.setup(set_prefix=False), referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453167 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]   File "/usr/local/python3.7/lib/python3.7/site-packages/django/__init__.py", line 24, in setup, referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453188 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]     apps.populate(settings.INSTALLED_APPS), referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453227 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]   File "/usr/local/python3.7/lib/python3.7/site-packages/django/apps/registry.py", line 89, in populate, referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453254 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]     app_config = AppConfig.create(entry), referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453296 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]   File "/usr/local/python3.7/lib/python3.7/site-packages/django/apps/config.py", line 90, in create, referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453317 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]     module = import_module(entry), referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453345 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]   File "/usr/local/python3.7/lib/python3.7/importlib/__init__.py", line 127, in import_module, referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453365 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]     return _bootstrap._gcd_import(name[level:], package, level), referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453392 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]   File "<frozen importlib._bootstrap>", line 1006, in _gcd_import, referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453421 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]   File "<frozen importlib._bootstrap>", line 983, in _find_and_load, referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453460 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]   File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked, referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453523 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682] ModuleNotFoundError: No module named 'allauth', referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
If you use a module that isn't installed it will give a 500 error.

# /usr/local/python3.7/bin/pip3.7 install allauth
Collecting allauth
  Could not find a version that satisfies the requirement allauth (from versions: )
No matching distribution found for allauth
Let me know what module you need installed.
Posted
[Tue May 05 18:26:44.452842 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682] Traceback (most recent call last):, referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453011 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]   File "/home/painless/public_html/store.painlesspvp.ml/Index/dispatch.wsgi", line 10, in <module>, referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453047 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]     application = get_wsgi_application(), referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453093 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]   File "/usr/local/python3.7/lib/python3.7/site-packages/django/core/wsgi.py", line 12, in get_wsgi_application, referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453136 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]     django.setup(set_prefix=False), referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453167 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]   File "/usr/local/python3.7/lib/python3.7/site-packages/django/__init__.py", line 24, in setup, referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453188 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]     apps.populate(settings.INSTALLED_APPS), referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453227 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]   File "/usr/local/python3.7/lib/python3.7/site-packages/django/apps/registry.py", line 89, in populate, referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453254 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]     app_config = AppConfig.create(entry), referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453296 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]   File "/usr/local/python3.7/lib/python3.7/site-packages/django/apps/config.py", line 90, in create, referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453317 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]     module = import_module(entry), referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453345 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]   File "/usr/local/python3.7/lib/python3.7/importlib/__init__.py", line 127, in import_module, referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453365 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]     return _bootstrap._gcd_import(name[level:], package, level), referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453392 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]   File "<frozen importlib._bootstrap>", line 1006, in _gcd_import, referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453421 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]   File "<frozen importlib._bootstrap>", line 983, in _find_and_load, referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453460 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682]   File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked, referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
[Tue May 05 18:26:44.453523 2020] [wsgi:error] [pid 109280] [client 108.162.216.123:52682] ModuleNotFoundError: No module named 'allauth', referer: https://www.helionet.org/index/topic/39594-solved-django-ecommerce-site-showing-err-500-on-deployment/
If you use a module that isn't installed it will give a 500 error.

# /usr/local/python3.7/bin/pip3.7 install allauth
Collecting allauth
  Could not find a version that satisfies the requirement allauth (from versions: )
No matching distribution found for allauth
Let me know what module you need installed.

 

 

 

ok now i can type let me look it up and ill tell u in a sec

Guest
This topic is now closed to further replies.
×
×
  • Create New...