gallery requires short_open_tag to be on

adi_dragomir

Joined: 2008-08-14
Posts: 4
Posted: Mon, 2009-07-06 21:32

I tried to install Gallery 3 beta1 on OpenSuse 11.1 32bit but the process failed with the error:
gallery requires short_open_tag to be on .
I checked the php.ini and I modified the required line but I've got the same error. Any idea?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Tue, 2009-07-07 01:36

Did you restart Apache?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
adi_dragomir

Joined: 2008-08-14
Posts: 4
Posted: Wed, 2009-07-08 11:56

Yes,
I restarted the whole machine. I reproduced the problem on a brand new virtual machine vanilla installation.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2009-07-08 13:31

And did you double check phpinfo under your G3 install to make sure that that Local value for short_open_tag is set to on or 1 and it's not getting overridden some place else?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
RaggedyBird
RaggedyBird's picture

Joined: 2009-07-08
Posts: 1
Posted: Wed, 2009-07-08 20:29

I tried to install Gallery 3 but when I tried to start Gallery3 it says
"gallery requires short_open_tag to be on."

Does anyone have a quick and easy "copy and paste" method of posting a simple php.ini content list that we then can copy and paste into notepad, save as php.ini and upload into our servers?

Ive followed several "helpful links" which were helpful as long as I needed to read up on the theory of a PHP.INI file and several other topics.
What I was after was an actual example!!! I would love to see Gallery3 running.

HTACCESS says
<IfModule mod_php5.c>
php_value short_open_tag 1
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value session.auto_start 0
php_value upload_max_filesize 20M
php_value post_max_size 100M
</IfModule>

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Wed, 2009-07-08 20:36

Read the other posts in this thread. Check phpinfo or post a link to phpinfo that's under the same directory your .htaccess.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
adi_dragomir

Joined: 2008-08-14
Posts: 4
Posted: Sun, 2009-07-12 22:24

I think I know how to reproduce the bug. It's very simple: If you unzip the installation and change the name of the directory from gallery3 to any other name you will get the error short_open_tag to be on. When I kept the name gallery3 I had no problem whatsoever.

 
adi_dragomir

Joined: 2008-08-14
Posts: 4
Posted: Sun, 2009-07-12 23:22

I was wrong....The error appears when you use a virtual host with Apache. If your gallery installation is the second vhost ( the second gallery web site) you will get the error.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2009-07-13 10:38
Quote:
I was wrong....The error appears when you use a virtual host with Apache. If your gallery installation is the second vhost ( the second gallery web site) you will get the error.

Can you give a bit more detail about this? I and many, many others are using G3 on a shared host where we are most definitely not the first vhost, we are either the 2nd or 100th or somewhere else :)

I'm also using G3 on a VPS where it's installed on the only site currently running on the server so I can test all I want there and try another vhost if needed.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
greggan
greggan's picture

Joined: 2009-07-17
Posts: 5
Posted: Sun, 2009-07-26 19:40

