PDA

View Full Version : Error on Calendar page


rleffler
05-03-2006, 01:22 PM
When I try to view the calendar I get this error...Parse error: syntax error, unexpected T_VARIABLE in /home/.hamster/rleffler/rolcsoe.com/calendar.php on line 14

This is the address - http://www.rolcsoe.com/calendar.php

Brian
05-03-2006, 05:35 PM
Is this a new install?

Is this a page where you've integrated the calendar?

rleffler
05-03-2006, 06:05 PM
Yes, I installed the demo first and then paid and entered the number.
I'm trying to install it in a big table on that page.
I have an older version of the calendar running on www.rolcweb.com (http://www.rolcweb.com) .
I had to get you to get it working. It doesn't look like I'm any smarter now. :)
I want to do the "text on Calendar" with popups that will fill most of the page.
I also want to just use flatfile.
My old email was rleffler@riveroflifechurch.net for the other calendar

Brian
05-03-2006, 06:07 PM
Can you zip and attach your http://www.rolcsoe.com/calendar.php file to this post or to a support ticket?

rleffler
05-03-2006, 06:23 PM
See if that worked.

Brian
05-03-2006, 06:47 PM
I think you've sent me the calendar.php file from the calendar directory. I need your calendar.php file as it's the one with the error.

rleffler
05-03-2006, 07:34 PM
Brian,
Please check the ticket I sent.

Brian
05-04-2006, 09:24 AM
I've replied to your ticket. Seems there was a space missing in one of the commands on your page.

rleffler
05-04-2006, 10:18 AM
I saw that missing space and corrected it. It looks right on the server, but I'm still getting the error message.

Brian
05-04-2006, 10:47 AM
What is on line 14 in that file?

rleffler
05-04-2006, 10:58 AM
OK, :) I went back and looked at line 14 and fixed it. Now I have this error -

Warning: require(/rolcsoe.com/calendar/calendar.php) [function.require (http://www.rolcsoe.com/function.require)]: failed to open stream: No such file or directory in /home/.hamster/rleffler/rolcsoe.com/calendar.php on line 3

Fatal error: require() [function.require (http://www.rolcsoe.com/function.require)]: Failed opening required '/rolcsoe.com/calendar/calendar.php' (include_path='.:/usr/local/php5/lib/php') in /home/.hamster/rleffler/rolcsoe.com/calendar.php on line 3



This is what is on line 14 - <td><div align="center"><?php $TOC=1; require("/rolcsoe.com/calendar/calendar.php"); ?></div></td>

Brian
05-04-2006, 11:06 AM
Just use require("calendar/calendar.php"); for the path.

rleffler
05-04-2006, 11:21 AM
OK, now I have - Server Path Error.
Please run the Setup Manager to correct this problem.

Brian
05-04-2006, 11:23 AM
Did you run the Setup Manager?

Check the paths in the calendar.php file and make sure they are correct.

rleffler
05-04-2006, 11:38 AM
Sorry, I don't how to get to or to run set up manager. Which set up manager? :) All I have done so far is to unzip and upload the files for the calendar for Zend. I used Ipswitch and uploaded the files that called for it with forced binary. I changed the permissions like the instructions and I changed the dreamhost settings from php 4 to 5.

Do you think I need to just start over? :)

rleffler
05-04-2006, 12:36 PM
Alright! The calendar is on the page!
Did you do that or did I? :)
I remembered that I had been to that set up page before. I went back and it said the links were updated.

Brian
05-04-2006, 01:42 PM
Glad you got it going! :)

rleffler
05-04-2006, 02:12 PM
Thanks Brian for your help and patience. I really appreciate it!

God Bless! :clap:
Rudy