Dezinerfolio

Getting "Invalid JSON Error" when trying to view gallery in production

I installed everything okay, uploaded pics fine..

 

When it comes time to view embedded gallery online.  we get "Invalid JSON Error".. Does any one have any clue how to resolve this..  Here is a copy of the embed code.. It's running on localhost.

	<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" height="302" width="963">
<param name="allowFullScreen" value="true">
<param name="movie" value="http://localhost/dfg/DfGallery.swf">
<param name="quality" value="high">
<param name="FlashVars" value="xmlUrl=http://localhost/dfg/api/rest/get_gallery/1/json">
		<embed src="http://localhost/dfg/DfGallery.swf" quality="high" flashvars="xmlUrl=http://localhost/dfg/api/rest/get_gallery/1/json" allowfullscreen="true" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" height="302" width="963">
</object>

When I browse to this link seperately,
http://localhost/dfg/api/rest/get_gallery/1/json

I see a valid response given back.. Seems to be a problem hinting towards the interpretation of the results within the flash file.

If anyone has anything to contribute, it will be greatly appreciated..

Let me know if anyone has any questions about this post.

Trackback URL for this post:

http://www.dezinerfolio.com/trackback/420
Anonymous's picture

Upload install.php back to your base gallery directory. It's required for the script to run.

Tim Mousel (not verified)
Thu, 04/02/2009 - 10:39
Anonymous's picture

You must have deleted install.php. Re-upload it and your script should work.

Tim Mousel (not verified)
Thu, 04/02/2009 - 10:41
Anonymous's picture

Please help me out... Same problem... When I browse to this link seperately,
http://localhost/dfg/api/rest/get_gallery/1/json

Jack (not verified)
Mon, 04/13/2009 - 09:57
Anonymous's picture

You must have deleted install.php. Re-upload it and your script should work.

orjin krem (not verified)
Tue, 02/08/2011 - 14:38

Post new comment

The content of this field is kept private and will not be shown publicly.