I have the same problem :0(

Any hints for help yet?

****************************************************************************************************

Hey wait, you're an admin! We can tell you stuff.
Ok.. tell me stuff!
Help!

If this stuff doesn't make any sense to you, ask for help in the Gallery forums!
So here's the error:
There was an SQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '} SET `view_count` = `view_count` + 1 WHERE `id` = 1' at line 1 - UPDATE {items} SET `view_count` = `view_count` + 1 WHERE `id` = 1

File: C:/Program Files/EasyPHP 3.0/www/gallery3/system/libraries/drivers/Database/Mysqli.php, line: 142
And here's how we got there:

* C:\Program Files\EasyPHP 3.0\www\gallery3\system\libraries\drivers\Database\Mysqli.php [90]:

Kohana_Mysqli_Result->__construct( mysqli Object
(
)
, 1, UPDATE {items} SET `view_count` = `view_count` + 1 WHERE `id` = 1 )

* C:\Program Files\EasyPHP 3.0\www\gallery3\system\libraries\Database.php [259]:

Database_Mysqli_Driver->query( UPDATE {items} SET `view_count` = `view_count` + 1 WHERE `id` = 1 )

* C:\Program Files\EasyPHP 3.0\www\gallery3\modules\gallery\libraries\MY_Database.php [56]:

Database_Core->query( UPDATE {items} SET `view_count` = `view_count` + 1 WHERE `id` = 1 )

* C:\Program Files\EasyPHP 3.0\www\gallery3\modules\gallery\controllers\albums.php [74]:

Database->query( UPDATE {items} SET `view_count` = `view_count` + 1 WHERE `id` = 1 )

* C:\Program Files\EasyPHP 3.0\www\gallery3\modules\gallery\controllers\rest.php [91]:

Albums_Controller->_show( Item_Model Object
(
[children:protected] => items
[view_restrictions:private] => Array
(
)

[sorting:protected] => Array
(
)

[rules] => Array
(
[name] => required|length[0,255]
[title] => required|length[0,255]
[description] => length[0,65535]
)

[model_name:private] => item
[original:protected] =>
[has_one:protected] => Array
(
)

[belongs_to:protected] => Array
(
)

[has_many:protected] => Array
(
)

[has_and_belongs_to_many:protected] => Array
(
)

[load_with:protected] => Array
(
)

[object:protected] => Array
(
[id] => 1
[album_cover_item_id] =>
[captured] =>
[created] => 1248636254
[description] =>
[height] =>
[left] => 1
[level] => 1
[mime_type] =>
[name] =>
[owner_id] =>
[parent_id] => 0
[rand_key] =>
[relative_path_cache] =>
[resize_dirty] => 1
[resize_height] =>
[resize_width] =>
[right] => 2
[sort_column] => weight
[sort_order] => ASC
[thumb_dirty] => 1
[thumb_height] =>
[thumb_width] =>
[title] => Gallery
[type] => album
[updated] => 1248636254
[view_count] => 0
[weight] => 1
[width] =>
[view_1] => 1
[view_2] => 1
)

[changed:protected] => Array
(
)

[related:protected] => Array
(
)

[loaded:protected] => 1
[saved:protected] => 1
[object_relations:protected] => Array
(
)

[changed_relations:protected] => Array
(
)

[object_name:protected] => item
[object_plural:protected] => items
[table_name:protected] => items
[table_columns:protected] => Array
(
[id] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
[sequenced] => 1
)

[album_cover_item_id] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
[null] => 1
)

[captured] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
[null] => 1
)

[created] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
[null] => 1
)

[description] => Array
(
[type] => string
[length] => 2048
[null] => 1
)

[height] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
[null] => 1
)

[left] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
)

[level] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
)

[mime_type] => Array
(
[type] => string
[length] => 64
[null] => 1
)

[name] => Array
(
[type] => string
[length] => 255
[null] => 1
)

[owner_id] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
[null] => 1
)

[parent_id] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
)

[rand_key] => Array
(
[type] => float
[null] => 1
)

[relative_path_cache] => Array
(
[type] => string
[length] => 255
[null] => 1
)

[resize_dirty] => Array
(
[type] => int
[max] => 127
[unsigned] =>
[null] => 1
)

[resize_height] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
[null] => 1
)

[resize_width] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
[null] => 1
)

[right] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
)

[sort_column] => Array
(
[type] => string
[length] => 64
[null] => 1
)

[sort_order] => Array
(
[type] => string
[exact] => 1
[length] => 4
[null] => 1
)

[thumb_dirty] => Array
(
[type] => int
[max] => 127
[unsigned] =>
[null] => 1
)

[thumb_height] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
[null] => 1
)

[thumb_width] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
[null] => 1
)

[title] => Array
(
[type] => string
[length] => 255
[null] => 1
)

[type] => Array
(
[type] => string
[length] => 32
)

[updated] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
[null] => 1
)

[view_count] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
[null] => 1
)

[weight] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
)

[width] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
[null] => 1
)

[view_1] => Array
(
[type] => int
[max] => 32767
[unsigned] =>
)

[view_2] => Array
(
[type] => int
[max] => 32767
[unsigned] =>
)

)

[ignored_columns:protected] =>
[primary_key:protected] => id
[primary_val:protected] => name
[foreign_key:protected] => Array
(
)

