Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > General Discussion > Installation / Upgrade Questions

Installation / Upgrade Questions Questions or issues concerning the installation of the Easy PHP Calendar script.

Closed Thread
 
Thread Tools Search this Thread Display Modes

Embedding calendar in Zencart
Old 09-22-2010, 12:51 PM   #1
ljdream
Calendar User
 
ljdream is offline
Join Date: Sep 2010
Posts: 13
Question Embedding calendar in Zencart

I love the Calendar.
It works and everything is setup.
My issue is that I've embedded it in my Zencart and I get this error info at the bottom of the calendar (see attachment)

This is the error message:
1146 Table 'epc_calendar.layout_boxes' doesn't exist
in:
[select layout_box_name from layout_boxes where layout_box_location=1 and layout_box_status=1 and layout_template ='theme245' order by layout_box_sort_order]

1146 Table 'epc_calendar.sessions' doesn't exist
in:
[select count(*) as total from sessions where sesskey = 'mcok8v5j1k8imo529i9p2o7tg4']


Secondly, along with my error message, my footer dissappears.
I'm really not sure what to do now. I really want to use this calendar, but this issue is driving me crazy

Thanks


Attached Thumbnails
Click image for larger version

Name:	calissue.jpg
Views:	220
Size:	59.3 KB
ID:	440  
 

Old 09-22-2010, 01:06 PM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

When embedding the calendar inside of any type of CMS, you have to make sure that the calendar is using the same database as the CMS.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 09-22-2010, 01:38 PM   #3
ljdream
Calendar User
 
ljdream is offline
Join Date: Sep 2010
Posts: 13
Default

are you saying that i have to put the epc_calendar as a table in my zencart database?
When I created the calendar, I thought epc_calendar was in it's own little database. please help me understand.

Thanks for your previous quick response!!!! very impressive alertness.

Quote:
Originally Posted by ve9gra View Post
When embedding the calendar inside of any type of CMS, you have to make sure that the calendar is using the same database as the CMS.
 

Old 09-22-2010, 03:33 PM   #4
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Yes, it will need to use the same DB connection information. Otherwise, you'll end up closing one connection and opening another which can lead to errors.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 09-22-2010, 03:57 PM   #5
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Think of a database as a folder... the calendar doesn't care about its folder.. as long as its file is there. So you're simply putting the calendar's table inside of whichever database you have available, in this case, your zencart DB.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 09-22-2010, 05:26 PM   #6
ljdream
Calendar User
 
ljdream is offline
Join Date: Sep 2010
Posts: 13
Default

OOOOOhhhhh, OK, I'm learning!!! That makes total sense. thanks

Quote:
Originally Posted by Brian View Post
Yes, it will need to use the same DB connection information. Otherwise, you'll end up closing one connection and opening another which can lead to errors.
 

Old 09-22-2010, 05:29 PM   #7
ljdream
Calendar User
 
ljdream is offline
Join Date: Sep 2010
Posts: 13
Default

OK, I will try it and see what happens,
I will update to let everyone know. I created it's own little epc database. I didn't know you could put it in and existing database.

So the table would be labeled epc_calendar I guess.

Quote:
Originally Posted by ve9gra View Post
Think of a database as a folder... the calendar doesn't care about its folder.. as long as its file is there. So you're simply putting the calendar's table inside of whichever database you have available, in this case, your zencart DB.
 

Old 09-22-2010, 06:06 PM   #8
ljdream
Calendar User
 
ljdream is offline
Join Date: Sep 2010
Posts: 13
Default

UPDATE:

IT WORKED

Thank you so much for your support!!!
 

Old 09-23-2010, 06:21 AM   #9
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Quote:
Originally Posted by ljdream View Post
So the table would be labeled epc_calendar I guess.
Exactly. And great
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 09-23-2010, 10:22 AM   #10
ljdream
Calendar User
 
ljdream is offline
Join Date: Sep 2010
Posts: 13
Default

OK? Quick question...
Currently when I click on the forward/backward buttons, it "refreshes" the complete page.
Is there a way for the calendar to not do that because on my page I have a live video going on and it refreshes back to the beginning everytime the bottom Calendar buttons are clicked.

I can use an IFrame, but the only problem with using it is that I have the mouseover activated and when they mouseover the weekend dates, the Iframe hides most of popup.
 

Old 09-23-2010, 12:39 PM   #11
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Look into the AJAX option, but note that it is a beta feature and not fully supported.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 09-23-2010, 04:24 PM   #12
ljdream
Calendar User
 
ljdream is offline
Join Date: Sep 2010
Posts: 13
Thumbs up

Thanks so much!!!
The Ajax Option Works PERFECTLY!!!!
What Joy!!!

Quote:
Originally Posted by ve9gra View Post
Look into the AJAX option, but note that it is a beta feature and not fully supported.
 
Closed Thread

Tags
embed, syntax error, zencart

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
Embedding single category calendar... eyeini Installation / Upgrade Questions 1 10-31-2009 06:16 PM
Embedding a calendar list into html table elghund General Support 1 07-04-2009 08:36 PM
Comparison to vBulletin Calendar & Limited Free-Area Calendar? webwitch General 1 05-18-2009 05:55 PM
Can the calendar do this? traciemc General 4 02-17-2009 08:47 PM
Event Manager and Text on Calendar Mode together? palatinate11 General 3 03-22-2006 03:53 PM



All times are GMT -4. The time now is 04:29 PM.


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

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