Image does not exist [path]

82 views
Skip to first unread message

mariano.c...@etermax.com

unread,
Dec 3, 2014, 2:58:15 PM12/3/14
to smart-lencioni...@googlegroups.com
Hi I have a problem to display images with Slir:

.htaccess:

# Pretty URLs
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /slir/
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [S=40]
RewriteRule . index.php [L]
</IfModule>

# Prevent viewing of the error log file in its default location
<Files slir-error-log>
Order Deny,Allow
Deny from All
</Files>

apache2.conf

<Directory />
Options FollowSymLinks
AllowOverride All
Require all denied
</Directory>

<Directory /usr/share>
AllowOverride All
Require all granted
</Directory>

<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>

#<Directory /srv/>
# Options Indexes FollowSymLinks
# AllowOverride All
# Require all granted
#</Directory>


I created a folder in project slir called "imagecache" and the path is: http://localhost/slir/w300-h300/imagecache/paisaje.jpg

logs:

[Wed Dec 03 19:52:46 2014] [127.0.0.1 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36] Image does not exist: /var/www/html/imagecache/paisaje.jpg

REFERRER: 

REQUEST: localhost/slir/w300-h300/imagecache/paisaje.jpg

#0 /var/www/html/slir/core/slirrequest.class.php(177): SLIRRequest->setPath('imagecache/pais...')
#1 /var/www/html/slir/core/slirrequest.class.php(133): SLIRRequest->__set('i', 'imagecache/pais...')
#2 /var/www/html/slir/core/slir.class.php(293): SLIRRequest->initialize()
#3 /var/www/html/slir/core/slir.class.php(451): SLIR->getRequest()
#4 /var/www/html/slir/core/slir.class.php(264): SLIR->shouldUseRequestCache()
#5 /var/www/html/slir/index.php(37): SLIR->processRequestFromURL()
#6 {main}

mod_rewrite and gd are enabled

GD Supportenabled
GD Version2.1.1-dev

Attached image folder.

Thank you very much and greetings!
Captura de pantalla de 2014-12-03 16:53:20.png
Reply all
Reply to author
Forward
0 new messages