Warning: The author of this contribution does not provide support for it anymore.

ACP Announcement Centre

Module not hooking into DB correctly? - ACP Announcement Centre

Module not hooking into DB correctly?

by Maverick0984 » Tue Mar 08, 2011 1:01 pm

I've already spent way longer than I would like to admin trying to install version 1.2.2, 1.2.4, with Automod, and without.

I get it installed in all of these methods, and the tabs and category structure are never quite right in ACP, so I have to do it by hand.

After that is complete I see the Announcement page and the Config page for ACP. I've inserted the appropriate code into my styles as well as the appropriate files. My issue is I think things are hooking into the DB correctly as I cannot get the "Show Site Announcement to:" radio button to stay selected.

I think this is the reason no announcements are showing. Checking my error logs I see this a bunch of times:

Code: Select all

[08-Mar-2011 07:52:04] PHP Warning:  Module 'SQLite' already loaded in Unknown on line 0
[08-Mar-2011 07:52:04] PHP Warning:  Module 'pdo_mysql' already loaded in Unknown on line 0


Not sure if this applies but it doesn't look good. Anyone have any ideas?
Maverick0984
Registered User
Posts: 2
Joined: Tue Mar 08, 2011 12:55 pm
Contact:

Re: Module not hooking into DB correctly?

by Maverick0984 » Tue Mar 08, 2011 5:49 pm

I've since figured it out, the warnings weren't doing it. Somehow the DB table for announcement center got corrupted and wasn't updating. Uninstalling, and manually dropping the table, then reinstalling, fixed it.
Maverick0984
Registered User
Posts: 2
Joined: Tue Mar 08, 2011 12:55 pm
Contact:

Re: Module not hooking into DB correctly?

by lefty74 » Tue Mar 08, 2011 7:39 pm

glad to hear you got it sorted :)
lefty74
zoocrew.eu - help us save our wildlife
My MODS | Due to lack of time I unfortunately am unable to work on my mods anymore, anyone who has ideas to improve them and would like to take any of them over, please PM me.
User avatar
lefty74
Registered User
Posts: 3649
Joined: Wed Sep 14, 2005 8:26 pm
Location: NL
Contact: