Gallery requires short_open_tag to be on.

heidareed

Joined: 2010-04-20
Posts: 4
Posted: Tue, 2010-04-20 22:43

I am trying to get my Gallery3 going it created a database and password in the Gallery3/installer however when it tries to go to the Gallery3/index.php I get this on my screen Gallery requires short_open_tag to be on.

Do ya all have any ideas?

Thanks..

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2010-04-20 22:47

FAQ: Why do you use PHP's short open tags?

That setting needs to be turned on.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
heidareed

Joined: 2010-04-20
Posts: 4
Posted: Tue, 2010-04-20 22:56

How do I set that setting or turn that setting on? I am very new to this whole thing I am taking a course trying to learn. At first my database would not create I re-installed the php to the server and then it created a database gave me a password but went on to say that the short tag needed to be open?? I am not even sure where to find the short tag ?

Thank you.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2010-04-20 23:11

Edit your php.ini, search for short_open_tag and set that to On:

short_open_tag = On

Restart Apache

If you're running Debian or Ubuntu, php.ini is probably under /etc/php5/apache2/php.ini you can restart Apache with /etc/init.d/apache2 restart

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
heidareed

Joined: 2010-04-20
Posts: 4
Posted: Tue, 2010-04-20 23:36

Thank you so much I will try that. I really appreciate your help. ;)

 
heidareed

Joined: 2010-04-20
Posts: 4
Posted: Tue, 2010-04-20 23:49

I am running yum and redhat. I tried that suggestion I have /etc/init.d but no apache2 I have mysql and I restarted that it however did not work.

Any other suggestions?

Thanks.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2010-04-20 23:55

Google, sorry, I don't know RH/Fedora/Centos

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here