Another post to the Gallery2 beta2 core install error;
I saw that several people had or have problems to install the gallery core in step 7 of the Gallery2 beta2 installer. I followed some of the directions in previous posts (wherever possible) but none of them worked.
Here's how I've tried to install it in a couple of different ways:
initially, I wanted to create the g2data folder inside my Mambo image folder but I ended up getting tons of php-errors (like the duplicate z and so on). Whenever I fixed one of these errors in the database, the next time I ran the installer, another one came up.
So I decided to keep it in the default gallery directory just to see what happens (of course I deleted and reinstalled the whole gallery and the database). This didn't work out either coz I got stuck in step 7 with the gallery core install error.
Well then, lets download the latest nightly build to see if that works (again, deleted and reinstalled everything!) This time was even worse, it already reported in step 3 in the system check that files were missing and files were modified. Of course, it didn't work either. - I also tried both versions, the tar ball and the zip version, in case there might be a problem with extracting the files. Same negative result.
So I went back to the regular installer coz the nightly builds gave me even more problems. Again, deleted and reinstalled everything and uploaded this time with another FTP client (who knows...). Nope, again the same error in step 7 comes up and the output doesn't even report an error (neither with 'immediate' activated).
What else can is there to try?
Thanks for any suggestions...
Here's the output:
file_exists(/home/dj-miro/public_html/mambo/gallery2/g2data//cache/entity) file_exists(/home/dj-miro/public_html/mambo/gallery2/g2data//cache/layout) file_exists(/home/dj-miro/public_html/mambo/gallery2/g2data//cache/module) file_exists(/home/dj-miro/public_html/mambo/gallery2/g2data//cache/derivative)
(mysql): SHOW TABLES
file_exists(/home/dj-miro/public_html/mambo/gallery2/modules/core/classes/helpers/../../../../modules/core/module.inc) realpath(/home/dj-miro/public_html/mambo/gallery2/modules/core/classes/../../..) Binding text domain: modules_core -> /home/dj-miro/public_html/mambo/gallery2/modules/core/locale file_exists(/home/dj-miro/public_html/mambo/gallery2/g2data//versions.dat)
PS:
Maybe I have to mention that in all tries I got a warning in step 3 saying that;
Zend compatibility mode
Warning
Warning: Your PHP is configured with Zend ze1_compatibility_mode which can cause PHP to crash. Click here to test your PHP. If you see "SUCCESS" then your PHP is ok. If you get an error then you must turn off ze1_compatibility_mode before proceeding.
Even if clicked on test your PHP nothing happened. And I don't know if this Zend mode is actually very important since PHP seems to work...
----
Gallery URL (optional):
Gallery version: 2.0 beta2
Webserver (with version): Apache 1.3.33
Datatabase (with version): MySQL 4.0.20
PHP version (eg 4.2.1): 4.3.8
phpinfo URL (optional):
Graphics Toolkit(s):
Operating system: BSD
Web browser/version: Safari 1.2/FireFox 1.0.2/Camino 0.8.3
G1 version (for migration bugs):
Posts: 32509
- the Zend ze1_compatibility_mode may be serious.
- and uploading thousands of files via ftp is very unreliable. if possible, get the archive on the server and extract it there. (filebrowser of the admin panel can do that sometimes, if you don't have shell access).
- in this case, you should take the system check step of the installer very serious. for the beta 2 release, you should make sure it has 0 missing/modified files.
- and make sure the g2data folder / the database are really empty before starting the installation.
and if still doesn't work, we will have to debug it probably because of the Zend ze1_compatibility_mode.
Posts: 5
Thanks for the quick answer. I will try to do that and keep you updated.
Gruess noch Zöri ;o)
Posts: 8601
I have changed this to:
Posts: 5
Thanks, problem solved. It really was the Zend-compatibility mode. No errors at all installing gallery.
Haven't tested it out yet... :wink: