Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 01:38 pm EST

Geeklog Forums

speck.gif error with gallery integration


Status: offline

robinbowes

Forum User
Junior
Registered: 08/06/02
Posts: 23
Hi, I've got Gallery nicely wrapped in geeklog and all seems well *except* I get the following error in my apache error_log: [Wed Jan 22 23:24:10 2003] [error] [client 192.168.1.10] File does not exist: /var/www/robinbowes.com/geeklog/public_html/images/speck.gif", referer: http://robinbowes.com/gallery/albums.php I've checked the path specified above and the file does exist and is readable by the apache user: [root@celery robinbowes.com]# ls -l /var/www/robinbowes.com/geeklog/public_html/images/speck.gif -rw-rw-r-- 1 apache webedit 43 Aug 18 2001 /var/www/robinbowes.com/geeklog/public_html/images/speck.gif Any ideas what might be causing this? R.
 Quote

Status: offline

sardu

Forum User
Junior
Registered: 01/23/03
Posts: 17
Text Formatted Code
> [Wed Jan 22 23:24:10 2003] [error] [client 192.168.1.10] File does not exist:
> /var/www/robinbowes.com/geeklog/public_html/images/speck.gif",
> referer: http://robinbowes.com/gallery/albums.php

That error_log line has an unbalanced double quote character (speck.gif"). It could just be your error_log format but just in case see if other error_log entries have that trailing quote:
grep -i 'does not exist' error_log | less

If no other entries have the quote then something could be looking for /images/speck.gif", which might be revealed by the grep command below:
grep -ir '""' /var/www/robinbowes.com/geeklog/public_html


Lucas Thompson, sardu@mac,com
 Quote

Status: offline

sardu

Forum User
Junior
Registered: 01/23/03
Posts: 17

I was almost right. When I load albums.php, on line 244 (as rendered in Lynx) I see this:

Text Formatted Code

 <img src=/images/speck.gif" height="1" width="10">
 

Going by embedded comments, the line is between 'gallery.footer' and 'donation block'


Lucas Thompson, sardu@mac,com
 Quote

Status: offline

robinbowes

Forum User
Junior
Registered: 08/06/02
Posts: 23
Bingo! I did a grep in my gallery source tree for speck.gif and found the following line in html_wrap/wrapper.footer: $display .= '</td><td><img src=' . $_CONF['site_url'] . '/images/speck.gif" height="1" width="10"></td>' . LB . '<td valign="top" width="180">' . LB . COM_showBlocks('right',$topic) . '<br><img src="' . $_CONF['site_url'] . '/images/speck.gif" width="180" height="1">' . LB; Notice the missing " after the first img src= Thanks for pointing me at this. R.
 Quote

All times are EST. The time is now 01:38 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content