Easy PHP Calendar Script

Go Back   Easy PHP Calendar > Integration > PHP-Nuke Integration

PHP-Nuke Integration Information about integrating the calendar with the PHP-Nuke Content Management System.

Closed Thread
 
Thread Tools Search this Thread Display Modes

Blocks messing up
Old 10-15-2009, 06:13 PM   #1
Icenode
Calendar User
 
Icenode is offline
Join Date: Oct 2009
Posts: 4
Default Blocks messing up

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.
 

Old 10-15-2009, 07:22 PM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 9,977
Default

Did you set up the calendar to use the same database as Nuke?
__________________
-- Brian

Questions?

Instructions | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 10-16-2009, 09:01 AM   #3
Icenode
Calendar User
 
Icenode is offline
Join Date: Oct 2009
Posts: 4
Default

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?
 

Old 10-16-2009, 09:10 AM   #4
Icenode
Calendar User
 
Icenode is offline
Join Date: Oct 2009
Posts: 4
Default

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?
 

Old 10-16-2009, 11:14 AM   #5
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 9,977
Default

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.
__________________
-- Brian

Questions?

Instructions | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 10-16-2009, 11:43 AM   #6
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,458
Default

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.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 10-16-2009, 12:49 PM   #7
Icenode
Calendar User
 
Icenode is offline
Join Date: Oct 2009
Posts: 4
Default

Thanks for the speedy replies. The product is pretty slick.
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Huge popups, huge color blocks redcrew Customizations (Themes / Templates) 1 10-25-2007 08:31 PM
Adding Easy PHP Calendar to your blocks for phpnuke KASR Installation / Upgrade Questions 2 11-03-2005 12:40 PM
Help, it's messing up my tables! rob General 8 07-07-2005 06:51 PM
Admin panel messing up freshmint General Support 3 10-14-2004 07:33 PM



All times are GMT -4. The time now is 07:57 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |