Re: 500 Server Error | Impossible to Fix

2020-08-30 Thread RANGA BHARATH JINKA
Hi, You have to add templates location in settings.py as 'DIRS': [os.path.join(BASE_DIR, 'templates')]. Create a templates folder where manage.py file exists i.e. your project root directory and move all your templates there like html files. All the best. On Mon, Aug 31, 2020 at

Re: 500 Server Error | Impossible to Fix

2020-08-30 Thread King Niko
Okay, so I added a logging to: > python manage.py runserver And I found the error (which also now appears in "heroku logs --tail"). Interestingly, this thing states that: > django.template.exceptions.TemplateDoesNotExist: store/main.html This is impossible because in urls.py I have my main as

Re: 500 Server Error | Impossible to Fix

2020-08-30 Thread RANGA BHARATH JINKA
Hi, Please check the whole log errors line by line. Then only u can find the exact error On Sun, Aug 30, 2020 at 6:37 PM King Niko wrote: > Hi Ranga, > > These are the last two log errors: > > *>* *"GET / HTTP/1.1" 500 145 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; > x64) AppleWebKit/ - (KHT

Re: 500 Server Error | Impossible to Fix

2020-08-30 Thread King Niko
Hi Ranga, These are the last two log errors: *>* *"GET / HTTP/1.1" 500 145 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/ - (KHTML, like Gecko) Chrome/ - Safari/ -"* *> at=info method=GET path="/" host=samplesite.herokuapp.com request_id=private fw

Re: 500 Server Error | Impossible to Fix

2020-08-30 Thread RANGA BHARATH JINKA
Hi, Copy and paste your log errors . I will check once On Sun, Aug 30, 2020 at 5:23 PM King Niko wrote: > Thanks for the suggestion Kasper. > Unfortunately I have not been able to resolve the above bugs utilizing the > recommended logging technique. The: > > > heroku logs —tail > > Works to

Re: 500 Server Error | Impossible to Fix

2020-08-30 Thread King Niko
Thanks for the suggestion Kasper. Unfortunately I have not been able to resolve the above bugs utilizing the recommended logging technique. The: > heroku logs —tail Works to give me the errors mentioned previously. I just wish that there was a way for heroku itself to provide more detailed and pr

Re: 500 Server Error | Impossible to Fix

2020-08-29 Thread Kasper Laudrup
Hi King Niko, On 29/08/2020 20.31, King Niko wrote: Both of these errors are very vague and provide no direction for resolution. Has anyone ever encountered this before? I don't know anything about deploying on Heroku, but as others have pointed out, you should definitely look into how to

Re: 500 Server Error | Impossible to Fix

2020-08-29 Thread King Niko
*Last Two 500 Errors:* *>* *"GET / HTTP/1.1" 500 145 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/ - (KHTML, like Gecko) Chrome/ - Safari/ -"* *> at=info method=GET path="/" host=samplesite.herokuapp.com request_id=private fwd="private" dyno=web.1 c

Re: 500 Server Error | Impossible to Fix

2020-08-29 Thread King Niko
Thank you for the feedback! Intriguing, above the 500 error I see the following line: *> Cart: {} * In fact, I have a line in one of my HTML files that says Cart: {} under the JavaScript sector. Maybe this is the bug that needs to be fixed? The cart error plus the Heroku error are quite trouble

Re: 500 Server Error | Impossible to Fix

2020-08-29 Thread Kunal Solanke
500 is actually a internal server error ,it can easily resolved by just looking at the logger ,it dosen't only mean syntax error and definately not syntax errors of html file .Html file syntax errors are simply ignored I think you meant jinja code.Basic way to go around these is simply check the lo

Re: 500 Server Error | Impossible to Fix

2020-08-29 Thread King Niko
I managed to resolve the favicon 400 error. However, there still resides the Heroku error: *> at=info method=GET path="/" host=samplesite.herokuapp.com request_id= "private" fwd="private" dyno=web.1 connect=1ms service=99ms status=500 bytes=477 protocol=https* An

Re: 500 Server Error | Impossible to Fix

2020-08-29 Thread King Niko
Thank you so much for the help. The: *> heroku logs --tail* Definitely shows all of the errors. Two common errors that I have witnessed is: *> "GET / HTTP/1.1" 500 145 "https://dashboard.heroku.com/ " "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (K

Re: 500 Server Error | Impossible to Fix

2020-08-28 Thread RANGA BHARATH JINKA
Hi, In settings turn the debug to True. Then check the error in terminal. In heroku you have to check the logs in the terminal using heroku logs --tail All the best 👍 On Sat, 29 Aug 2020, 4:35 am Lightning Bit, < thelegendofearthretu...@gmail.com> wrote: > Greetings all, > > I finally fini

500 Server Error | Impossible to Fix

2020-08-28 Thread Lightning Bit
Greetings all, I finally finished developing a Django website. In the terminal I checked: > python manage.py check --deploy There were no errors and the program was ready for deployment. I even ran a: > python manage.py runserver There were also no errors on this end. Upon successfully por