Back to Calendar Support

chrispmil
chrispmil

Hi this plugin is not working for me, the dates are not showing in the calendar, it appears that the api feed "/api/christophheich/calendar/feed/" is not being created or is not being found, any ideas how to fix this?

Waryor
Waryor

chrispmil said:

Hi this plugin is not working for me, the dates are not showing in the calendar, it appears that the api feed "/api/christophheich/calendar/feed/" is not being created or is not being found, any ideas how to fix this?

Hey, thanks for the question.

I just tested it again and there seems to be no issue for me at all. Could you please describe me if there is a error message or upload the information within the laravel.log file of OctoberCMS.

Also please try to access this url "http://yourdomain.com/api/christophheich/calendar/feed" and let me know if you get some information.

Regards Christoph

chrispmil
chrispmil

No errors messages with regard to this (apart from your javascript message: alert('error fetching');). There is one error in the log but that appears to to be a different problem within your plugin - this error is: October\Rain\Exception\ApplicationException: The model must implement the NestedTree or Sortable traits. in /home/sites/domain.com/public_html/modules/backend/behaviors/ReorderController.php:220

chrispmil
chrispmil

forgot to mention, i accessed the suggested url, just displays as a blank page (no error message - debug is turned on), cheers

Waryor
Waryor

chrispmil said:

forgot to mention, i accessed the suggested url, just displays as a blank page (no error message - debug is turned on), cheers

Hey,

not even "[]" on the page?

The error shown in the log isn't related to your problem.

Which PHP Version do you use? And have you added at least one entry?

Waryor
Waryor

Do you use Clean URLS or do you have to use the index.php for each file you access?

Like: "http://yourdomain.com/index.php/api/christophheich/calendar/feed"

chrispmil
chrispmil

yes have 2 entries. using clean urls php 7.2 cheers, chris

Waryor
Waryor

That is weird, it seems to be a problem with your project as i can't get the same issue at all with any situations i currently tested.

Would it be possible for you to zip your plugins folder for me? (christophheich)

But do not post the link here.

Regards

Last updated

chrispmil
chrispmil

sent you the link, cheers

chrispmil
chrispmil

I have fixed the problem, the filename Routes.php needs to be in lower case (routes.php) as per documentation https://octobercms.com/docs/services/router, all working fine now.

Waryor
Waryor

chrispmil said:

I have fixed the problem, the filename Routes.php needs to be in lower case (routes.php) as per documentation https://octobercms.com/docs/services/router, all working fine now.

Well, thanks.

Sorry for the issue - that happens if you work in Windows and never test it in Unix.

Thanks

1-11 of 11