Gallery 3 installation stops: requires PHP 5.2.3 or newer.

Ralf-Schlieper

Joined: 2005-09-25
Posts: 42
Posted: Sun, 2009-06-07 19:37

My Gallery 3 Beta installation fails, because it doesn't detect the php-Version

"Gallery 3 requires PHP 5.2.3 or newer."

With this .htaccess I can switch my Server to PHP 5.2.9, but I don't know how to integrate this in Gallery-Istallation:

-------------.htaccess
AddType text/x-component .htc
AddHandler php5-script .php
---------------------------

Ralf

Please visit my gallery if you are interested in good B/W-photos:
http://www.fotogemeinschaft.de

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2009-06-09 04:03

Try adding those lines at the top of gallery3/.htaccess. If that doesn't work, please ask your server admin to help you get that going.
---
Problems? Check gallery3/var/logs before you post! and file bugs here!
Latest zip: http://github.com/gallery/gallery3/zipball/master
Latest git: http://codex.gallery2.org/Gallery:Using_Git

 
Ralf-Schlieper

Joined: 2005-09-25
Posts: 42
Posted: Tue, 2009-06-09 11:02
Quote:

Dear Bharat

I have changed everything on my Server to PHP5

here is my PHP5-Info

http://www.photogemeinschaft.de/phpinfo.php5

If I try to start the installation, I now get a blank page... and Installatione will not start

http://www.photogemeinschaft.de/installer/

Ralf

Please visit my gallery if you are interested in good B/W-photos:
http://www.fotogemeinschaft.de

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Wed, 2009-06-10 02:22

Check your error logs, there's probably a clue in there. This is a configuration issue on your side, it's really hard for me to diagnose it from here.
---
Problems? Check gallery3/var/logs before you post! and file bugs here!
Latest zip: http://github.com/gallery/gallery3/zipball/master
Latest git: http://codex.gallery2.org/Gallery:Using_Git

 
Ralf-Schlieper

Joined: 2005-09-25
Posts: 42
Posted: Thu, 2009-06-11 20:29

Now I have installed it, but when I start the Gallery I get a blank page:

gallery3/var/logs
"2009-06-11 22:17:06 +02:00 --- error: Uncaught Kohana_Database_Exception: There was an SQL error: - SHOW TABLES FROM `db288801958` in file system/libraries/drivers/Database/Mysqli.php on line 142"

Ralf

Please visit my gallery if you are interested in good B/W-photos:
http://www.fotogemeinschaft.de

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Fri, 2009-06-12 08:22

What version of MySQL do you have?
---
Problems? Check gallery3/var/logs before you post! and file bugs here!
Latest zip: http://github.com/gallery/gallery3/zipball/master
Latest git: http://codex.gallery2.org/Gallery:Using_Git

 
Ralf-Schlieper

Joined: 2005-09-25
Posts: 42
Posted: Fri, 2009-06-12 09:01

MySQL Version 5.0.67

http://www.schlieper-online.de/phpinfo.php5

MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 5.0.67
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient

MysqlI Support enabled
Client API library version 5.0.67
Client API header version 5.0.32

I have the biggest dedicated Server from 1+1 with 16 GB Ram, Quadcore Processor, PHP5, MySQL 5 etc.

Ralf

Please visit my gallery if you are interested in good B/W-photos:
http://www.fotogemeinschaft.de

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2009-06-13 01:35

That's weird. What happens if you try it from the mysql command line? eg:

$ mysql -uroot -p<pass>
mysql> show tables from `db288801958`

what do you get?
---
Problems? Check gallery3/var/logs before you post! and file bugs here!
Latest zip: http://github.com/gallery/gallery3/zipball/master
Latest git: http://codex.gallery2.org/Gallery:Using_Git

 
Ralf-Schlieper

Joined: 2005-09-25
Posts: 42
Posted: Mon, 2009-06-15 07:30

Nothing!

Sorry bharat, I am not very used with these shell commands; I have tried your command lines (perhaps wrong) but nothing happens.

I am able to see the tables of Gallery 3 in phpmyadmin.

With my little knowledge I perhaps should wait on a newer version of Gallery 3. (;-)

Thanks for your help.

Ralf

Please visit my gallery if you are interested in good B/W-photos:
http://www.fotogemeinschaft.de

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2009-06-16 03:40

You might try to find somebody locally who is knowledgeable about this stuff to help you out. Either that or cut and paste what you tried from the command line so that we can take a look at it.
---
Problems? Check gallery3/var/logs before you post! and file bugs here!
Latest code/upgrading: http://codex.gallery2.org/Gallery3:Upgrading
Latest git: http://codex.gallery2.org/Gallery:Using_Git

 
Ralf-Schlieper

Joined: 2005-09-25
Posts: 42
Posted: Tue, 2009-06-16 07:26

Dear bharat,

thanks for your engagement with a newbie... (;-)

when I enter the first line "$ mysql -uroot -p<pass>" and enter the password from the gallery3-MySQL-DB., I see the following:

---------------------
$ mysql -uroot -p
Enter password: xxxxx
ERROR 1045 (00000): Access denied for user: 'root@localhost' (Using password: YES)
$

I don't know, which other Password could be meant than the pw from the gallery3 MySQL-DB

Ralf

Please visit my gallery if you are interested in good B/W-photos:
http://www.fotogemeinschaft.de

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2009-06-16 20:27

Unfortunately, this is eating too much of my time so I'm probably going to disengage at this point. If you could read the mysql manuals (or somebody else could pitch in here) that would help considerably. In this case, you need to use the appropriate user, not "root" for your mysql command. If you can figure out the problem, please let me know.
---
Problems: Check gallery3/var/logs first!
file a bug or feature request | upgrade to the latest code | use git

 
Ralf-Schlieper

Joined: 2005-09-25
Posts: 42
Posted: Wed, 2009-06-17 07:28

Dear bharat,

as I have said: I must wait on a newer version with fewer bugs. My Gallery2 ( http://www.fotogemeinschaft.de ) has 25.000 Fotos and I don't believe, that it is possible for me to import these Fotos in the Beta. (I have read the feedback and there seems to be very much problems with the Beta and the import of Gallery2-Data)

Perhaps a MySQL-Professional would fix my problems, but I am a simple User... - I have to wait ... (;-)

Ralf

Please visit my gallery if you are interested in good B/W-photos:
http://www.fotogemeinschaft.de

 
greenteagod

Joined: 2004-05-20
Posts: 38
Posted: Mon, 2009-06-22 09:01

I get the same error but my server states it's running 5.2.5 so who knows.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2009-06-22 18:29

@greenteagod: we're checking the PHP_VERSION constant. Try putting <?= PHP_VERSION ?> in a php file and opening it in your browser-- what do you see?
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!

 
greenteagod

Joined: 2004-05-20
Posts: 38
Posted: Tue, 2009-06-23 23:31

Ouch. 4.4.8
Contacting my host company right now and seeing what's up.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2009-06-24 04:09

What does a php info file say? Directions in this FAQ:
FAQ: What information is required when I ask for help in the forums?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team