Jump to content
Chapter 1 - Doesn't Return Data From Server
3 replies to this topic
Posted 21 April 2011 - 09:01 AM
When I run the code from chapter 1. I get the following error message [object Error] when I click on a thumbnail (the picture does display, so this is a server error of some kind).
I am not sure what this error means. Can anyone explain that error to me. In addition I would like to know if I need to install anything (i.e. php)? I am running on Windows XP.
ps. The book mentions an appendix I to get help with the server. There is no appendix I.
Posted 20 August 2011 - 10:02 PM
Posted 25 June 2014 - 09:59 PM
thumbs = document.getElementById("thumbnailPane").getElementsByTagName("img");
thumbs = document.getElementById("thumbnailPanel").getElementsByTagName("img");
they dropped the "l" in Panel
Posted 07 November 2014 - 02:54 AM
Hi guys, i had the same problem but i solved it. Here's the way to correct it:
free image uploading
Just change "getDetails.php?imageID=" to "getDetails.php?ImageID=" in thumbnails.js
Have a nice day and good luck :-)
BTW. It works on webserver and on localhost PHP server. Without PHP server it returns Error "permission denied" in thumbnails.js
Edited by Whispy, 07 November 2014 - 04:53 AM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users