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 Ralf Please visit my gallery if you are interested in good B/W-photos: |
|
Posts: 7994
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
Posts: 42
Posts: 7994
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
Posts: 42
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
Posts: 7994
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
Posts: 42
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
Posts: 7994
That's weird. What happens if you try it from the mysql command line? eg:
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
Posts: 42
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
Posts: 7994
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
Posts: 42
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
Posts: 7994
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
Posts: 42
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
Posts: 38
I get the same error but my server states it's running 5.2.5 so who knows.
Posts: 7994
@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!
Posts: 38
Ouch. 4.4.8
Contacting my host company right now and seeing what's up.
Posts: 27300
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