G2 installer creates no tables

orthanc

Joined: 2005-07-04
Posts: 7
Posted: Mon, 2005-07-04 15:30

Hello,

today i tried my first G2 installation. ... and it fails. ;) Unfortunately i can't find something related in the forum.

The installation failed on step 8. There are no errors before. All checks passed green.
The G2-Installation creates no sql-tables in the db.
I tried an existing db first and also a new db. Everytime with cleared/new data-directory. Same result:

(mysql): SELECT g2_PluginParameterMap.g_parameterName, g2_PluginParameterMap.g_parameterValue FROM g2_PluginParameterMap WHERE g2_PluginParameterMap.g_pluginType = 'module' AND g2_PluginParameterMap.g_pluginId = 'core' AND g2_PluginParameterMap.g_itemId = 0   
--------------------------------------------------------------------------------
1146: Table 'gallery.g2_PluginParameterMap' doesn't exist

Fatal error: Call to undefined function: debug_backtrace() in /home/vsm99.de/www/vsm99/menalto/lib/adodb/adodb-lib.inc.php on line 852

Anybody any idea?

Thx for help.
----

Gallery URL (optional):
Gallery version:
Webserver (with version): Apache/1.3.23
Datatabase (with version): MySQL3.23.49a
PHP version (eg 4.2.1): 4.2.1
phpinfo URL (optional): vsm99.de/phpinfo.php
Graphics Toolkit(s):
Operating system: Linux 2.4.9-31 RedHat7.2
Web browser/version: IE6 & Firefox 1.04
G1 version (for migration bugs):
[/code]

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-07-04 15:33

1. any warnings in the system checks step of the installer?
see:
http://codex.gallery2.org/index.php/Gallery2:faq#What_about_the_warning_for_missing_.26_modified_files_in_the_installer_.26_upgrader.3F

2. what g2 version is it? beta 3? a nightly snapshot? from when?

 
orthanc

Joined: 2005-07-04
Posts: 7
Posted: Mon, 2005-07-04 15:40
orthanc wrote:
... All checks passed green.

;)
No errors in system check.

Yes, nightly snapshot.
gallery-2.0-beta-3+.zip
Latest, i think. Downloaded this morning from germany ... may be last night for you.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-07-04 16:21

grmpf, sorry. i'm overlooking these "system checks passed" sentences.

your error is strange. strange because we test in the database setup step whether your db user has enough permissions to create db tables.

can you try again with an empty db, empty g2data folder? thanks.

 
orthanc

Joined: 2005-07-04
Posts: 7
Posted: Mon, 2005-07-04 18:10

Yes, the db-user has full rights.

I tried it again with new, empty g2data-folder and new, empty db.
The same error and no tables in db. :(

btw.: another user in another forum has the same problem and no solution yet.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-07-04 18:33

could you post the complete debug output? thanks.

 
orthanc

Joined: 2005-07-04
Posts: 7
Posted: Mon, 2005-07-04 18:53

of course

(mysql): SELECT g2_PluginParameterMap.g_parameterName, g2_PluginParameterMap.g_parameterValue FROM g2_PluginParameterMap WHERE g2_PluginParameterMap.g_pluginType = 'module' AND g2_PluginParameterMap.g_pluginId = 'core' AND g2_PluginParameterMap.g_itemId = 0   
--------------------------------------------------------------------------------
1146: Table 'gallery.g2_PluginParameterMap' doesn't exist

Fatal error: Call to undefined function: debug_backtrace() in /home/vsm99.de/www/vsm99/menalto/lib/adodb/adodb-lib.inc.php on line 852

webroot is /home/vsm99.de/www
gallery installed in subfolder /vsm99/menalto
g2data-dir is subfolder /vsm99/menalto/g2data (chmod 777)

... in phpmyadmin i can create tables with the login used for G2

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-07-04 19:47

if
- that's the complete error message and
- if you really have no file integrity warning in the system checks step of the installer and
- if you don't use any php cache / accelerator and
- if this a clean install (no g2 tables exist before the install, g2data/ is empty)

then i don't know what's wrong here.

 
orthanc

Joined: 2005-07-04
Posts: 7
Posted: Mon, 2005-07-04 20:07
This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.2.0, Copyright (c) 1998-2002 Zend Technologies
with Zend Optimizer v1.3.1, Copyright (c) 1998-2002, by Zend Technologies

Isn't it an accelerator? ;)

Unfortunately i can't change the php.ini file. Could this be the solution? :/

Is there another way or have i to contact my hoster?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-07-04 20:28

zend optimizer should be ok as long as the zend.ze1_compatibility_mode is off.
so this isn't the problem.

 
malinky

Joined: 2005-08-03
Posts: 2
Posted: Wed, 2005-08-03 03:26

hey there, i'm having the same exact problem with my install. were you able to find a solution?

 
tengstedt

Joined: 2005-08-03
Posts: 2
Posted: Wed, 2005-08-03 12:20

I have the same problem and I am posting this to be notified, when an answer comes up.

Lars :D

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-08-03 12:31

everyone with this problem please post their php version.
i assume you have all a php version < php 4.3.0.

this is probably a weird adodb bug, i.e. we can fix it, but we need more information from you users.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2005-08-03 12:34
 
tengstedt

Joined: 2005-08-03
Posts: 2
Posted: Wed, 2005-08-03 12:38

4.1.2
adodb says, the version is smaller than 4.3
our code says, the version is smaller than 4.3

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2005-08-03 15:40

i'm upgrading our adodb to the current release, 4.65. will commit to cvs asap.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2005-08-03 17:18

cvs hanging a bit today.. just got this in. wait some hours and update from anonymous cvs and see if this version fixes the pre-4.3 problem.

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Thu, 2005-08-04 09:29

or use todays nightly snapshot /beta 4+) from:
http://galleryupdates.jpmullan.com/

 
malinky

Joined: 2005-08-03
Posts: 2
Posted: Thu, 2005-08-04 19:51

i'm using 4.1.2 as well

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Fri, 2005-08-05 10:26

The nightly snapshot is now available:

Get either
- G2/gallery-2.0-rc-1.zip
or
- G2/gallery-2.0-rc-1.tar.gz

from http://galleryupdates.jpmullan.com/ .