PDA

View Full Version : Blocks messing up


Icenode
10-15-2009, 06:13 PM
Any blocks that follow the calender block are getting messed up. Some blocks don't show at all if they follow the calendar. And I have a survey that works fine above the calendar, but if it is below the calendar it says "There isn't content right now for this block."

This is an internal site and I started my 7 day trial today to see if we would be interested in purchasing your product.

If you have any ideas please let me know.

Thanks.

Brian
10-15-2009, 07:22 PM
Did you set up the calendar to use the same database as Nuke?

Icenode
10-16-2009, 09:01 AM
No I didn't. It of course points to the same local MySQL server, but I installed it with it's own database. Should I have installed the table to the same database as Nuke?

Icenode
10-16-2009, 09:10 AM
Made the change and it works like a charm. I'm guessing the new database connection was trying to be used by Nuke after the calendar was called. My question is, I thought PHP supported multiple DB connections just fine, is it because the same variable names were used in both applications or something?

Brian
10-16-2009, 11:14 AM
Could be a variable issue. I'm not sure what they use. But we've found it best to just use the same DB when integrating with a CMS.

ve9gra
10-16-2009, 11:43 AM
It's in the way that PHP scripts call their database connection. If they all referenced which database on each call, it would be ok, but most simply assume that their connection is still opened. As the calendar is wedged between calls in Nuke, when Nuke resumes it uses the last database connection (which is the calendar's).

It's a simple enough fix, and there is no issue with having the calendar and Nuke co-existing in the same database.

Icenode
10-16-2009, 12:49 PM
Thanks for the speedy replies. The product is pretty slick.