Jump to content

Simple .htaccess Question


Walter-Sobchak
 Share

Recommended Posts

I am trying to install gallery. I am getting a "short_open_tag" needs to be on error message. What is the code that I need to place in the .htaccess in my public_html folder to enable that function? I have tried adding "php_flag short_open_tag on" but it causes a 500 error. What is my mistake?

 

Thank you for any help!

Link to comment
Share on other sites

  • 3 months later...

Posted here as it seems a very closely related issue...

 

I'm working on Gallery as well (v2), and I would like to be able to upload files above 2Mb in size. I've followed TCH-Bruce's advice, code as follows:

 

><IfModule php_config>
php_value upload_max_filesize 10M
</IfModule>

 

That's all that's in the .htaccess file in the gallery root. When the file is there I can't upload any images (there are no errors, even in debug mode), and when the file is not there I can - provided they are less that 2Mb of course!

 

This seems a weird one, and I haven't been able to find anything on the Gallery forums. Any ideas what might be happening?

 

Thanks,

 

Pete

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...