I wanted to update my Updates module so I DLed Mindless' update to 0.2.6. I got an error from my 2.0 installation (something with APIs not being the correct version).
Then I thought: well, I'd better upgrade to 2.0.2 and I did that (manully copying the files). I ran through the updater and all was fine (except the upgrade modules bit - which said I could do it afterwards). When I started Gallery, there was still problems with Updates 0.2.6 (wrong API again). Then I downgraded to Updates 0.2.4 but now that does not work.
Please help me to sort this out.
Updates error printout below:
Quote:
Error Detail -Error (ERROR_BAD_PARAMETER) : /home2/fjelsten/public_html/gallery/modules/core/classes/../../../modules/updates/ShowUpdates.incin modules/core/classes/GalleryView.class at line 158 (gallerystatus::error)in main.php at line 262 (galleryview::loadview)in main.php at line 87in main.php at line 80System InformationGallery version 2.0.2PHP version 4.3.10 apacheWebserver Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.10 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7aDatabase mysql 4.0.25-standardToolkits SquareThumb, GdOperating system Linux dallas3.incognitonetworks.com 2.4.21-32.ELsmp #1 SMP Fri Apr 15 21:17:59 EDT 2005 i686Browser Opera/9.0 (Windows NT 5.1; U; en)
Posts: 1023
runs perfect on my 2.1 setup with the latest module
Gallery version = 2.1.0- core 1.0.19
PHP version=5.1.2 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a
Database=mysql 5.0.18-nt-log
Gallery-URL=http://lf-photodesign.de
Posts: 66
2.1? The newest release is 2.0.2 n'est-ce pas?
I prefer not to use CVS versions since it makes upgrading difficult.
Posts: 1023
yes - that's the CVS version.
due to the incorrect API version, I assume you don't see an uninstall link for the module?
One way could be to copy back the (wrong) .26 archive, change module.inc to fake the API requirements and
instantly uninstall it. Replace the folder with a clean, old .24 version and try to reinstall.
Gallery version = 2.1.0- core 1.0.19
PHP version=5.1.2 apache2handler
Webserver=Apache/2.2.0 (Win32) DAV/2 PHP/5.1.1 mod_ssl/2.2.0 OpenSSL/0.9.8a
Database=mysql 5.0.18-nt-log
Gallery-URL=http://lf-photodesign.de
Posts: 66
I have tried that without succes:
Deleted 0.2.4, installed 0.2.6 with a changed API requirement, deactivated and uninstalled that, installed and activated 0.2.4.
Posts: 8601
maybe try going into your db and clearing out everything for module 'updates' in g2_PluginMap and g2_PluginParameterMap. i'm pretty sure that's every trace of this module in the db. then go to site admin / maintenance and run the flush db cache task. now put the 0.2.4 code in place and you should be able to install the module again.
Posts: 66
Dang! No difference. Just tried. It is properly removed from the DB on uninstallation. Any other suggestions?
Peter
http://gallery.fjelsten.dk/v/peter/
Posts: 8601
Can you describe exactly what happens when you try to install/activate/use the module? Right now the updates module doesn't appear to be active.
Posts: 8601
Also post the URL you are trying.. that error indicates you tried something like g2_view=ShowUpdates instead of g2_view=updates.ShowUpdates
Posts: 66
There is no problems installing/uninstalling (i.e. no errors).
It was deactivated before, now I've reactivated it: http://gallery.fjelsten.dk/main.php?g2_view=updates.ShowUpdates.
I have URL-rewrite activated but this link should work regardless of URL-rewrite.
Posts: 8601
then i'd make sure all the files in modules/updates are there and the files and dirs have the correct permissions.
Posts: 66
Thanks. It was permissions. I had copied the Updates folder to my HDD and moving it back to the webserver apparently changed some permissions. Thanks for your help. Looking forward to Gallery 2.1