Giter Site home page Giter Site logo

Comments (6)

silasmontgomery avatar silasmontgomery commented on August 20, 2024

CakePHP 2.1 is still in beta and I haven't tested it yet.. thats most likely not the issue but you never know. I'll grab a copy and test but in the mean time let's see what we can find out:

If you're able to add and view events from "localhost/full_calendar/events" but not see them on the calendar at "localhost/full_calendar" it's most likely a problem with the javascript in "FullCalendar/webroot/js/ready.js" trying to pull the events from "localhost/full_calendar/events/feed" via AJAX. Try to view the feed url directly and see if you get some errors like this:

Notice (8): Undefined index: start [APP/Plugin/FullCalendar/Controller/EventsController.php, line 83]
Notice (8): Undefined index: end [APP/Plugin/FullCalendar/Controller/EventsController.php, line 83]
Notice (8): Undefined variable: data [APP/Plugin/FullCalendar/Controller/EventsController.php, line 104]

from cakephp-full-calendar-plugin.

silasmontgomery avatar silasmontgomery commented on August 20, 2024

Ok, it's not 2.1 because I have it working on 2.1.0-beta at http://dev.reticent.net/full_calendar

from cakephp-full-calendar-plugin.

tedhill avatar tedhill commented on August 20, 2024

I changed the line 28 in ready.js

    events: "/full_calendar/events/feed",

to

    events: "/gamefinderbuddy/full_calendar/events/feed",

and it works :)

Thanks Silas.

On Mon, Feb 6, 2012 at 10:26 PM, Ted Hill [email protected] wrote:

Hi Silas,

hmmm...... Yes I see It works on your site. There must be something wrong
with my cakephp install or something then...

see the attached screenshots from my site.

maybe its because I am not running from the base URL? my url is :
http://localhost/gamefinderbuddy/full_calendar rather than
http://localhost//full_calendarhttp://localhost/gamefinderbuddy/full_calendar

when you say " trying to pull the events from "localhost/full_calendar/
events/feed" via AJAX. Try to view the feed url directly and see if you
get some errors like this:"

I am not sure what you mean.

I have ajax running on a contact form. works OK.

Ted.

PS - do you contract your services?

On Mon, Feb 6, 2012 at 9:00 PM, Silas Montgomery <
[email protected]

wrote:

Ok, it's not 2.1 because I have it working on 2.1.0-beta at
http://dev.reticent.net


Reply to this email directly or view it on GitHub:

#9 (comment)

from cakephp-full-calendar-plugin.

silasmontgomery avatar silasmontgomery commented on August 20, 2024

You're welcome and thanks for your interest!

from cakephp-full-calendar-plugin.

joshdcid avatar joshdcid commented on August 20, 2024

I have the same problem with cake 2.0
Notice (8): Undefined index: start [APP/Plugin/FullCalendar/Controller/EventsController.php, line 83]
Notice (8): Undefined index: end [APP/Plugin/FullCalendar/Controller/EventsController.php, line 83]
Notice (8): Undefined variable: data [APP/Plugin/FullCalendar/Controller/EventsController.php, line 104]
null
what can i do?

from cakephp-full-calendar-plugin.

srs81 avatar srs81 commented on August 20, 2024

Is your CakePHP app install on / or the WWW root? If not, you will have to manually change the path of the Javascript ... I have submitted a pull request that addresses this problem and allows it to run on any location on WWW, even outside of root.

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.