#98 ✓hold
Paola Villarreal

Debug output preventing JSON parsing on Create Model

Reported by Paola Villarreal | May 2nd, 2009 @ 01:34 AM | in 0.20

Hi..

I am testing Recess with an existing database, first I noticed some numbers that were printed before and after

I decided to ignore them but then when I was trying to create a model based on an existing table it couldn't list the table's fields so using Firebug I saw that those numbers were also printed before and after de JSON response for the table's fields and thus preventing jquery to parse them and preventing recess to add the model.

I fixed it just by putting and echo ' '; before ob_start() on recess/recess/Recess.class.php

If I can get something like a map for me to get comfortable with Recess and to better understand the process of handling requests (who makes what) I would be able to fix some bugs.

Comments and changes to this ticket

  • Kris Jordan

    Kris Jordan June 9th, 2009 @ 02:41 PM

    • State changed from “new” to “hold”

    Thank-you for the bug submission. Having a hard time reproducing. Which version of PHP and Apache are you using? Any questions you have on the framework can be sent to our mailing list or the IRC room #recess on irc.freenode.net

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Recess PHP Framework is an open source, full stack, RESTful PHP framework.

http://www.recessframework.org/

People watching this ticket

Pages