Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43293
Total Topics: 7522
Most Online Today: 118
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 114
Total: 114

Author Topic: index error in gallery  (Read 4961 times)

0 Members and 1 Guest are viewing this topic.

guest3817

  • Guest
index error in gallery
« on: September 04, 2011, 11:17:54 am »
Hi

One of our users is generating multiple errors in pairs like this

http://www.xxxx.com/forum/index.php?action=gallery;sa=bulk2;catid=106;usercatid=0;sesc;procookie=nnnnnnnnnn;ajax=1

8: Undefined index: GPSLatitude

 File: /xxxxx/public_html/forum/Sources/Gallery2.php
 Line: 7948
    .......
 Type of error: Undefined

http://www.xxxx.com/forum/index.php?action=gallery;sa=bulk2;catid=106;usercatid=0;sesc;procookie=nnnnnnnn;ajax=1

8: Undefined index: GPSLongitude

 File: /xxxxxx/public_html/forum/Sources/Gallery2.php
 Line: 7949


Any ideas what might be causing this? The user is on a Mac using Safari.

Thanks

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16451
    • View Profile
Re: index error in gallery
« Reply #1 on: September 05, 2011, 08:19:50 pm »
Looks like the picture contained GPS information in the exif data but for some reason was missing those two fields.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

guest3817

  • Guest
Re: index error in gallery
« Reply #2 on: September 06, 2011, 05:42:15 pm »
I'll have get hold of some of the original images to check the EXIF data. The ones uploaded to the gallery have been resized in the bulk upload process and don;t seem to have retained the EXIF info in the image(old bug fixed in 3.0.6?)

guest3817

  • Guest
Re: index error in gallery
« Reply #3 on: September 07, 2011, 08:01:40 am »
I've obtained one of the irignal fphotos that are causing this error. The camera used was a Canon EOS 5D Mark II which is capable of recording GPS info if the right extra hardware is used. This camera doesnt have this info but the EXIF data in the images includes this reference

<exif:GPSVersionID>2.2.0.0</exif:GPSVersionID>

Removing this one line from the exif data stops the error occuring when uploading the file via bulk upload, however the exif data is still being stripped from the uploaded, resized copy.

Any ideas how to resolve these problems? I can clear the errors manually but it is  abit of a pain.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16451
    • View Profile
Re: index error in gallery
« Reply #4 on: September 07, 2011, 08:06:37 am »
Try this file copy to sources folder
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

guest3817

  • Guest
Re: index error in gallery
« Reply #5 on: September 07, 2011, 08:28:02 am »
Thanks.
That seems to have fix the errors message(including ones created when selecting Reprocess ALL EXIF in admin). However the exif data is stil not being recorded in the uploaded image. This does not occur with images from other cameras that I have tried. I'll try andf investigate this further later when I havew bit more time.

 

guest3817

  • Guest
Re: index error in gallery
« Reply #6 on: September 10, 2011, 05:05:47 pm »
Hi

I now sem to be getting errors in pairs like this when the rss icon is pressed for a gallery

http://www.xxxxx.co.uk/forum/index.php?action=gallery;sa=rss;cat=2

Database Error: Unknown column 'thumbfilename' in 'field list'

 File: /home/xxxxx/public_html/forum/Sources/Gallery2.php
 Line: 8452
 

http://www.xxxx.co.uk/forum/index.php?action=gallery;sa=adminset2

8: Undefined index: gallery_set_relatedimagescount

 File: /home/ssss/public_html/forum/Sources/Gallery2.php
 Line: 3455

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16451
    • View Profile
Re: index error in gallery
« Reply #7 on: September 11, 2011, 10:39:12 am »
1. Fixed posted update in
http://www.smfhacks.com/index.php/topic,5930.msg26339.html#msg26339

2. Set the related images number to 0 if you are not using it under settings to remove that error.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
16563 Views
Last post May 09, 2008, 02:33:12 pm
by RoFus
2 Replies
7341 Views
Last post November 02, 2009, 07:56:57 am
by Vincent Volmer
6 Replies
6516 Views
Last post February 26, 2012, 01:44:52 pm
by SMFHacks
14 Replies
13335 Views
Last post June 04, 2012, 07:35:31 pm
by SMFHacks
2 Replies
3676 Views
Last post April 28, 2017, 01:31:50 pm
by nend

+- Recent Topics

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

Powered by EzPortal