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

  • SEARCH
  • Home
  • 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
The following query: SELECT DISTINCT ClassName FROM SiteTree ORDER BY ClassName is returning things
Working SQL The following code works as expected, returning two columns of data (a
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'm using the following code to extract the version number from a string. The
I have following link, returning XML as from following link http://api.wunderground.com/auto/wui/geo/WXCurrentObXML/index.xml?query=24.827774,67.034367 //This is URLString
I am reading some lines from a file in the following format: Identifier String
I'm calling a web service and returning the following data in JSON format: [{OrderNumber:12345,CustomerId:555}]

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.