Monday, August 31, 2020

Re: raise ValueError("Missing staticfiles manifest entry for '%s'" % clean_name)

In clearer terms, I logged into the ADMIN PORTAL and saw that the items existed. There was also an image for each item in the ADMIN PORTAL. 

Strangely, when returning to the website, I am unable to actually "see" the pictures - they are blank. This was not the case back in the testing environment.

Why would this occur only upon publishing the website? Also, when I click cart after adding one of the non-image showing items, I receive an error 500 stating that the cart.html and only the cart.html TemplateDoesNotExist. It has the same settings as every other html page, what makes this single page unique to becoming an error 500? 

On Mon, Aug 31, 2020 at 9:51 AM King Niko <thelegendofearthreturns@gmail.com> wrote:
Okay, got it to work. My STATICFILES_DIRS was not set. 

Now I am encountering the issue of the admin portal not working. I am unable to access pictures from the DJANGO ADMIN portal nor can I access any of the products that I have created.

When I look at items that are linked to the DJANGO ADMIN portal, they are blank as though they do not exist. I looked at the logging and when I click "Cart" I receive a 500 error stating that the TemplateDoesNotExist.

Is there any way to connect the DJANGO ADMIN portal to the published site? 

On Mon, Aug 31, 2020 at 9:37 AM King Niko <thelegendofearthreturns@gmail.com> wrote:
Thank you Ranga, the site is up and running now. Unfortunately, none of the Static CSS, Images, nor JS are appearing and I get this error for each individual CSS, Image, or JS file: 

 "GET /static/images/Facebook.png HTTP/1.1" 404 179 "https://samplesite.herokuapp.com/home/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/- (KHTML, like Gecko) Chrome/- Safari/-"

Somehow the system does not seem to register the images, js, and css folders within my static folder. Would the images, js, and css folders have to be put into the root directory? Or would a path in the settings need to be altered to allow the static folder to actually register with the system? 

On Mon, Aug 31, 2020 at 1:11 AM RANGA BHARATH JINKA <bharathjinka09@gmail.com> wrote:

On Mon, Aug 31, 2020 at 9:28 AM Lightning Bit <thelegendofearthreturns@gmail.com> wrote:
Hello all, 

Does anyone know how to add a manifest entry for a staticfile? I have used:

> python manage.py collectstatic --noinput 

From this I got the  "staticfiles" folder. However, when I perform a logging on the website, this 505 error appears: 

> raise ValueError("Missing staticfiles manifest entry for '%s'" % clean_name)


I tried deleting the "staticfiles"  folder and restarting the "collectstatic " process but that does not seem to work either. Any resolutions?

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/b9738987-daa9-403f-b1f6-ec27e076cff8n%40googlegroups.com.


--
Thanks and Regards

J. Ranga Bharath
cell: 9110334114

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAK5m315Y1aKjDrXepn_iT2A_rL5R6jmQM9KJ8n5GnJLRd%2B6Z6g%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAO1EWpE6s3evwQzxTEdpkjfhvK5_HK_jbn25Agy%2BKsReBfmACg%40mail.gmail.com.

No comments:

Post a Comment