Jump to content


Photo

Chapter 1 - Doesn't Return Data From Server


  • Please log in to reply
3 replies to this topic

#1 mikener

mikener

    New Member

  • Members
  • Pip
  • 8 posts

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.

Thanks

ps. The book mentions an appendix I to get help with the server. There is no appendix I.

#2 gourav

gourav

    New Member

  • Members
  • Pip
  • 1 posts

Posted 20 August 2011 - 10:02 PM

Hi Friend,
I think you should check your browser properties.There might b javascript debugging has been disabled.As i think issue is releated to javascript.you do not need to install php as is used for server side contents to display.if as u just said u are not able to view images then it means.some issues with javascript.
Regards,
Gourav Bansal

#3 mikelv

mikelv

    New Member

  • Members
  • Pip
  • 1 posts

Posted 25 June 2014 - 09:59 PM

thumbs = document.getElementById("thumbnailPane").getElementsByTagName("img");

should be:

thumbs = document.getElementById("thumbnailPanel").getElementsByTagName("img");

they dropped the "l" in Panel

#4 Whispy

Whispy

    New Member

  • Members
  • Pip
  • 1 posts

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:

Posted Image
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