Images not showing up, configuration warnings, oh my!
WebKat
Joined: 2002-11-22
Posts: 182 |
Posted: Sat, 2012-03-17 16:48 |
The following information is required to get an answer: Gallery url: http://www.tucsonirishcommunity.com/gallery This gallery used to work perfectly. It is only updated every year at St. Patrick's Day and this year when we went to add the 2012 albums, we had problems. Images are not showing up and when we try to view them in their own window, we get 500 server errors. My hosting company says it's in the code, because they don't see it on their end. Any ideas on why most of the pictures are broken but some show up? Could it be in my configuration somewhere? I went through the configuration wizard again and found these warnings: Warning 1: Warning! Apache is not obeying the 'php_value' lines in your .htaccess file. Try entering the following into your web server's httpd.conf file: <Directory /home5/jugglerd/public_html/tucsonirishcommunity/gallery> AllowOverride Options FileInfo </Directory> If you are running PHP in CGI mode, this message is unavoidable. I talked to my host and they said that PHP is running in PHP5 mode. Additionally, there are no "php_value" lines in my .htaccess file. My .htaccess file is this: #DirectoryIndex index.php index.html #Options +FollowSymLinks #Options -Indexes #ErrorDocument 403 default <IfModule mod_rewrite.c> RewriteEngine On #RewriteBase /relative/web/path/ RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) - [PT,L] RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*) index.php RewriteCond %{HTTP:Authorization} !^$ RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}] </IfModule> #php_value register_globals 0 Warning 2: Either mod_rewrite is not installed or your .htaccess file is not enabled (see above). Either way, we'll have to use longer URLs in the Gallery. If you want to turn it on, first make sure that your .htaccess file is being obeyed. If it still doesn't work, you may need to reconfigure and rebuild Apache with this flag: --enable-module=rewrite My host says that mod_rewrite is installed. And you can see my .htaccess file above. How do I know if it is "being obeyed"? -- |
|
Posts: 1642
This is what I get when I try to visit one of the problem images directly
What do the server logs say? Clear the logs if you can, visit a few problem pages, copy the output, paste to pastebin.com and post a link here.
--
dakanji.com
Posts: 182
Nothing in the error logs. It seems that the images in question *don't exist*...as in, when I go to the albums folder they're supposed to be in, either the folder isn't there or it's empty. Now, all of this USED to work fine...so what could have happened? I'm TOTALLY confused. And my mom created three more albums today and uploaded the images and NONE of them are showing up. I went to the album they're supposed to be in and it's got no images in it. What configuration setting do I have wrong?!
--
WebKat, Gallery2 holdover extraordinaire.
Posts: 39
i had a similar problem. turned out that there were .htaccess files in the var and var/albums and var/resizes directories and they had rewrite rules. i commented out those rules and it began working just fine
-----
M i k e
Posts: 8339
@baysidemk please comment in the appropriate forums only this is a G1 forum.
-s