Giter Site home page Giter Site logo

Comments (9)

ThatGirlSlays avatar ThatGirlSlays commented on August 20, 2024

Ok basically what I ended up doing was install this NOT as a plugin but just mixed in with the rest of my files (as in I placed the plugin controller files among the rest of my controllers, etc). This resolved the fact that FullCalendarController.php could not be found.

However, another issue arose and that was that FullCalendarAppController.php and FullCalendarAppModel.php were not being read/extended/loaded. I had to edit all the plugin controller and model files to extend to the standard AppController and AppModel instead of the plugin FullCalendarAppController and FullCalendarAppModel.

However, I am facing yet ANOTHER issue in that even AFTER removing the loading of the plugin from bootstrap.php and deleting the FullCalendar folder from app/Plugin, I still receive an error that “the application is trying to load a file from the FullCalendar plugin”. Obviously that file does not exist because I deleted the FullCalendar folder, but I also removed the loading of the plugin. I emptied my cache.

from cakephp-full-calendar-plugin.

JPHanke avatar JPHanke commented on August 20, 2024

Hi there,

I'm trying to install this plugin and having this same problem. I've tried to do what bhndbrwneyes said in the last post but I'm still can't use the plugin. Can someone help me to use it?

I'm using Cake PHP 2.3

from cakephp-full-calendar-plugin.

silasmontgomery avatar silasmontgomery commented on August 20, 2024

I'll need the details of your installation in order to help. Is the plugin installed in the root of your domain (http://www.yourdomain.com/full_calendar)? Are you using the latest code? (I just updated it yesterday). What message(s) or errors are you getting?

from cakephp-full-calendar-plugin.

JPHanke avatar JPHanke commented on August 20, 2024

Hi silasmontgomery.

Yes, I've downloaded the plugin about 4 hours ago. Well, I've followed the 4 steps described in the readme file and found the errors mentioned by bhndbrwneyes. Found this topic and followed the solution described here.

In the end, I can access mydomain.com/cake/full_calendar but can't view the calender itself, only 3 buttons related to create, manage and edit events.

The messages that I'm getting are:

Error: The action events is not defined in controller FullCalendarController
Error: Create FullCalendarController::events() in file: app\Controller\FullCalendarController.php.

I'm sending a print of the error screen. I hope it can help a little more.

Thanks for the help!
erro

from cakephp-full-calendar-plugin.

silasmontgomery avatar silasmontgomery commented on August 20, 2024

My first suggestion would be to re-install Full Calendar as a plugin (following the readme) as I don't suggest and can't vouch for the method used by bhndbrwneyes. Once you've done that let me know what you see when trying to view the calendar at mydomain.com/cake/full_calendar (assuming /cake/ is where your cake installation lives).

from cakephp-full-calendar-plugin.

JPHanke avatar JPHanke commented on August 20, 2024

Well, looks like I was doing some confusion over here. When I re-installed the plugin something came to my mind.
My aplication uses AUTH componente so I just add a "before filter" in the controllers and it's work perfectly!

silasmontgomery, thanks for the patience and the help!

from cakephp-full-calendar-plugin.

silasmontgomery avatar silasmontgomery commented on August 20, 2024

Great to hear! I have a feeling that was most likely bhndbrwneyes problem also. Enjoy!

from cakephp-full-calendar-plugin.

ThatGirlSlays avatar ThatGirlSlays commented on August 20, 2024

JPHanke, what exactly did you add in the beforeFilter because my temporary solution wasn't a solution after all and I ran into additional issues.

from cakephp-full-calendar-plugin.

JPHanke avatar JPHanke commented on August 20, 2024

Hi there!

This is the beforeFilter function I've added in the FullCalendarAppController:

public function beforeFilter() {
parent::beforeFilter();
$this->Auth->allow();
}

Hope it helps you!

from cakephp-full-calendar-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.