Using incorrect path to image

yellowpunk - April 10, 2008 - 03:03
Project:Fotonotes
Version:6.x-1.1-beta1
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

I am getting an error as follows:

getimagesize(/var/www/drupal/www-data/drupal/files/domain.net/images/20040103-051830.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /var/www/drupal-6.2/sites/all/modules/fotonotes/fotonotes/fnclientlib/library.fnimage.inc.php on line 290.

The file is actually located at /home/www-data/drupal/files/domain.net/images/20040103-051830.jpg

Drupal is installed at /var/www/drupal-6.2/ (/var/www/drupal is a symlink to /var/www/drupal-6.2)

Files are set to private so the file would be accessed via http://domain.net/system/files/images/20040103-051830.jpg

 
 

Drupal is a registered trademark of Dries Buytaert.