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.
Upload install.php back to your base gallery directory. It's required for the script to run.
You must have deleted install.php. Re-upload it and your script should work.
Please help me out... Same problem... When I browse to this link seperately,
http://localhost/dfg/api/rest/get_gallery/1/json
You must have deleted install.php. Re-upload it and your script should work.
Post new comment