I don't believe this is the problem (the two \n thing).IT has nothing to do with our code, but with the way the javascript engine in your browser handles new lines. As you say they are mentioned before the call to setResponse, it doesn't look related.
But you say that it does work well from txt... this is strange. Any more info you can provide? or any other ideas? Regards, VizGuy On Mon, May 11, 2009 at 1:19 PM, viz-adict <[email protected]> wrote: > > Hi! > > I have discover something: > > My PHP generates two carrier returns (\n\n) before the > google.visualization.Query.setResponse... > (I don't know why the PHP sentence require_once generates it, but it > has been working in the same way for weeks! > > if I save the output of my datasource to a text file > and clean the \n\n in the text file > and call the txt instead of the PHP then it works fine!!!! > > Could it be possible that your code is more estrict in that sense? > > Best!!! > > > > On May 11, 11:45 am, VizGuy <[email protected]> wrote: > > Thanks for the info.We are looking, and will be soon back. > > > > VizGuy > > > > On Mon, May 11, 2009 at 12:06 PM, viz-adict <[email protected] > >wrote: > > > > > > > > > Thanks for your response > > > Unfortunately I have no public link... > > > > > I'm working with > > > > >http://code.google.com/p/google-visualization-php-api/source/browse/t. > .. > > > to generate the JSON data > > > > > I paste it here one of the results: > > > google.visualization.Query.setResponse({version: '0.5',reqId: > > > '12',sig: '12e87735a77d808155063a9d7326feac',status: 'ok',table: {cols: > > > [{id: 'fecha',label: 'Fecha',type: 'date'},{id: 'blog',label: > > > 'Bloc',type: 'number'},{id: 'book',label: 'Book',type: 'number'},{id: > > > 'course',label: 'Curs',type: 'number'},{id: 'label',label: > > > 'Etiqueta',type: 'number'},{id: 'lesson',label: 'Lesson',type: > > > 'number'},{id: 'resource',label: 'Recurs',type: 'number'}],rows:[{c: > > > [{v: new Date(2008, 8, 19)},,,,{v: 43},,{v: 123}]},{c:[{v: new Date > > > (2008, 8, 26)},,,,{v: 255},,{v: 1315}]},{c:[{v: new Date(2008, 9, 3)},, > > > {v: 8},,{v: 189},{v: 4},{v: 1403}]},{c:[{v: new Date(2008, 9, 10)},, > > > {v: 1},,{v: 179},{v: 3},{v: 1170}]},{c:[{v: new Date(2008, 9, 17)},, > > > {v: 8},,{v: 123},{v: 3},{v: 1064}]},{c:[{v: new Date(2008, 9, 24)},, > > > {v: 1},,{v: 122},,{v: 970}]},{c:[{v: new Date(2008, 9, 31)},,{v: 4},, > > > {v: 100},{v: 1},{v: 987}]},{c:[{v: new Date(2008, 10, 7)},,{v: 3},,{v: > > > 97},{v: 2},{v: 967}]},{c:[{v: new Date(2008, 10, 14)},,{v: 5},,{v: > > > 85},,{v: 897}]},{c:[{v: new Date(2008, 10, 21)},,{v: 3},,{v: 100},,{v: > > > 865}]},{c:[{v: new Date(2008, 10, 28)},,,,{v: 76},,{v: 754}]}]}}); > > > > > And this is what FireBug 1.3.3 gives me > > > ---------------------------------------------------- > > > missing ) in parenthetical > > > ;) > > > ----------------------------------------------------- > > > (No changes were made in my code for the past 6 days...) > > > > > :-( > > > > > On May 11, 10:27 am, VizGuy <[email protected]> wrote: > > > > Hi, > > > > Can you please provide some more info? > > > > We did push to production last night a few minor changes that were on > the > > > > test version for a few days. > > > > This should have no affect on users, but if it did cause any > undesired > > > > impact please provide more details, like the errors you get, and if > > > > possible, some links to the application (only if public, of course). > > > > > > Regards, > > > > VizGuy > > > > > > On Mon, May 11, 2009 at 10:54 AM, viz-adict < > [email protected] > > > >wrote: > > > > > > > Help! > > > > > > > My application doesn't work today!!! > > > > > > > Firebug launches errors on line 232, 263 of > > > > > > > > http://www.google.com/uds/api/visualization/1.0/28bfe89c82011ce9762b7. > > > .. > > > > > > > any idea???? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en -~----------~----~----~----~------~----~------~--~---
