My Subscriptions

No active or expired subscriptions. View Available Subscriptions

Advanced Search

Home arrow Forum arrow Extensionsarrow JCal Pro and JCal Clientarrow JCal Pro 1.5.x for Joomla! 1.0.xarrow Empty Time Parameter & Internal Server Error
Pages: [1]
Print
Author Topic: Empty Time Parameter & Internal Server Error  (Read 1474 times)
nickers
Newbie
*

Karma: +0/-0
Posts: 11


View Profile
« on: February 26, 2007, 07:47:31 PM »

I installed 1.5 and most things about the calendar seems to work.  I do have a couple of problems.  They aren't critical but they are annoying.

The first involves adding a new event.  I saw a post on this earlier but it was from the front-end and may have been a different issues.  In any event, it was never resolved.

My situation is that when I add a new event from the backend I always get the same series of warning messages given below:

Warning: strtotime() [function.strtotime]: Called with an empty time parameter. in /home/site/public_html/jtest/administrator/components/com_jcalpro/includes/events.php on line 176

Warning: strtotime() [function.strtotime]: Called with an empty time parameter. in /home/site/public_html/jtest/administrator/components/com_jcalpro/includes/events.php on line 183

Warning: strtotime() [function.strtotime]: Called with an empty time parameter. in /home/site/public_html/jtest/components/com_jcalpro/include/functions.inc.php on line 1056

Warning: strtotime() [function.strtotime]: Called with an empty time parameter. in /home/site/public_html/jtest/components/com_jcalpro/include/functions.inc.php on line 1056

Warning: strtotime() [function.strtotime]: Called with an empty time parameter. in /home/site/public_html/jtest/components/com_jcalpro/include/functions.inc.php on line 1086


The big clue in all of this seems to be that the Event Date defaults to 31 December 2006 05:59:PM, which doesn't seem reasonable.  Indeed the Repeat Until Date defaults to the current date, or in this case 27 February 2007, which seems to be more of a correct behavior.  Could this be related to the cause?  Where do you suppose jcalpro is picking up the default event date?

The next problem I'm having is using the color button to select a category color, which gives me an "Internal Server Error."  I can manually enter the numeric color specification and bypass the problem, but it would be nice if it worked as intended.

I mention these two problems together since they might be connected to a new install.
Logged
V-man
Administrator
Hero Member
*****

Karma: +8/-1
Posts: 1910


Ignorance is curable, stupid is forever.


View Profile
« Reply #1 on: February 26, 2007, 08:55:49 PM »

The color picker has been working flawlessly on numerous machines...i am surprised to see this issue. Sad
Logged

*** Please read this post before posting in the forum. ***

Support questions via PM will be ignored. Please use the forum for all support-related enquiries.
van
Sr. Member
****

Karma: +0/-0
Posts: 442


View Profile
« Reply #2 on: February 26, 2007, 11:26:41 PM »

The date errors are related to a blank $start_date (and $end_date on the last message) when you begin to create a new event. The database functions should be filling them properly but are not in your case. Would you be willing to try a test to confirm this?

Edit "/administrator/components/com_jcalpro/includes/events.php" and add the following two lines at Line 171 (right under the comment that says "do stuff for new records":

Line 171:
Code:
$row->start_date = date('y-m-d');
$row->end_date = date('y-m-d');

Does this make these errors go away?
Logged
arrgyle
Newbie
*

Karma: +0/-0
Posts: 1


View Profile
« Reply #3 on: February 27, 2007, 01:13:49 AM »

I'm getting an Internal Server Error when clicking on the Category Color Picker also.
Logged
nickers
Newbie
*

Karma: +0/-0
Posts: 11


View Profile
« Reply #4 on: February 27, 2007, 08:52:56 AM »

Does this make these errors go away?

YES! Thank you sir!

As far as the "Internal Server Error" I notice the version at the bottom of the Edit Category screen is "JCal Pro Calendar  1.0".  It's the version I downloaded with all the other [1.5?] files.  But I'm just wondering if the wrong version might have been posted.
Logged
kviator
Newbie
*

Karma: +0/-0
Posts: 1


View Profile Email
« Reply #5 on: March 22, 2007, 04:17:14 PM »

I have 2 different installs.  One with a custom template and the other just the default template.  The default template installation works with the color picker, the custom template gets the Internal Server error. 

I don't know if the issue is related to the template, but thought I would mention it just in case.
Logged
Pages: [1]
Print
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com

Original Joomla Template design by RocketTheme ( Conversion by Bloc)