|
Title: Trouble with other modules not showing when using MH2Treasury Post by: tnault on June 15, 2008, 07:00:57 AM I recently installed MH2Treasury. running the following:
Joomla 1.5.2 MySQL version 5.0.45-community-log PHP version 5.2.6 Rocket MediaMogul template. Site is still under development: http://69.89.30.244/ In the left hand column there are three modules: 1) Quick links (standard Menu) 2) Partners & Sponsors (mod_allbanners) 3) Donation (MH2Treasury) If is change the order of the modules to the following the module mod_allbanners stops working: 1) Quick links (standard Menu) 2) Donation (MH2Treasury) 3) Partners & Sponsors (mod_allbanners) The <h3> title still shows so the module is loading, but none of the banners load. Agin this only happens when useing MH2Treasury. Any assistance would be appreciated, -Tim Done a wee bit more trouble shooting.... Turned on site debug and notice the following: When allbanners comes before mh2treasury: 4 legacy queries logged 1. SELECT * FROM `jos_acajoom_xonfig` 2. SELECT * FROM `jos_acajoom_lists` WHERE `published` = 1 3. SELECT * FROM jos_banner WHERE showBanner=1 ORDER BY RAND() LIMIT 5 4. SELECT id FROM jos_menu WHERE link LIKE '%index.php?option=com_mh2treasury%' When mh2treasury comes before allbanners: 3 legacy queries logged 1. SELECT * FROM `jos_acajoom_xonfig` 2. SELECT * FROM `jos_acajoom_lists` WHERE `published` = 1 3. SELECT id FROM jos_menu WHERE link LIKE '%index.php?option=com_mh2treasury%' Also... - added mod_random_image module that seems to be unaffected. - mod_events_latest upcoming module is unaffected However, mod_acajoom has same symptoms as allbanners when placed after mh2treasury. Title: Re: Trouble with other modules not showing when using MH2Treasury Post by: madmonty on July 22, 2008, 04:39:57 AM Hi,
I also noticed some modules fail (serverstat and LGSL) when using the treasury mod. Using Joomla 1.5.4 The LGSL was reporting denied acess apache@localhost (password no) which was strange. A quick fix was to move the modules about. Seems the treasurey doesn't like to si on the same menu segment as other modules. Using treasury 2.18 Title: Re: Trouble with other modules not showing when using MH2Treasury Post by: Mick on July 22, 2008, 09:37:03 PM It is possible that one of the other modules is closing the database, saw that issue prior when I was closing my database.
The apache@localhost does seem strange, if that is not the user name you are using for your database access. I do not use that anywhere in my code. Not sure what else I can say about it, if you would like to PM me the links, I could possibly take a look at it as time permits. May be a little bit though. Title: Re: Trouble with other modules not showing when using MH2Treasury Post by: blong5150 on August 25, 2008, 11:42:28 AM FYI - I am noticing similar behavior. I have a "User Menu" which displays in the left column. If I place that menu below the Treasury, the menu items do not display on it. All I get is the User Menu header. Anybody find a workaround?
Title: Re: Trouble with other modules not showing when using MH2Treasury Post by: Mick on August 25, 2008, 11:59:28 AM Will be looking into it.
Title: Re: Trouble with other modules not showing when using MH2Treasury Post by: blong5150 on August 25, 2008, 07:42:43 PM Not sure if it helps in your troubleshooting, but here's another issue it causes:
I have a mod which does an auto-logon to the backend (mod_autologin ). If the Treasury module is enabled, the autologin gives me the "no access" status instead of providing the SSO link. If you need admin access to one of my test sites to troubleshoot, etc... PM me. -Brian Title: Re: Trouble with other modules not showing when using MH2Treasury Post by: Mick on August 27, 2008, 11:58:11 AM With the assistance of "blong5150" I have found (what I consider) a flaw with the database handling within Joomla. Even though I request a unique connection to the database, it seems that the CMS reuses my connection rather than its own.
I will be going through the code set to insure that I have a unique connection to the database for the treasury rather than Joomla being able to reuse mine. Look for an update later today/tomorrow. Again, Thank you for the use of your system!!! Mick |