[Radiant] image 404s

2010-12-01 Thread rosslaird
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


[Radiant] Re: image 404s

2010-12-01 Thread rosslaird
Thanks for the help.
Unless I've done something incorrectly, this:

 select * from page_parts where content like '%button.png%', etc.

returns no results (I did this in PHPMyAdmin) for any of the tables
with a content field.

 For the new-snippet.png 404 - that's a tough one. I'd use curl to debug it -

Here's what I get from curl -svo /dev/null localhost/images/admin/new-
snippet.png:

 GET /images/admin/new-snippet.png HTTP/1.1
 User-Agent: curl/7.21.0 (i686-pc-linux-gnu) libcurl/7.21.0 OpenSSL/
0.9.8o zlib/1.2.3.4 libidn/1.18
 Host: localhost
 Accept: */*

 HTTP/1.1 404 Not Found
 Date: Thu, 02 Dec 2010 01:51:01 GMT
 Server: Apache/2.2.16 (Ubuntu)
 Vary: Accept-Encoding

I'm not sure where to go next with that.

So, overall, I am learning things (the upside) but not closer to
resolving this (the downside).
Thanks again for the help.

Cheers.

Ross


Re: [Radiant] Re: image 404s

2010-12-01 Thread Fima Leshinsky
Can you hit other assets in the /admin dir w/ curl and do u get a 200?

On Dec 1, 2010, at 6:02 PM, rosslaird r...@rosslaird.com wrote:

 Thanks for the help.
 Unless I've done something incorrectly, this:
 
 select * from page_parts where content like '%button.png%', etc.
 
 returns no results (I did this in PHPMyAdmin) for any of the tables
 with a content field.
 
 For the new-snippet.png 404 - that's a tough one. I'd use curl to debug it -
 
 Here's what I get from curl -svo /dev/null localhost/images/admin/new-
 snippet.png:
 
 GET /images/admin/new-snippet.png HTTP/1.1
 User-Agent: curl/7.21.0 (i686-pc-linux-gnu) libcurl/7.21.0 OpenSSL/
 0.9.8o zlib/1.2.3.4 libidn/1.18
 Host: localhost
 Accept: */*
 
 HTTP/1.1 404 Not Found
 Date: Thu, 02 Dec 2010 01:51:01 GMT
 Server: Apache/2.2.16 (Ubuntu)
 Vary: Accept-Encoding
 
 I'm not sure where to go next with that.
 
 So, overall, I am learning things (the upside) but not closer to
 resolving this (the downside).
 Thanks again for the help.
 
 Cheers.
 
 Ross


[Radiant] Re: image 404s

2010-12-01 Thread rosslaird
Nope. I get 404 for them all.

R.

On Dec 1, 7:55 pm, Fima Leshinsky flesh...@gmail.com wrote:
 Can you hit other assets in the /admin dir w/ curl and do u get a 200?


 On Dec 1, 2010, at 6:02 PM, rosslaird r...@rosslaird.com wrote:

  Thanks for the help.
  Unless I've done something incorrectly, this:

  select * from page_parts where content like '%button.png%', etc.

  returns no results (I did this in PHPMyAdmin) for any of the tables
  with a content field.

  For the new-snippet.png 404 - that's a tough one. I'd use curl to debug it 
  -

  Here's what I get from curl -svo /dev/null localhost/images/admin/new-
  snippet.png:

  GET /images/admin/new-snippet.png HTTP/1.1
  User-Agent: curl/7.21.0 (i686-pc-linux-gnu) libcurl/7.21.0 OpenSSL/
  0.9.8o zlib/1.2.3.4 libidn/1.18
  Host: localhost
  Accept: */*

  HTTP/1.1 404 Not Found
  Date: Thu, 02 Dec 2010 01:51:01 GMT
  Server: Apache/2.2.16 (Ubuntu)
  Vary: Accept-Encoding

  I'm not sure where to go next with that.

  So, overall, I am learning things (the upside) but not closer to
  resolving this (the downside).
  Thanks again for the help.

  Cheers.

  Ross




Re: [Radiant] Re: image 404s

2010-12-01 Thread Fima Leshinsky
Yup so your request path/URI is wrong. Do a:

$ pwd; ls -lh

inside your image directory

On Dec 1, 2010, at 8:08 PM, rosslaird r...@rosslaird.com wrote:

 Nope. I get 404 for them all.
 
 R.
 
 On Dec 1, 7:55 pm, Fima Leshinsky flesh...@gmail.com wrote:
 Can you hit other assets in the /admin dir w/ curl and do u get a 200?
 
 
 On Dec 1, 2010, at 6:02 PM, rosslaird r...@rosslaird.com wrote:
 
 Thanks for the help.
 Unless I've done something incorrectly, this:
 
 select * from page_parts where content like '%button.png%', etc.
 
 returns no results (I did this in PHPMyAdmin) for any of the tables
 with a content field.
 
 For the new-snippet.png 404 - that's a tough one. I'd use curl to debug it 
 -
 
 Here's what I get from curl -svo /dev/null localhost/images/admin/new-
 snippet.png:
 
 GET /images/admin/new-snippet.png HTTP/1.1
 User-Agent: curl/7.21.0 (i686-pc-linux-gnu) libcurl/7.21.0 OpenSSL/
 0.9.8o zlib/1.2.3.4 libidn/1.18
 Host: localhost
 Accept: */*
 
 HTTP/1.1 404 Not Found
 Date: Thu, 02 Dec 2010 01:51:01 GMT
 Server: Apache/2.2.16 (Ubuntu)
 Vary: Accept-Encoding
 
 I'm not sure where to go next with that.
 
 So, overall, I am learning things (the upside) but not closer to
 resolving this (the downside).
 Thanks again for the help.
 
 Cheers.
 
 Ross