[table_names_plural:protected] => 1
[reload_on_wakeup:protected] => 1
[db:protected] => Database Object
(
[_table_names:protected] => Array
(
[{g3access_caches}] => g3access_caches
[{g3access_intents}] => g3access_intents
[{g3caches}] => g3caches
[{g3comments}] => g3comments
[{g3graphics_rules}] => g3graphics_rules
[{g3groups}] => g3groups
[{g3groups_users}] => g3groups_users
[{g3incoming_translations}] => g3incoming_translations
[{g3items}] => g3items
[{g3items_tags}] => g3items_tags
[{g3logs}] => g3logs
[{g3messages}] => g3messages
[{g3modules}] => g3modules
[{g3outgoing_translations}] => g3outgoing_translations
[{g3permissions}] => g3permissions
[{g3search_records}] => g3search_records
[{g3sessions}] => g3sessions
[{g3tags}] => g3tags
[{g3tasks}] => g3tasks
[{g3themes}] => g3themes
[{g3users}] => g3users
[{g3vars}] => g3vars
)

[config:protected] => Array
(
[benchmark] =>
[persistent] =>
[connection] => Array
(

)

[character_set] => utf8
[table_prefix] => G3
[object] => 1
[cache] =>
[escape] => 1
)

[driver:protected] => Database_Mysqli_Driver Object
(
[link:protected] => mysqli Object
(
)

[db_config:protected] => Array
(
[benchmark] =>
[persistent] =>
[connection] => Array
(

)

[character_set] => utf8
[table_prefix] => G3
[object] => 1
[cache] =>
[escape] => 1
)

[statements:protected] => Array
(
)

[query_cache:protected] =>
)

[link:protected] => mysqli Object
(
)

[select:protected] => Array
(
)

[set:protected] => Array
(
)

[from:protected] => Array
(
)

[join:protected] => Array
(
)

[where:protected] => Array
(
)

[orderby:protected] => Array
(
)

[order:protected] => Array
(
)

[groupby:protected] => Array
(
)

[having:protected] => Array
(
)

[distinct:protected] =>
[limit:protected] =>
[offset:protected] =>
[last_query:protected] => SELECT `key`, `translation`
FROM (`G3outgoing_translations`)
WHERE `locale` = 'en_US'
[query_history:protected] => Array
(
)

)

[db_applied:protected] => Array
(
[where] => where
[orderby] => orderby
[limit] => limit
[offset] => offset
)

[with_applied:protected] => Array
(
)

)
)

*

REST_Controller->__call( 1 )

* C:\Program Files\EasyPHP 3.0\www\gallery3\system\core\Kohana.php [291]:

ReflectionMethod->invokeArgs( Albums_Controller Object
(
[resource_type:protected] => item
[uri] => URI Object
(
)

[input] => Input Object
(
[use_xss_clean:protected] => 1
[magic_quotes_gpc:protected] => 1
[ip_address] =>
)

)
, Array
(
[0] => 1
[1] => Array
(
)

)
)

*

Kohana::instance( )

* C:\Program Files\EasyPHP 3.0\www\gallery3\system\core\Event.php [209]:

call_user_func( Array
(
[0] => Kohana
[1] => instance
)
)

* C:\Program Files\EasyPHP 3.0\www\gallery3\system\core\Bootstrap.php [55]:

Event::run( system.execute )

* C:\Program Files\EasyPHP 3.0\www\gallery3\index.php [85]:

require( C:\Program Files\EasyPHP 3.0\www\gallery3\system\core\Bootstrap.php )

**********************************************************************************************************

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2009-07-26 22:46

greggan, G3 is not supported in windows.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2009-07-27 03:38

Not only that, but how is this the same problem? I see nothing in your post about short_open_tags

To get G3 running, UNSUPPORTED, on windows download this: http://www.apachefriends.org/en/xampp-windows.html

Save yourself hours and hours of wasted time and headache. That's a one stop shop for installing Apache, MySQL, PHP. good luck with getting it running on Windows.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
greggan
greggan's picture

Joined: 2009-07-17
Posts: 5
Posted: Mon, 2009-07-27 14:09

