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

Old 11-19-2003, 07:30 PM   #1
Deckard
Calendar User
 
Deckard is offline
Join Date: Nov 2003
Posts: 3
Default

Hi,

I have PHP 4.0 installed (from PHP.Net) with an Apache Server and MySQL 4.0.12, on a Windows XP Pro system.
I have been trying to install your calendar but I have some problems as soon as I use the escalInstall.php.
I created a data base in MySQL "My_Calendar" and made the modifications to escalDB.php.

When using escalInstall.php I have the following errors:
Quote:
Notice: Undefined variable: error in C:\Apache2\htdocs\EZCalendar\escalInstall.php on line 17
>> The connection to the database was successful!

Notice: Undefined variable: error in C:\Apache2\htdocs\EZCalendar\escalInstall.php on line 37
>>The table was added to the database!

You should now be able to use the ESCalendar Script with it's SQL functions.
Never the less the table "escevents" has been created in the database.
The line 17 only contain "if ($error) {".
And the line 37 the same "if ($error) {".

If I try to run the Calendar I havec even more error and nothing get displayed.

Can somebody give me some help ? :huh:
 

Old 11-19-2003, 09:16 PM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,906
Default

What happens if you add this at line 2 in the escal.php file:

error_reporting(0);
__________________
-- Brian

Questions?

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

Old 11-19-2003, 09:46 PM   #3
Deckard
Calendar User
 
Deckard is offline
Join Date: Nov 2003
Posts: 3
Default

You are the man Papa !
The calendar display itself, but some more problem come up after that.

So far what I can see is the link to Add Event end up being
Quote:
http://12.211.5.182/ezcalendar/<br%20/>Notice:%20%20Undefined%20variable:%20%20PHP_SELF%20in%20C:/Apache2/htdocs/EZCalendar/escalAE.php%20on%20line%2044<br%20/>?event=add
which is the HTML code
Quote:
">Add Eventw
I get some more error on the page such as
Quote:
Notice: Undefined variable: Submit in C:\Apache2\htdocs\MV\Calendar\escalAE.php on line 50
Notice: Undefined variable: Submit in C:\Apache2\htdocs\MV\Calendar\escalAE.php on line 105
Notice: Undefined variable: event in C:\Apache2\htdocs\MV\Calendar\escalAE.php on line 120
Notice: Undefined variable: event in C:\Apache2\htdocs\MV\Calendar\escalAE.php on line 148
Notice: Undefined variable: eid in C:\Apache2\htdocs\MV\Calendar\escalAE.php on line 188
Notice: Undefined variable: del in C:\Apache2\htdocs\MV\Calendar\escalAE.php on line 223
Notice: Undefined variable: Submit in C:\Apache2\htdocs\MV\Calendar\escalAE.php on line 230
Notice: Undefined variable: Submit in C:\Apache2\htdocs\MV\Calendar\escalAE.php on line 275
I added "error_reporting(0);" in EscalAE.php which of course hide the errors. But I can't add event either.

You can check the calendar at http://www.Morts-Vivants.clan.st/Calendar/Index.php

What would be causing the errors ?

Another question: regarding the license, what is your policy regarding futur upgrades ?
 

Old 11-20-2003, 02:03 AM   #4
Deckard
Calendar User
 
Deckard is offline
Join Date: Nov 2003
Posts: 3
Default

Ok I'm sorry... was my fault...

I had register_globals = Off in my PHP.ini which was the reason of all my troubles with the Calendar.
The code is fine but all the variables were not defined... which of course raised all the errors.

From there it work all fine, I can add events an use the rest of it.

Thanks for your time, sorry for the trouble Papa.
 

Old 11-20-2003, 09:06 AM   #5
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,906
Default

No problem. I'm glad everything is working now.
__________________
-- Brian

Questions?

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

Old 04-07-2004, 08:46 PM   #6
trinitywave
Calendar User
 
trinitywave is offline
Join Date: Apr 2004
Posts: 7
Default

DOn't you want to program with registered globals off......
 

Old 04-07-2004, 08:52 PM   #7
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,906
Default

The script is developed with register_globals = Off so this should not be an issue while running the calendar script.

The answer to the undefined variables can be found in the FAQ. This applies to servers with abnormal error reporting settings.
__________________
-- Brian

Questions?

Instructions | FAQs | Errors 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
Error when using Install Wizard Colin General 3 07-31-2005 12:10 PM
New Install Database error Rick B General Support 3 07-07-2005 11:34 AM
Database key mismatch error slyeli General Support 1 09-24-2004 08:47 AM
Parse Error on Demo.PHP after Install HaloFX General Support 17 01-22-2004 01:09 PM
PHPTRIAD Install Error Menekali General Support 3 11-17-2003 02:36 PM



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