Quite a while ago I installed the importexport module. now since I don't need it anymore at it's not under development I want to get rid of this module.
But this seems to be a complicated task.
I uninstalled it from the modules in the admin page, but still when I add an Item I have the option to use the import.
I then deleted the directory ... the result is that I can't add any Items since it complains about the missing importexport files
Quote:
Error (ERROR_BAD_PATH) : Invalid path: modules/importexport/ItemAddFromBackup.inc
* in modules/core/classes/helpers/GalleryFactoryHelper_simple.class at line 205 (gallerystatus::error)
* in modules/core/classes/helpers/GalleryFactoryHelper_medium.class at line 59 (galleryfactoryhelper_simple::newinstance)
* in modules/core/classes/GalleryCoreApi.class at line 121 (galleryfactoryhelper_medium::newinstancebyid)
* in modules/core/ItemAdd.inc at line 355 (gallerycoreapi::newfactoryinstancebyid)
* in modules/core/ItemAdmin.inc at line 147 (itemaddview::loadtemplate)
* in modules/core/classes/GalleryTheme.class at line 688 (itemadminview::loadtemplate)
* in modules/core/classes/GalleryView.class at line 285 (matrixtheme::loadtemplate)
* in main.php at line 288 (itemadminview::doloadtemplate)
* in main.php at line 88
* in main.php at line 81
I searched the database and found a entry in the g2_FactoryMap, removed it and still have the entry in the add item ( after putting the directory back )
how on earth do I get rid of this module?? I want to upgrade to 2.1 and can't because of this module.
Please help !
Gallery version = 2.0.2 core 1.0.0.2
PHP version = 4.4.2-1 apache
Webserver = Apache/1.3.34 (Debian) PHP/4.4.2-1 mod_ssl/2.8.25 OpenSSL/0.9.8a
Database = mysql 4.1.15-Debian_1-log
Toolkits = ArchiveUpload, Exif, ImageMagick, NetPBM, Thumbnail, Gd, Dcraw, Ffmpeg
Operating system = Linux lcx.at 2.4.31-grsec #21 SMP Fri Dec 2 08:49:48 CET 2005 i686
Browser = Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.0.1) Gecko/20060214 Camino/1.0
Posts: 61
ok kind of solved it ...
don't know quite how but I can guess
first remove the entry out of the database ( weird delete statement has been created by phpmyadmin )
then remove the direcotry
from you gallery installation root do:
go to the support page ( http://foo.bar.com/gallery2/lib/support/ )
remove cache
finish ! finaly !
Posts: 75
I have the same problem when trying to install Gallery 2.1 from 2.02.2
I tried to delete the entry from database by phpMyAdmin and delete the folder as guided by Dracula, however I cannot do anything with the g2data/cache/importexport, maybe this need cell admin but I do not have the rights. Though I deleted the modules/inportexport, the above warning came again.
Pls help me solve this.
Iced Coffee
Gallery version = 2.0.2 core 1.0.0.2
PHP version = 4.4.1
Database = mysql 4.1.13-standard
Toolkits =
Operating system = Linux
Browser = Firefox 1.5
Posts: 61
I had some problems to delete it with phpmyadmin so I did it manualy with mysql.
I noticed that one path is wrong ... it should be g2data/cache/modules/importexport
and on one I installation I had to do the mysql delete twice ( don't ask why ... no clue ) Just try it again.
Posts: 75
I removed the G2.1's file and put back the G2.0.2 files. After upgrading it work again. Then I uninstalled the ImportExport module. Dunno if it is safe for me to install G2.1 or not? Someone advise me on this? Thanks.
Iced Coffee
http://www.myweddinglife.info
Posts: 8601
if all your G2.0.x-only modules/themes are uninstalled then 2.1 upgrade should be fine.
Posts: 75
I followed the instruction by removing entry out of the database with the above querry, then both of the importexport folders in cache and module folders. However, I still have this warning:
What else I can do?
Iced Coffee
http://lanhanh.myweddinglife.info
Posts: 61
@mindless: not realy. I had the same problem. Uninstalled it in gallery 2.0 and tried to upgrade. worked actualy but then I couldn't add any Items because there was something left in the database.
@iced coffee: did you look if there isn't anything left in the database from the importexport module?
try to go back to gallery 2.0 and try everything again.
Before starting to upgrade to 2.1 try to add an item an the gallery. If you get an error, or still see the tab "from backup" then it didn't work.
Posts: 8601
dracula, the importexport module? modules are supposed to remove ALL their data from the DB on uninstall, so if that's the case, it's a bug in that module. (just deactivating a module doesn't remove stuff from db)
Posts: 61
yes. the impostexport modules leaves some stuff in the DB and since it's not under development anymore I don't think anyone will fix this bug. It's just bad for people upgrading to G2.1 if the module is installed.
My instrunction helped me to clear the stuff out of the DB so I could install it.
Posts: 75
So any of you can work out where it remains in the database and tell us how to drop them off the table. Thanks.
Anyway, it worked with one of my G2 (I multi-installed 2 G2 on the same site) that I just uninstall it from G2.0.2 and upgrade to 2.1 I have problem with the other because I forgot to uninstall it. Now if I roll back to G2.0.2 to uninstall this, it will effect the first G2. That's why I want instruction to delete the ImportExport manually from the database.
Thanks.
Iced Coffee
http://www.myweddinglife.info