[SOLVED] Gallery core install error

eViking
eViking's picture

Joined: 2005-04-17
Posts: 5
Posted: Sun, 2005-04-17 23:31

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):

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-04-17 23:50

- 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.

 
eViking
eViking's picture

Joined: 2005-04-17
Posts: 5
Posted: Mon, 2005-04-18 01:29

Thanks for the quick answer. I will try to do that and keep you updated.

Gruess noch Zöri ;o)

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-04-18 16:12
Quote:
If you get an error then you must turn off ze1_compatibility_mode...

I have changed this to:

Quote:
If you get an error or no response then you must turn off ze1_compatibility_mode...

 
eViking
eViking's picture

Joined: 2005-04-17
Posts: 5
Posted: Mon, 2005-04-25 05:40

Thanks, problem solved. It really was the Zend-compatibility mode. No errors at all installing gallery.
Haven't tested it out yet... :wink: