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


Go Back   Easy PHP Calendar > General Discussion > Customizations (Themes / Templates)

Customizations (Themes / Templates) Help with customizing the themes and templates. Post your own custom themes for others to enjoy.

Closed Thread
 
Thread Tools Search this Thread Display Modes

mySQL error when inserting calendar into webpage
Old 05-01-2012, 04:01 PM   #1
kevin3954
professional
 
kevin3954 is offline
Join Date: May 2012
Location: Georgia
Posts: 3
Default mySQL error when inserting calendar into webpage

I am getting an mySQL error saying that it cannot find ms_menu_menulinks when trying to put the calendar onto a webpage with php.

I should say that I am running a website that does a lot of the require and include statements. And the side menu where I am trying to make the calendar visible is actually part of a require statement for the actual webpage. Therefor the sidebar does not actually have a head tag in it or a body tag.

I read how to do this in the instructions and its telling me to put the following statement where I want the "mini" calendar

<?php require("calendar/calendar.php"); ?>
Note: Calendar is the directory of my calendar.php file

I have tried that and come up with that error I listed above. After I tried that, I looked and saw I had to put some code into the head tag as well. I opened my head file and inserted the code and come up with even more errors. So do I need to somehow link to the database with a script after the required code? Or am I doing something else wrong?

Thanks for any help
 

Old 05-01-2012, 04:04 PM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,885
Default

That error is not part of the calendar. What is happening is your page opens a database, then the calendar opens a database, and then the page wants to access the first database without opening it again.

To fix this, have your calendar use the same database as your existing page(s).
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 
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
Calendar MySQL Breaks Other MySQL GlennS General Support 5 12-24-2009 09:10 AM
can't access calendar since upgrading MySQL from 4.0.12 to 4.1 mediainn General Support 2 11-25-2009 07:13 PM
Calendar will not run on MySQL zaneholman General Support 9 05-02-2007 05:01 PM
Invalid Calendar Access using MySQL DB agladson General Support 3 03-15-2007 11:40 AM
Need a GURU to review my calendar webpage error Dave General Support 4 02-19-2004 03:23 PM



All times are GMT -4. The time now is 09:18 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 |