Comments (6)
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.
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.
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_calendarwhen 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:
from cakephp-full-calendar-plugin.
You're welcome and thanks for your interest!
from cakephp-full-calendar-plugin.
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.
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)
- No Showing any events on calendar (Cakephp 2.0) HOT 42
- Add more event tables HOT 4
- Unable to show the event after clicking the event in the calendar HOT 2
- I'm Using Cakestrap (Cake with Bootstrap) and i can't see the calendar HOT 2
- how to Filter events according to Event_type HOT 2
- Add Event in the calendar directly (when I click on the calendar) and saving data in database HOT 1
- Missing Controller (FullCalendarController.php) & Other Issues HOT 9
- Show only some kind of events HOT 5
- Change the Calendar event display format
- Calender not showing HOT 1
- jQuery - Newest version not compatible.
- Problem with Acl
- Disable feature for drag, drop and resize events HOT 1
- Full Calendar access
- Events not showing
- FullCalendar Integration with My Application HOT 1
- Notice (8): Undefined and no show calendar/index.ctp
- Event's not display on calendar-plugin
- Pre download HOT 1
- Fatal error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cakephp-full-calendar-plugin.