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


Go Back   Easy PHP Calendar > General Discussion > General Support

General Support Questions about using the Easy PHP Calendar. (Not installation or customizations)

Closed Thread
 
Thread Tools Search this Thread Display Modes

dazed and confused....
Old 07-29-2009, 11:00 PM   #1
rviano
Calendar User
 
rviano is offline
Join Date: Jul 2009
Posts: 9
Default dazed and confused....

Obviously, I am a PHP newbie...

I want to set a a herf link from my site to the calendar...
I created a page parsed with php. I inserted the CSS code in the Head and the body tag code....

I get a numberd calendar... no style, just text numbers

Any idea what I am doing wrong? Any help is appreciated.

http://www.tomhurst.com/calendar-thds.php

The link to this page is on
http://www.tomhurst.com/schedule.htm

I am sure I dorked this up... I just want to get it right. Have fun kicking my newbie butt...
 

Old 07-30-2009, 09:57 AM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Right now it seems that you've deleted or moved the calendar folder.

Your paths seem correct, but without seeing the calendar, we can't really troubleshoot it.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 07-30-2009, 11:36 PM   #3
rviano
Calendar User
 
rviano is offline
Join Date: Jul 2009
Posts: 9
Default

The calendar folder has never been moved. It is in the public_html folder.
Am I mistaken in thinking that I needed to create an independent PHP page that calls on the calendar.php page in the calendar folder?

I created the page calendar-thds.php and entered the css code you provided and I also entered the php code in the main content container that should call the calendar (TOC)

Please help. I know I am going to love this product. I have 5 site owners ready to purchase. I just need to figure out what the hell I am doing with it.

Thank you in advance.
 

Old 07-31-2009, 09:02 AM   #4
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,887
Default

All of your "require" statement paths should be "calendar/calendar.php".

Is this what you are using?
__________________
-- Brian

Questions?

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

Old 07-31-2009, 10:45 PM   #5
rviano
Calendar User
 
rviano is offline
Join Date: Jul 2009
Posts: 9
Default

I made sure all of the require fields were just like you said. After I uploaded all the changes I got this message:

Warning: require_once(/calendar/functions/functions.inc.php) [function.require-once]: failed to open stream: No such file or directory in /home6/tomhurst/public_html/calendar/calendar.php on line 37

Fatal error: require_once() [function.require]: Failed opening required '/calendar/functions/functions.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home6/tomhurst/public_html/calendar/calendar.php on line 37

I am attaching the calendar.php file, the calendar-thds.php file and the functions.inc.php file

you can view the link to the calendar-thds.php on www.tomhurst.com/schedules.htm It is located twice in the last paragraph of the <div id="main-content"> container.

Please walk me through this. The site is www.tomhurst.com if you need to access my site another way, let me know what to do. I am desperate to get this online.

Thank you.
Attached Files
File Type: php calendar-thds.php (1.3 KB, 163 views)
File Type: php calendar.php (6.9 KB, 184 views)
File Type: php functions.inc.php (3.9 KB, 190 views)
 

Old 08-01-2009, 12:39 AM   #6
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,887
Default

Your server path is incorrect in the calendar.php file.

Click the Paths FAQ in my signature below.

You're also missing the CSS and OL code as described in the Integration/Important section of the instructions.
__________________
-- Brian

Questions?

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

Old 08-01-2009, 01:38 AM   #7
rviano
Calendar User
 
rviano is offline
Join Date: Jul 2009
Posts: 9
Default

Brian,

I downloaded a new calendar.php page and follwed the path instructions.

Now I got this message: Parse error: syntax error, unexpected '<' in /home6/tomhurst/public_html/calendar-thds.php on line 29

I am hoping we are closer, because it's down to one error instead of two...

I have the CSS and OL code in the calendar-thds.php page. They have always been there. The CSS is in an uneditable region in the <head> tag.

I do appreciate your efforts. I want to be out of this forum just as bad as you want me out of it.

Rich
 

Old 08-01-2009, 01:59 AM   #8
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,887
Default

You have a PHP syntax error in the calendar-thds.php file.

Can you attach that file?
__________________
-- Brian

Questions?

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

Old 08-01-2009, 03:09 AM   #9
rviano
Calendar User
 
rviano is offline
Join Date: Jul 2009
Posts: 9
Default

Here you go...
Attached Files
File Type: php calendar-thds.php (1.3 KB, 157 views)
 

Old 08-01-2009, 09:12 AM   #10
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Line 29, you're missing the closing PHP tag before <!-- InstanceEndEditable -->

That line should be
PHP Code:
require ("calendar/calendar.php"); ?><!-- InstanceEndEditable --> 
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 08-05-2009, 01:15 PM   #11
rviano
Calendar User
 
rviano is offline
Join Date: Jul 2009
Posts: 9
Default

Thank you so much... you guys are awesome. I appreciate your patience.

Can I move the config.inc.php file to another folder outside of the public_html folder without effecting the operation of the calendar?

I am getting hacked and looking for ways to prevent it.
 

Old 08-05-2009, 01:40 PM   #12
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,887
Default

It can only be in the calendar directory. What issues are you having with hackers?
__________________
-- Brian

Questions?

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

Old 08-05-2009, 03:08 PM   #13
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

After your configuration is done, make sure that you secure the file.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 
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
Edit but not add Spandox General Support 6 03-22-2006 12:27 PM



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