G2 cvs install stuck at step 8 now its installed with error

cbradney

Joined: 2002-09-24
Posts: 13
Posted: Tue, 2004-12-14 12:15

Hi,

Thought I'd give g2 a go (having used 1.4 awhile ago). The install got stuck on step at (module install), always returning to the same page. I edited the URL and got to page 9. Install said it completed ok. When I login to the gallery now, I get:

Error (ERROR_BAD_PARAMETER)

* in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 51 (GalleryStatus::error)
* in modules/core/classes/GalleryCoreApi.class at line 2018 (GalleryEntityHelper_simple::loadEntitiesById)
* in init.php at line 147 (GalleryCoreApi::loadEntitiesById)
* in main.php at line 133
* in main.php at line 47
* in main.php at line 40

Any ideas?

 
CSpotkill

Joined: 2004-12-11
Posts: 113
Posted: Tue, 2004-12-14 13:50

Are you using alpha 4? There have been plenty of bugfixes since it was released. Try using WinCVS to get the latest G2 code from CVS or download a nightly snapshot. Do a clean install, by removing the database tables and deleting all the files in both the main gallery folder and the data folder before installing the new version. Good luck ;)

 
baschny
baschny's picture

Joined: 2003-01-04
Posts: 328
Posted: Tue, 2004-12-14 14:31

cbradney, maybe the reason why you got stuck at one step is because it didn't installed the tables correctly? Did you get any error or warning or other hint on what went wrong?

Can you check your database if you have the g2_.. tables? Check the table g2_PluginParameterMap, do you see any content in there, or is it empty? If this is the case, try a "total cleanup" first and reinstall:

1) remove everything inside g2data
2) drop your database and create it again
3) run the g2-installer again

See if you notice anything strange while doing that.

 
cbradney

Joined: 2002-09-24
Posts: 13
Posted: Tue, 2004-12-14 19:26

Using alpha4. Yes, I have the tables, yes I have g2_PluginParameterMap with core and Matrix only in there.

Its installed into a combined db with a table prefix. There were no errors or weirdness reported at all. It just got to the extra module installer page and wouldnt go any further. Its on MySQL on a FreeBSD server.

Any idea when the next alpha or beta release is planned for? I can easily try CVS, but I just wanted to give it a go. I gave up on v1.4 ages ago with the mess of server permissions on subdirs etc.

 
cbradney

Joined: 2002-09-24
Posts: 13
Posted: Thu, 2004-12-16 18:59

Ok, I took the tarball from the 16th and recreated my gallery2 dir, nuked the tables and went thru the setup process again. Same issue. Stuck at stage 8 and wont go further. No errors or warnings.

 
baschny
baschny's picture

Joined: 2003-01-04
Posts: 328
Posted: Thu, 2004-12-16 20:53

cbradney, step 8 is Install Other Modules, right? what happens when you select some modules and click "Activate Selected Modules"? This step is in fact optional, and you should be able to click on "Continue to Step 9 without activating". What happens when you click on that link?

 
cbradney

Joined: 2002-09-24
Posts: 13
Posted: Sat, 2004-12-18 15:48

Trying with 18ths tarball. Step 7 finishes, then click on Go to step 8 and it doesnt go anywhere. Changing the URL to jump to page 9 works, and then I get an upgrade step which gets stuck at getting into its step3 of upgrading modules. Jumping to its step 4 make it continue but I get exactly the same error message as I first posted (with some line numbers being different).

Error (ERROR_BAD_PARAMETER)

* in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 51 (GalleryStatus::error)
* in modules/core/classes/GalleryCoreApi.class at line 2063 (GalleryEntityHelper_simple::loadEntitiesById)
* in init.php at line 152 (GalleryCoreApi::loadEntitiesById)
* in main.php at line 133
* in main.php at line 47
* in main.php at line 40

 
cbradney

Joined: 2002-09-24
Posts: 13
Posted: Sat, 2004-12-18 15:50

g2_PluginMap exists in the db, but is empty.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Sat, 2004-12-18 18:37

just FYI, telling us error you get after manually changing urls to jump around isn't as useful as helping us determine the original problem so we can make the installer more robust...

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sat, 2004-12-18 23:51

Hmm. I think that we're only seeing the symptoms of an earlier failure, which is that the core module failed to install properly. I'm guessing that you're not using transactional MySQL because if you were, then you wouldn't even have the tables (unless MySQL creates tables outside transactions -- maybe somebody can verify that). It's weird that the core module would fail to install without giving you an error, though since we check all error codes.

Any chance I can ssh to your box and try the install and see if I can fix the problem by tinkering with the code? Private message me if that's possible.

 
cbradney

Joined: 2002-09-24
Posts: 13
Posted: Sun, 2004-12-19 00:20

mindless, yes, I realise that. Issue is that I get NO warnings and NO errors before that.. so you have to try something.

MySQL is 4.022, server is FreeBSD 5.3, apache 2.0.52. Unfortunately its not my box to go up/downgrading etc. Have just noticed its php 5.02.

I have entries in:
g2_PermissionSetMap (10)
g2_PluginMap (1)
g2_PluginParameterMap (23)
g2_Schema (30)
g2_SequenceId (1)

 
cbradney

Joined: 2002-09-24
Posts: 13
Posted: Wed, 2004-12-29 14:27

FWIW, the current snapshot installs in a similarly setup freebsd jail, but php4 this time.

 
ronoc

Joined: 2008-04-30
Posts: 1
Posted: Wed, 2008-04-30 02:32

Hey cbradney I had this exact same problem. Installer stalling half-way through step 8. Only difference is I hit step 8 again on the side to reload it, and the progress bar jumped to 100%. I was able to go through the rest of the install but was not able to install plugins and i got the same error when I clicked send me to my gallery.

I did fix my install by upping my php memory to 16M in php.ini and restarting apache, as was suggested in the instructions before.

Hope this helps