Sorry about that, but it started with a short_open_tags message.
I then used your tip on "double check phpinfo under your G3 install to make sure that that Local value for short_open_tag is set to on or 1"
I corrected it and set it to 1 then restarted Apache an MySql and got the message I just posted.
I was using EasyPHP to run a local server.
I now took your advice to try apachefriends xampp-windows and are now getting this :0(
Despite unsupported any Idea?

Regards/Stefan

*****************************************************************************'

Dang... Something went wrong!
We tried really hard, but it's broken.
Hey wait, you're an admin! We can tell you stuff.
Ok.. tell me stuff!
Help!

If this stuff doesn't make any sense to you, ask for help in the Gallery forums!
So here's the error:
There was an SQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '} SET `view_count` = `view_count` + 1 WHERE `id` = 1' at line 1 - UPDATE {items} SET `view_count` = `view_count` + 1 WHERE `id` = 1

File: J:/xampp/htdocs/gallery3/system/libraries/drivers/Database/Mysqli.php, line: 142
And here's how we got there:

* J:\xampp\htdocs\gallery3\system\libraries\drivers\Database\Mysqli.php [90]:

Kohana_Mysqli_Result->__construct( mysqli Object
(
)
, 1, UPDATE {items} SET `view_count` = `view_count` + 1 WHERE `id` = 1 )

* J:\xampp\htdocs\gallery3\system\libraries\Database.php [259]:

Database_Mysqli_Driver->query( UPDATE {items} SET `view_count` = `view_count` + 1 WHERE `id` = 1 )

* J:\xampp\htdocs\gallery3\modules\gallery\libraries\MY_Database.php [56]:

Database_Core->query( UPDATE {items} SET `view_count` = `view_count` + 1 WHERE `id` = 1 )

* J:\xampp\htdocs\gallery3\modules\gallery\controllers\albums.php [74]:

Database->query( UPDATE {items} SET `view_count` = `view_count` + 1 WHERE `id` = 1 )

* J:\xampp\htdocs\gallery3\modules\gallery\controllers\rest.php [91]:

Albums_Controller->_show( Item_Model Object
(
[children:protected] => items
[view_restrictions:private] => Array
(
)

[sorting:protected] => Array
(
)

[rules] => Array
(
[name] => required|length[0,255]
[title] => required|length[0,255]
[description] => length[0,65535]
)

[model_name:private] => item
[original:protected] =>
[has_one:protected] => Array
(
)

[belongs_to:protected] => Array
(
)

[has_many:protected] => Array
(
)

[has_and_belongs_to_many:protected] => Array
(
)

[load_with:protected] => Array
(
)

[object:protected] => Array
(
[id] => 1
[album_cover_item_id] =>
[captured] =>
[created] => 1248702647
[description] =>
[height] =>
[left] => 1
[level] => 1
[mime_type] =>
[name] =>
[owner_id] =>
[parent_id] => 0
[rand_key] =>
[relative_path_cache] =>
[resize_dirty] => 1
[resize_height] =>
[resize_width] =>
[right] => 2
[sort_column] => weight
[sort_order] => ASC
[thumb_dirty] => 1
[thumb_height] =>
[thumb_width] =>
[title] => Gallery
[type] => album
[updated] => 1248702647
[view_count] => 0
[weight] => 1
[width] =>
[view_1] => 1
[view_2] => 1
)

[changed:protected] => Array
(
)

[related:protected] => Array
(
)

[loaded:protected] => 1
[saved:protected] => 1
[object_relations:protected] => Array
(
)

[changed_relations:protected] => Array
(
)

[object_name:protected] => item
[object_plural:protected] => items
[table_name:protected] => items
[table_columns:protected] => Array
(
[id] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
[sequenced] => 1
)

[album_cover_item_id] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
[null] => 1
)

[captured] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
[null] => 1
)

[created] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
[null] => 1
)

[description] => Array
(
[type] => string
[length] => 2048
[null] => 1
)

[height] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
[null] => 1
)

[left] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
)

[level] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
)

[mime_type] => Array
(
[type] => string
[length] => 64
[null] => 1
)

[name] => Array
(
[type] => string
[length] => 255
[null] => 1
)

[owner_id] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
[null] => 1
)

[parent_id] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
)

[rand_key] => Array
(
[type] => float
[null] => 1
)

[relative_path_cache] => Array
(
[type] => string
[length] => 255
[null] => 1
)

[resize_dirty] => Array
(
[type] => int
[max] => 127
[unsigned] =>
[null] => 1
)

[resize_height] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
[null] => 1
)

[resize_width] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
[null] => 1
)

[right] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
)

[sort_column] => Array
(
[type] => string
[length] => 64
[null] => 1
)

[sort_order] => Array
(
[type] => string
[exact] => 1
[length] => 4
[null] => 1
)

[thumb_dirty] => Array
(
[type] => int
[max] => 127
[unsigned] =>
[null] => 1
)

[thumb_height] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
[null] => 1
)

[thumb_width] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
[null] => 1
)

[title] => Array
(
[type] => string
[length] => 255
[null] => 1
)

[type] => Array
(
[type] => string
[length] => 32
)

[updated] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
[null] => 1
)

[view_count] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
[null] => 1
)

[weight] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
)

[width] => Array
(
[type] => int
[max] => 2147483647
[unsigned] =>
[null] => 1
)

[view_1] => Array
(
[type] => int
[max] => 32767
[unsigned] =>
)

[view_2] => Array
(
[type] => int
[max] => 32767
[unsigned] =>
)

)

[ignored_columns:protected] =>
[primary_key:protected] => id
[primary_val:protected] => name
[foreign_key:protected] => Array
(
)

