jgulledge19 / Church-Events-Calendar

⛔️ Abandoned ⛔️ A calendar for MODX Revolution
http://rtfm.modx.com/display/ADDON/Church+Events+Calendar
4 stars 0 forks source link

Errors in Error Log file #6

Closed astrodaz closed 12 years ago

astrodaz commented 12 years ago

When I go into my resource with the calendar snippet, I get the following entries:

[code] [2012-01-09 20:28:37](ERROR @ /develop/index.php) `is not a valid integer and may not be passed to makeUrl() [2012-01-09 20:28:37] (ERROR @ /develop/index.php)[[id]]` is not a valid integer and may not be passed to makeUrl() [/code]

Revo: 2.1.5 pl Calendar 1.0.0

Snippet call is: [code] [[!ChurchEventsCalendar? &eventFormTpl=MyChurchEvents_EventFormTpl &validate=public_start:required:isDate=^%m/%d/%Y^ &calFilterTpl=MyChurchEvents_CalFilterTpl ]] [/code]

But everything appears to function OK. I can't seem to be able to attach files to this, but I can post my custom templates if needed

feamsr00 commented 12 years ago

Same here, not even using any special params. Also here's a bigger snippet of log:

[2012-01-14 22:57:42] (ERROR @ /index.php) ChurchEvents: Attempt to set NOT NULL field parent_id to NULL
[2012-01-14 22:57:42] (ERROR @ /index.php) `` is not a valid integer and may not be passed to makeUrl()
[2012-01-14 22:57:42] (ERROR @ /index.php) `[[id]]` is not a valid integer and may not be passed to makeUrl()

This all repeated a lot

using 2.2.0-pl2 (advanced)

jgulledge19 commented 12 years ago

Can you look and see if you have [[id]] in your custom Tpls? It probably should be [[*id]].

astrodaz commented 12 years ago

There is an [[id]] error in the line in _CalFilterTpl

[[~[[id]]? clear=Y]]

about 17 lines from the end. Adding in the missing * cures the id error. This still leaves the error:

[2012-01-16 17:16:02](ERROR @ /develop/index.php) `` is not a valid integer and may not be passed to makeUrl()

which is present even if I use the snippet call on its own

astrodaz commented 12 years ago

Any updates on this? Thx

momon commented 12 years ago

I can confirm this error:

[2012-01-17 18:50:32](ERROR @ /index.php) `` is not a valid integer and may not be passed to makeUrl()

This is a different issue from the [[id]] problem.

jgulledge19 commented 12 years ago

This has been fixed see #10