Re: [Radiant] image 404s
On 2 Dec 2010, at 00:25, rosslaird wrote: > I have just started using Radiant (which is just great, by the way), > so apologies in advance for what may be a very simple question: the > server log shows various 404s to image files: button.png and new- > snippet.png are two examples. My setup is on locahost, for testing, so > the 404 refers to (for example) this url: > http://localhost/images/admin/button.png. Both of those are files used by older versions of the admin interface. The most likely explanation is that one of your extensions is not up to date: being contemporary with an older version of radiant it is assuming the presence of files that don't exist any more. Radiant's helper methods mean that the author probably didn't need to spell out the image path, but something like this (in your radiant instance directory) should show you where it's coming from: grep -r 'new-snippet' . I don't get any matches from a normal radiant site except in old log files. best, will > There are quite a few image files in /images/admin, but not > button.png. On the other hand, there is a new-snippet.png in the > images/admin directory, but I still get a 404 for that file as well. > These image files are not ones that I have created, so I'm not sure > what's going on. I do have some extensions installed (Chronicle, blog, > mailer, paperclipped, settings) and I don't know if these are a > factor. I have combed through all the css files I can find, and > nothing seems to point to these missing files. > > Suggestions? > > Thanks in advance. > > Ross Laird
Re: [Radiant] image 404s
connect to your DB and do a select * across all the tables w/ a content field: page_parts pages snippets layouts e.g. select * from page_parts where content like '%button.png%', etc. That should identify where the reference to the asset is. For the new-snippet.png 404 - that's a tough one. I'd use curl to debug it - confirm the 404 w/ curl and then go from there. My guess is the browser is requesting it with the wrong URI. e.g. curl -svo /dev/null localhost/images/admin/new-snippet.png HTH, Fima On Wed, Dec 1, 2010 at 4:25 PM, rosslaird wrote: > I have just started using Radiant (which is just great, by the way), > so apologies in advance for what may be a very simple question: the > server log shows various 404s to image files: button.png and new- > snippet.png are two examples. My setup is on locahost, for testing, so > the 404 refers to (for example) this url: > http://localhost/images/admin/button.png. > There are quite a few image files in /images/admin, but not > button.png. On the other hand, there is a new-snippet.png in the > images/admin directory, but I still get a 404 for that file as well. > These image files are not ones that I have created, so I'm not sure > what's going on. I do have some extensions installed (Chronicle, blog, > mailer, paperclipped, settings) and I don't know if these are a > factor. I have combed through all the css files I can find, and > nothing seems to point to these missing files. > > Suggestions? > > Thanks in advance. > > Ross Laird