[table_names_plural:protected] => 1
[reload_on_wakeup:protected] => 1
[db:protected] => Database Object
(
[_table_names:protected] => Array
(
[{g3access_caches}] => g3access_caches
[{g3access_intents}] => g3access_intents
[{g3caches}] => g3caches
[{g3comments}] => g3comments
[{g3graphics_rules}] => g3graphics_rules
[{g3groups}] => g3groups
[{g3groups_users}] => g3groups_users
[{g3incoming_translations}] => g3incoming_translations
[{g3items}] => g3items
[{g3items_tags}] => g3items_tags
[{g3logs}] => g3logs
[{g3messages}] => g3messages
[{g3modules}] => g3modules
[{g3outgoing_translations}] => g3outgoing_translations
[{g3permissions}] => g3permissions
[{g3search_records}] => g3search_records
[{g3sessions}] => g3sessions
[{g3tags}] => g3tags
[{g3tasks}] => g3tasks
[{g3themes}] => g3themes
[{g3users}] => g3users
[{g3vars}] => g3vars
)

[config:protected] => Array
(
[benchmark] =>
[persistent] =>
[connection] => Array
(

)

[character_set] => utf8
[table_prefix] => G3
[object] => 1
[cache] =>
[escape] => 1
)

[driver:protected] => Database_Mysqli_Driver Object
(
[link:protected] => mysqli Object
(
)

[db_config:protected] => Array
(
[benchmark] =>
[persistent] =>
[connection] => Array
(

)

[character_set] => utf8
[table_prefix] => G3
[object] => 1
[cache] =>
[escape] => 1
)

[statements:protected] => Array
(
)

[query_cache:protected] =>
)

[link:protected] => mysqli Object
(
)

[select:protected] => Array
(
)

[set:protected] => Array
(
)

[from:protected] => Array
(
)

[join:protected] => Array
(
)

[where:protected] => Array
(
)

[orderby:protected] => Array
(
)

[order:protected] => Array
(
)

[groupby:protected] => Array
(
)

[having:protected] => Array
(
)

[distinct:protected] =>
[limit:protected] =>
[offset:protected] =>
[last_query:protected] => SELECT `key`, `translation`
FROM (`G3outgoing_translations`)
WHERE `locale` = 'en_US'
[query_history:protected] => Array
(
)

)

[db_applied:protected] => Array
(
[where] => where
[orderby] => orderby
[limit] => limit
[offset] => offset
)

[with_applied:protected] => Array
(
)

)
)

*

REST_Controller->__call( 1 )

* J:\xampp\htdocs\gallery3\system\core\Kohana.php [291]:

ReflectionMethod->invokeArgs( Albums_Controller Object
(
[resource_type:protected] => item
[uri] => URI Object
(
)

[input] => Input Object
(
[use_xss_clean:protected] => 1
[magic_quotes_gpc:protected] =>
[ip_address] =>
)

)
, Array
(
[0] => 1
[1] => Array
(
)

)
)

* J:\xampp\htdocs\gallery3\system\core\Event.php [209]:

Kohana::instance( )

* J:\xampp\htdocs\gallery3\system\core\Bootstrap.php [55]:

Event::run( Array
(
[0] => Kohana
[1] => instance
)
)

* J:\xampp\htdocs\gallery3\index.php [85]:

require( J:\xampp\htdocs\gallery3\system\core\Bootstrap.php )

********************************************************************************************************

 
greggan
greggan's picture

Joined: 2009-07-17
Posts: 5
Posted: Mon, 2009-07-27 14:50

Update.
I tried to install V2.3 of Gallery2 and that works just fine.
Then I suppose Gallery3 should work to?

 
greggan
greggan's picture

Joined: 2009-07-17
Posts: 5
Posted: Mon, 2009-07-27 15:01

Problem solved!!!
During installation of Gallery3 I was setting G3 as table prefix and that was the source of error.
I reinstalled and then used g3_ as prefix and sudenly everything works just fine.
I use http://www.apachefriends.org/en/xampp-windows.html on a win XP machine.

Regards/Stefan

 
el-zorro
el-zorro's picture

Joined: 2009-08-01
Posts: 4
Posted: Sat, 2009-08-01 11:05

For us newbie types:

In the Gallery3 directory:

1: Create a file called PHP5.ini

2. Enter the following text:

[PHP]
short_open_tag = On

3. Save the file.

4. Reload front end

Took me an entire morning (I am a newbie after all) to work this out. Hope it is of use to someone else

 
micrographics

Joined: 2010-02-18
Posts: 79
Posted: Fri, 2010-03-19 04:19

el-zorro

In which directory shall we store PHP5.ini file.

I copied this file in Gallery root folder but it did not worked.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2010-03-19 04:43

That all depends on your setup. For most places, the .htaccess file that ships with G3 is all you need, otherwise contact your host.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here