Unable to resolve the request "uploads/cms_items/-cms_item-43/44c9cc2b1edd.jpg".
Is it access error or what? On local server it worked ok. As for access I tried to set access 0755 to all dirs and files or 0755 to all dirs and 0644 to all files - with the same result.
Can it be that I have to edit my .htaccess for skipping images from yii pages routings ? If yes in which way ?
Assume your .htaccess in the applications webroot is similar to below.
The file “uploads/cms_items/-cms_item-43/44c9cc2b1edd.jpg” must exists, otherwise the Yii app will be initialized that looks for a module or controller ‘uploads’ and cannot resolve the request if no such controller/module exists.
RewriteEngine on
# Set RewriteBase if you app documentroot is an alias
# RewriteBase /tybapp
# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# otherwise forward it to index.php
RewriteRule . index.php
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
In error_log file I found rows like:
[01-Jul-2014 23:37:46 America/Chicago] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/http.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/http.so: cannot open shared object file: No such file or directory in Unknown on line 0