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?
Posts: 113
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 ;)
Posts: 328
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.
Posts: 13
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.
Posts: 13
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.
Posts: 328
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?
Posts: 13
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
Posts: 13
g2_PluginMap exists in the db, but is empty.
Posts: 8601
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...
Posts: 7994
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.
Posts: 13
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)
Posts: 13
FWIW, the current snapshot installs in a similarly setup freebsd jail, but php4 this time.
Posts: 1
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