Before asking for help please read "How to request help" by clicking on that tab above here.
  • Page:
  • 1
  • 2

TOPIC: Import media files

Import media files 2 weeks 2 days ago #21

  • fisharebest
  • fisharebest's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 12929
The "500" error means something different.

Your server found the file OK. But it could not create the thumbnail image.

In the control panel is a section "Website logs".

It will (hopefully) contain an error message explaining what went wrong.

Often, this is caused my a missing graphics library on the server.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Import media files 2 weeks 2 days ago #22

  • Haraldv
  • Haraldv's Avatar Topic Author
  • Offline
  • New
  • New
  • Posts: 26
There are both 500 message and 404 messages. Here is the last logs.

The server man try to find this problem, but it is very difficult since this program is so special. He has 100 other databases at the server, and this is the only with problems.
Harald Vågene,
Skodje - Norway
www.grasdal.com/webtrees
Attachments:

Please Log in or Create an account to join the conversation.

Import media files 2 weeks 2 days ago #23

  • fisharebest
  • fisharebest's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 12929
Your server is missing one of the PHP libraries - php-exif

It is used for auto-rotating images.

A recent fix to webtrees allows it to detect if this library is missing.
If it is missing, it won't attempt to auto-rotate files.

You can either:

1) Wait for the next release of webtrees. I'm working on it now, but
there are a few more things I need to test first. Hopefully in the next
few days.

2) Ask your webhost to make sure the php-exif library is installed on the server
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Import media files 2 weeks 2 days ago #24

  • Haraldv
  • Haraldv's Avatar Topic Author
  • Offline
  • New
  • New
  • Posts: 26
I think everything is good now! There are some 404 messages still, but I will try once more import.

Thanks for all help! :-)
Harald Vågene,
Skodje - Norway
www.grasdal.com/webtrees

Please Log in or Create an account to join the conversation.

Last edit: by Haraldv.

Import media files 2 weeks 2 days ago #25

  • fisharebest
  • fisharebest's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 12929
I am glad you got it working!

> There are some 404 messages still

If you see these, go to the record for this media object.
You will see the filename.

Check that the file exists.

If the media record contains "certificates/xxx.jpeg", then you need to check that the file data/media/certificates/xxx.jpeg exists.

If you created your GEDCOM file on a PC, then upper and lower case are the same.
On most servers, they are different. So it is common to find that a file is called PHOTO.JPEG, but the GEDCOM contains photo.jpeg
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Import media files 2 weeks 2 days ago #26

Harald, do you keep all media files in the data/media folder, or do you perhaps keep some media files in a subfolder data/media/subfolder/photo.jpg?
I suspect the "404 files" might be located in subfolders
webtrees 2.0.4 patched at visitusinmaputo.com/webtree PHP 7.2.9
webtrees 2.0 dev on local WampServer PHP 7.3.1

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Powered by Kunena Forum