Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7412529
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T06:33:15+00:00 2026-05-29T06:33:15+00:00

I am returning the following string from my server side page (getEvents.cfm). I am

  • 0

I am returning the following string from my server side page (getEvents.cfm). I am working in ColdFusion.

[
{
    title: 'Event1',
    start: '2012-02-02',
    end: '2012-02-02',
    allDay: 'no'
},
{
    title: 'Event2',
    start: '2012-02-03',
    end: '2012-02-03',
    allDay: 'no'
}
]

But I get an error on page load ‘there was an error while fetching events!’

Here is the code that I am using to fetch events:

eventSources: [

            // your event source
            {
                url: '../getevents.cfm',
                type: 'POST',
                data: {
                    custom_param1: 'something',
                    custom_param2: 'somethingelse'
                },
                error: function() {
                    alert('there was an error while fetching events!');
                },
                color: 'yellow',   // a non-ajax option
                textColor: 'black' // a non-ajax option
            }

            // any other sources...

]
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T06:33:16+00:00Added an answer on May 29, 2026 at 6:33 am

    First of all allDay should be true/false not no/yes. Second, the return string should look like this:

     [{
        "title": 'Event2',
        "start": '2012-02-03',
        "end": '2012-02-03',
        "allDay": 'false'
    }]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am having trouble returning data from my sql-server database to an aspx page
Consider the following code where I am returning double& and a string& . It
I have Json returning as the following: [{CreatedBy:GIS_DB,CreatedDate:3/8/2012 10:44:00 AM,Id:39,ModifiedBy:,ModifiedDate:,Name:CF-39,StatusId:1,TrailCoordinates:[{CreatedBy:GIS_DB,CreatedDate:3/8/2012 10:44:00 AM,Id:1637,Latitude:32.76004207,Longitude:-97.34006853,ModifiedBy:,ModifiedDate:,SortOrder:1,TrailId:39},{CreatedBy:GIS_DB,CreatedDate:3/8/2012 10:44:00 AM,Id:1638,Latitude:32.76004333,Longitude:-97.34012121,ModifiedBy:,ModifiedDate:,SortOrder:2,TrailId:39}]},{CreatedBy:GIS_DB,CreatedDate:3/8/2012
I am using a server that is crashing following a call to recv() returning
We are returning the following JSON from a ruby code: { label:CPU-7, data:[[50,45,38,34]], settings:{
I have the following string: monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date and the following Python script: from datetime import
I'm using the following code to extract the version number from a string. The
I'm calling a web service and returning the following data in JSON format: [{OrderNumber:12345,CustomerId:555}]
I'm initiating a URL connection and my script is returning the following JSON: (
I have a WCF service, hosted in IIS returning the following error (when trying

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.