If i add the lines i get an Internal Server Error..
############################################ ## uncomment these lines for CGI mode ## make sure to specify the correct cgi php binary file name ## it might be /cgi-bin/php-cgi
#Action php5-cgi /cgi-bin/php5-cgi #AddHandler php5-cgi .php SecFilterEngine Off SecFilterScanPOST Off ############################################ ## this line is specific for 1and1 hosting
#AddType x-mapp-php5 .php
############################################ ## default index file
############################################ ## rewrite everything else to index.php
RewriteRule .* index.php [L]
</IfModule>
############################################ ## Prevent character encoding issues from server overrides ## If you still have problems, use the second line instead
AddDefaultCharset Off #AddDefaultCharset UTF-8 Order allow,deny Allow from all
[Wed Mar 12 17:46:44 2008] [alert] [client 213.219.156.82] /var/www/html/dave/magento/.htaccess: Invalid command ‘SecFilterEngine’, perhaps mis-spelled or defined by a module not included in the server configuration
I’m also having this problem. Images upload (I think, I can see their thumbnails in the backend, at least), but don’t display on the product info page in the front-end. Editing the .htaccess got me the same errors as iDave above.
No .htaccess in the media folder, no errors during upload. Tried the directory separator fix in the other thread, but that broke more than it fixed
Adding those two entries to .htaccess did not make a difference for me. I think something else is wrong with my install. I’m going to reinstall via SSH using the .tar.gz file and see if that helps.
Thanks,
Bob.
I get the same thing as idave here, adding those 2 lines to .htaccess causes an internal server error. This happens on my local development server...gonna try on the remote host to see if its the same thing....
Yup. I get the same errors when adding the lines to my .htaccess. I’m not using SSL, btw. I can see that the images are copied into media/tmp/catalog/product/p/a but they don’t show up at all after I click save. When I originally upload them, they show up fine, I can mouseover and see the thumbnails but they are not being saved. Any ideas? Everything’s 777’d and available to the webserver.
I’ve posted this in another thread, but it seems to be related.
After uploading images through the product admin, they appeared in the rollover. BUT after saving, they no longer showed....only the “Roll Over for Preview” message shows and rolling over produces a javascript error (from Firebug):
image.url has no properties
loadImage("/A/CACS26138M_5.jpg")product.js (line 127)
onmouseover(mouseover clientX=0, clientY=0)1807 (line 1)
[Break on this error] this.getFileElement(file, ‘cell-image img’).src = image.url;
The error seems to be caused because the image path is not correct . The path shown ("/A/CACS26138M_5.jpg") is actually ("/A/C/ACS26138M_5.jpg"). The slash in “/C/” is not written by the code correctly.
And, once it’s uploaded and saved, I can’t edit or delete it because of the javascript error.
I’ve tried every suggestion in this thread and related threads ... no luck. Everything else seems to be working well, just not this.
My problem is slightly different in the fact that I can’t even get the image to show up in the admin when I upload it. I choose “Browse”, then “Upload”. The screen appears to refresh, but never completes the process.
Checked my permissions; 777
Here’s my info:
Build: Beta 0.8.17240
Apache version 1.3.41 (Unix)
PHP version 5.2.5
MySQL version 5.0.45-community
Operating system Linux
Are you using SSL? If you are using an invalid SSL certification like I am it will cause this problem. For example, the cert I am using is for http://www.mydomain.com but magento is installed to beta.mydomain.com. This will cause the image uploader to break. Disable SSL until you have a valid cert setup and you’ll be good to go.
Thanks for responding. Nope, no SSL. That’s the one thing I neglected to list. During set-up, I did not checkmark the box for SSL and there was one about re-writes, which I also did not checkmark. I basically let the system install it using the default prefs.
I’m not using ssl. The pictures show up in the admin but when I hit save, I get the message that the product was updated but no images. Before that I can upload images and mouseover them with no problem. They just won’t get saved. The sample images (most of them) work ok.
This is on a
Linux box (Debian etch).
Apache/2.2.3 (Debian) DAV/2 SVN/1.4.2 PHP/5.2.0-8+etch10 mod_ssl/2.2.3 OpenSSL/0.9.8c
PHP Version 5.2.0-8+etch10
All running under Zend Core/Platform
a) SSH’d into my host and chmod 777 -R everything under the media folder just to be sure.
b) Turned off all the caching, and cleared the image cache in Magento
c) Added those 2 directive lines (in the forum) to my magento base folder .htaccess
d) logged in via my shared host using ssl connection (https://www12.sharedhost.com/~account/mageno/admin)
e) Was using firefox
f) HAd images upload, and show ok after that