Just Upgraded to 2.3 from 2.2 notification module is gone

Armani2

Joined: 2007-05-09
Posts: 263
Posted: Fri, 2008-12-12 12:05

I just finished upgrading to 2.3 from 2.2 , the main reasons were the new slideshow, works great, the database backup, stalls near the end no error, just says failed...
And during the update I got an error saying that the notification module could not be updated, but i figured i could do it after the install , NOT.
I am now without a comment module period, when i try to install from plugins i get this:

An error has occurred.

Back to the Gallery

Error Detail -
Error (ERROR_MISSING_VALUE) : Undefined map: NotificationSubscriptions
in modules/core/classes/GalleryStorage.class at line 1256 (GalleryCoreApi::error)
in modules/core/classes/GalleryStorage.class at line 1248 (GalleryStorage::describeMap)
in modules/core/classes/GalleryStorage.class at line 571 (GalleryStorage::describeMap)
in modules/core/classes/GalleryCoreApi.class at line 2912 (GalleryStorage::getMapEntry)
in modules/notification/module.inc at line 269 (GalleryCoreApi::getMapEntry)
in modules/core/classes/GalleryModule.class at line 175 (NotificationModule::upgrade)
in modules/core/PluginCallback.inc at line 230 (GalleryModule::installOrUpgrade)
in modules/core/PluginCallback.inc at line 67 (PluginCallbackView::handleCallback)
in main.php at line 450 (PluginCallbackView::renderImmediate)
in main.php at line 104
in main.php at line 88
System Information
Gallery version 2.3
PHP version 5.2.5 cgi
Webserver Apache/1.3.37 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.28 OpenSSL/0.9.7a PHP-CGI/0.4mm
Database mysqlt 5.0.51a-community-log
Toolkits ImageMagick, Thumbnail, NetPBM, Gd
Operating system Linux serv01.siteground173.com 2.6.24.3-grsec-sg1 #4 SMP Mon Mar 10 08:34:02 CDT 2008 i686
Browser Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; .NET CLR 1.1.4322)

Thanks..

 
Armani2

Joined: 2007-05-09
Posts: 263
Posted: Fri, 2008-12-12 18:11

Well Got the Database backup working. Anyone have a clue on what to try with the above Notification Module error?

Anyone ??? :)

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2008-12-12 18:14

Can you unistall the notification module? I suspect you where using the 3rd party module and it might not be compatible with the one that is available with 2.3,

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Armani2

Joined: 2007-05-09
Posts: 263
Posted: Fri, 2008-12-12 18:20

Hi Dave, the status of the module is (upgrade required (Inactive) ) It shows 0.90 installed which came with 2.2 but I cant uninstall in via the plugins area. My only option is to upgrade to 1.03 which is giving me the error, everything else on 2.3 works perfectly......
Thanks..

 
Armani2

Joined: 2007-05-09
Posts: 263
Posted: Fri, 2008-12-12 18:52

what do you think ???

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2008-12-12 19:28

I guess you can manualy edit the DB to make sure is is deactivated. FAQ: How can I deactivate a module when I am unable to login?FAQ: How can I deactivate a module when I am unable to login?
Then delete it from the /gallery2/modules directory and then use the 'get more plugins to get the most recent version.
Verify that your modules directory have the proper permissions.
FAQ: How can I upload a theme or module via FTP when I used the preinstaller?

The names of the Faqs posted are not right but will point you in the right direction on what to do.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Armani2

Joined: 2007-05-09
Posts: 263
Posted: Fri, 2008-12-12 20:13

There are 3 references to the notification module within the database? although the above links do give some insight, they would probably have me crash gallery....

If I new exactly what to remove, everything related to notifications? certian parts or part? databases can be scary when you dont know what your doing :)

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2008-12-12 22:09

1. Create a backup of the DB.

So you can loginto phpMyAdmin and see the db?

1. Login to your g2database, choose (g2_)PluginMap table.
2. Here you have to modify the line of the module you wish to deactive, e.g. "notification" for the notification module.
3. Run the following SQL (NOTE: this is an example to deactivate the notification module). You can do this even if you're using a web interface like phpMyAdmin, just click the "sql" tab.

Quote:
UPDATE g2_PluginMap SET g_active=0 WHERE g_pluginId='notification';
DELETE FROM g2_FactoryMap WHERE g_implModuleId='notification';

4. Finally, clear the database cache.
site admin-> maintenance -> Delete database cache run now
FAQ: How can I clear cached data?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Armani2

Joined: 2007-05-09
Posts: 263
Posted: Sat, 2008-12-13 03:21

Wow I spent some time getting very confused :) Here are the two sql tables from my database, they have doc extensions though they are sql files, I had to rename them to attach them, no sql allowed, they probably need to be renamed back to sql...

Maybe you can give me an idea of exactly what you mean after looking at my tables,, I would be grateful..
Thanks..
Marcus

 
Armani2

Joined: 2007-05-09
Posts: 263
Posted: Sat, 2008-12-13 18:07

??

 
Armani2

Joined: 2007-05-09
Posts: 263
Posted: Sat, 2008-12-13 22:42

I guess I should Hire a Professional :) how can one module be this much trouble....

 
Armani2

Joined: 2007-05-09
Posts: 263
Posted: Sun, 2008-12-14 02:07

Still Waiting LOL...
I guess I finally got a problem no one here can fix?
I didnt think this was such a big deal, other modules have failed and i could just delete and reinstall etc...

The gallery program says I have 0.9.0 installed, I guess it gets that info from the database, as the module on my site is the newer 1.0.3 ?? I can attach a database backup if someone knows how to edit it and then I could just restore it? This is a full backup of my database
HELP......

I am getting nowhere slow..
Thanks..

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2008-12-14 05:07

please PM me admin login info as well as FTP access and I will have a look.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Armani2

Joined: 2007-05-09
Posts: 263
Posted: Sun, 2008-12-14 06:42

I sent you a PM...
Thanks Dave..

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2008-12-14 06:48
Quote:
please PM me admin login info as well

Got the FTP info but not the admin login info.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2008-12-15 03:37

Re versioned the module to think it was right. uninstalled and deleted it, then reinstalled it.
You will have to admin the module again and re-'watch' the items you had before.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Armani2

Joined: 2007-05-09
Posts: 263
Posted: Mon, 2008-12-15 04:38

Thanks very much Dave, This is one I know I would have never figured out!
It seems to be workng great.. Like I said before when you helped me with my
guestbook holder. Your the best...
So I guess i will make another donation.....

Thanks again..
Marcus