After moving a Drupal 5/G2.2 installation and upgrading for Drupal 6 and G2.3SVN I am getting the following error:
Fatal error: Class 'GalleryCoreApi' not found in /XXX/sites/all/modules/gallery/gallery_install.inc on line 1109 in admin/settings/gallery/install.
If I comment this line out I can get the install to run and I see that the Gallery2 location is wrong (I get the error: URI of Gallery2: file /XXX/gallery2/embed.php does not exist). In this case the installer should never have moved beyond step2, but all 5 steps are present. ImageBlock and ImageFrame are also shown as missing (but are present). Looks like the URL rewrite check is being run even though the Gallery cannot be found.
A 'reset and restart' correctly stops at step 2. I needed to manually config my setup (probably due to my use of MAMP) and it partially worked. The manual config does not set gallery_base up properly and the value will end up as '' in the database, instead of 'gallery' or a user defined value.
Comments
Comment #1
profix898 commentedHi Kieran!
The gallery_base bug should be trivial to fix. As for the other problem: I experienced a similar problem myself a few weeks ago, but forgot to fix it for some reason. Thanks for reminding ;) It should be noted that the program flow changed for the install tab in D6 (due to FAPI3 improvements). The actual config wizard is now independent of the status overview. So I guess the issue is caused by the new order of execution and the fact that _gallery_init() is eventually called multiple times for the overview page. I will create a patch to correct this behavior later today ...
Comment #2
profix898 commentedFixed the bugs and reorganized some parts of the install overview to improve usability.
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.