Finally, after several weeks of tweaking, I migrated my forum from phpBB2 to phpB3 in the last 3 days of 2008.
Last night I found that I had the Gallery installed double; very likely because my provider has
ModSecurity installed on my host. ModSecurity is an open source web application firewall that runs as an Apache module, and it was blocking part of the web-based convertion of my Smartor album. When the install gets to the step
- Code: Select all
install.php/index.php?mode=convert&convert_prefix=phpbb_&sub=create_table
the firewall will block the request with a HTTP 403 error.
I asked my provider to disable the specific line in the firewall, and after they did so, I could complete the convert, but that meant running the install, or at least the convertion, for a second time.
But somehow part of the installation was done double. As other's have seen, you can get the Gallery MOD twice in your ACP.
I had already disabled the second ACP Module through ACP > System > ACP > .Mods (as was the solution posted in this forum), but then I found that in the user profiles Gallery shows up twice, as well.
The errors and issues in one image:

(site is in Dutch, but images should be clear)
After checking how these views are build (they use the function
list_modules from INCLUDE/FUNCTIONS_MODULE.PHP) I found the issue to be duplicate entries in the PHPBB_MODULES table in the database. I removed the duplicate entries (PHPBB_GALLERY, ACP_GALLERY_*, ACP_IMPORT_ALBUMS, and UCP_GALLERY_*) with the highest ID's, and that seems to have done the trick.
Maybe it is a good idea to:
- Add the ModSecurity issue to an install FAQ
- On the next version, have the installer do some checks to see if the GALLERY modules exist in the database, already, and offer to remove/use/create duplicates.
Also, with the issue of the lytebox not working sometimes, I noticed that in the ProSilver style you import the
galler_lytebox.css, and that has references to
{T_THEME_PATH}. For SubSilver2, you include all necessary codes in
stylesheet.css. I tried using the import for SubSilver2, as well, and that works fine.
Marc