Jump to content
TNG Community

Photo Error (I think)


Trevor

Recommended Posts

Couldn't wait any longer so have rebuilt the entire site. Thanks anyway everyone.

=====================================================================================

Can someone explain what the following error means and how I fix it?

Warning: Missing argument 3 for showsmallphoto() in /home/httpd/vhosts/rhodes-online.net/httpdocs/tng/genlib.php on line 83

Warning: Missing argument 4 for showsmallphoto() in /home/httpd/vhosts/rhodes-online.net/httpdocs/tng/genlib.php on line 83

Cannot execute query: SELECT alwayson, thumbpath FROM tng_photos, tng_photolinks WHERE personID = "photos/braiding.I3920.jpg" AND tng_photolinks.gedcom = "braiding" AND tng_photos.photoID = tng_photolinks.photoID AND defphoto = '1' 8)

Link to comment
Share on other sites

Here are the variables it is looking to be passed to it:

$persfamID, $alttext, $living, $height

The third variable is whther they are living or not. If the person is living, it shouldn't show the picture unless you are logged in. It shouldn't give you an error though. Of course the fourth one is height. Have you checked your configuration in the admin to make sure everything is set right? That is where I would start. Is the path correct to your photos?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...