All Questions
174
questions
0
votes
1
answer
43
views
Django static files not working on cpanel
my settings.py static settings are
STATIC_URL = 'static/'
STATIC_ROOT = '/home/mywebsite/public_html/dj/static/'
I have run: manage.py collectstatic successfully.
I restarted the app.
But when i hit ...
-3
votes
0
answers
24
views
Admin page not found (404) in Django project?
I'm using a shared hosting with cPanel but without Terminal access. After struggling to make it work, the website shows the home page at : https://mywebsite.com but not found (404) for the url: https:/...
0
votes
1
answer
28
views
Index file shown but not the live website
enter image description hereI have deployed my website in the cpanel of namecheap but it shows the following problem in the given image. How can i fix it?
I tried to change the .htacces file but it ...
0
votes
0
answers
45
views
Check failed: ret == 0 (11 vs. 0)Thread tf_Compute creation via pthread_create() failed
When I run keras.load_model and make_predict_function on a Django application that has been deployed on cPanel.
An error occurs: Check failed:
ret == 0 (11 vs. 0)Thread tf_Compute creation via ...
0
votes
0
answers
20
views
How to start Celery Beat and Worker in production environment(cpanel)
please I developed a django app that automatically generates invoice and sends an email to client at certain hours. This app works perfectly in the development environment but not in production. I ...
0
votes
0
answers
22
views
Cpanel Cron Job not working for everyday day
I have 3 cron jobs in my cpanel, I am hitting APIs with curl, my hourly cron job is working fine but daily cron job is not, monthly is not get to test yet for cron:
You might think there is some error ...
0
votes
0
answers
17
views
How to implement a message system with Django across domain and subdomains?
I want to develop a web application using Django. This application is a support network. End users will create support tickets via the 'www.mydomain.com' web address, and employees will respond to ...
0
votes
0
answers
35
views
I'm getting a 503 error when I upload an image to a pre-trained model and try to get output using python + Django on a shared web host
Background:
*Beginner here. *
I made a simple app with some basic models and trained it to distinguish happy and sad faces. I made this and ran it in a local development server with Django which ...
0
votes
1
answer
39
views
My website is not showing up after uploading my project to cpanel
I have uploaded my django project as a zip file and extracted in the home directory of the root server. My website is showing up without the images and the css design files.
The root directory of my ...
0
votes
0
answers
41
views
passenger_wsgi.py not responding while deploying django project on cpanel
I am trying to deploy my django project on cpanel for the first time. The problem I am dealing with is that when I create a python app in cpanel, the passenger_wsgi.py file is created but does not run ...
0
votes
2
answers
35
views
Image is not displayed/loaded in my django website which i deployed on Cpanel
details of my code, in my settings.py i have:
BASE_DIR = Path(__file__).resolve().parent.parent
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
and this is how i tried to ...
0
votes
0
answers
25
views
Django hosting in cpanel with out using Setup Python App
I want to host my Django project in cPanel with out using Setup Python App. How can i do that? Please provide step by step solution from beginning.
I search for the solution in google, but i can't get ...
0
votes
0
answers
450
views
`SSL: CERTIFICATE_VERIFY_FAILED` certificate verify failed: Hostname mismatch, certificate is not valid for 'smtp.gmail.com'. (_ssl.c:1007)
Issue Deploying Django Project on cPanel: Certificate Verification Error
I am facing an issue while deploying my Django project on cPanel. The error indicates a certificate verification problem with ...
1
vote
1
answer
202
views
How to use Django - cPanel environment variable
While setting up a Django app in cPanel, I can assign environment variables. However, I am having trouble using them. For instance, I made an assignment as seen in the picture. But when I use it in my ...
1
vote
3
answers
375
views
DEBUG=False is not showing static and media files in Django project on Cpanel
I've looked into many articles and videos on this topic, but either I didn't understand or the solutions were insufficient. I would be very happy if you could help. I developed a Django project and ...