proevilz Posted February 10, 2015 Share Posted February 10, 2015 *I have fully backed up my old site* Everytime I try to view an attachment image from a customer using the contact block, I get an internal server error. The URL is correct as I check to see if the image exists via FTP, but when trying to actually view it from within back office -> error. Any ideas why this is happening? Link to comment Share on other sites More sharing options...
NemoPS Posted February 11, 2015 Share Posted February 11, 2015 Try enabling error reporting (read my signature) and see if it spawns an error Link to comment Share on other sites More sharing options...
proevilz Posted February 11, 2015 Author Share Posted February 11, 2015 Try enabling error reporting (read my signature) and see if it spawns an error Hi Nemo It throws an error already so enabling error reporting wouldn't make much difference. I tried it anyway and unfortunately, no extra error information was given. Do you have any more suggestions? Thank you Link to comment Share on other sites More sharing options...
NemoPS Posted February 13, 2015 Share Posted February 13, 2015 Hm, it might be a permission issue in any case (error 500 is generic, prestashop spawns that to avoid displaying specifc information when error reporting is disabled)Try checking folder permissions Link to comment Share on other sites More sharing options...
proevilz Posted February 13, 2015 Author Share Posted February 13, 2015 (edited) Hm, it might be a permission issue in any case (error 500 is generic, prestashop spawns that to avoid displaying specifc information when error reporting is disabled)Try checking folder permissions Hi Nemo, Ah, I didn't actually know that! The folder permissions is set to 755 on the uploads folder. Is this correct? Edited February 13, 2015 by proevilz (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted February 13, 2015 Share Posted February 13, 2015 It should be. Hm... try, for testing purposes only, setting it to 777. If it doesn't work, set it backAlso check the htaccess there <IfModule mime.c> RemoveHandler .php .phtml .php3 .php4 .php5 RemoveType .php .phtml .php3 .php4 .php5 </IfModule> php_flag engine off SHould be like this Link to comment Share on other sites More sharing options...
proevilz Posted February 13, 2015 Author Share Posted February 13, 2015 (edited) It should be. Hm... try, for testing purposes only, setting it to 777. If it doesn't work, set it back Also check the htaccess there <IfModule mime.c> RemoveHandler .php .phtml .php3 .php4 .php5 RemoveType .php .phtml .php3 .php4 .php5 </IfModule> php_flag engine off SHould be like this Setting it to 777 didn't resolve it and the .htaccess is identical to what you posted. Strange problem I have isn't it... Edited February 13, 2015 by proevilz (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted February 14, 2015 Share Posted February 14, 2015 hm, at this point as your hosting. Also, try placing a text file like demo.txt in your root folder, and see fi you can access it. Link to comment Share on other sites More sharing options...
dcdlaser Posted February 28, 2015 Share Posted February 28, 2015 Hello, I am having the same problem. Has anybody figured out a solution to this problem yet? When clicking on the attachment link from a customer service request sent by a customer, I too get the 500 Internal Server Error problem. Thanks, Mike Link to comment Share on other sites More sharing options...
NemoPS Posted February 28, 2015 Share Posted February 28, 2015 Same as above, did you check with your hosting if you already tried changing permissions? Link to comment Share on other sites More sharing options...
proevilz Posted February 28, 2015 Author Share Posted February 28, 2015 Same as above, did you check with your hosting if you already tried changing permissions? Hello, I am having the same problem. Has anybody figured out a solution to this problem yet? When clicking on the attachment link from a customer service request sent by a customer, I too get the 500 Internal Server Error problem. Thanks, Mike I contacted my hosting provider and they said this : There was a php_flag line in the .htaccess file which we don't support as we don't run PHP as DSO - I've commented it out and the images load now. Perhaps it's the same with your host? And thanks Nemo for your support. Link to comment Share on other sites More sharing options...
dcdlaser Posted March 1, 2015 Share Posted March 1, 2015 I resolved the problem on my website too per the php_flag line change in the .htaccess file in my /public_html/upload/.htaccess directory. Since there are many .htaccess files on the system, I included the path here for anybody's future reference. Here is a copy of my .htaccess file prior to my change: <IfModule mime.c> RemoveHandler .php .phtml .php3 .php4 .php5 RemoveType .php .phtml .php3 .php4 .php5 </IfModule> php_flag engine off Here is a copy afterward (php_flag line commented out): <IfModule mime.c> RemoveHandler .php .phtml .php3 .php4 .php5 RemoveType .php .phtml .php3 .php4 .php5 </IfModule> # php_flag engine off Thank you all for your help. I am sure there are several users out there that may not be as technically savvy as some so that is why I wanted to include the path to which .htaccess file was modified. I know my server has something like 25 instances of .htaccess files. I hope this may possibly help someone else down the road. Thanks again, Mike 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now