sproctor / php-calendar

PHP-Calendar
http://www.php-calendar.org/
Apache License 2.0
140 stars 67 forks source link

View date error #57

Closed madahmani closed 11 years ago

madahmani commented 11 years ago

When we are on this page and we click on "View date": http://www.php-calendar.com/php-calendar/index.php?action=event_form&year=2013&month=5&day=1

The error displays on this page: http://www.php-calendar.com/php-calendar/index.php?action=display_day&year=2013&month=5&day=1

sabas commented 11 years ago

Check if the error still persists in the new version http://www.php-calendar.com/php-calendar-dev/index.php

(note the -dev in the url)

madahmani commented 11 years ago

In the new version there is only "Search" and "View month". "View date" is not available and the error does not happen.

sproctor commented 11 years ago

What is the error on the original links you sent? I'm not seeing it. It might have been that there was an issue with one of the events in the list.

madahmani commented 11 years ago

Here is the error: Catchable fatal error: Object of class PhpcCalendar could not be converted to string in /home/sproctor/php-calendar.com/php-calendar-2.0-beta11/includes/phpccalendar.class.php on line 114

sproctor commented 11 years ago

That issue is fixed. The version the calendar was referencing was quite old. I just updated it.