Bienvenue, Invité
Nom d'utilisateur : Mot de passe :


Before asking for help please read "How to request help" by clicking on that tab above here.

SUJET : [SOLVED] Add media

Add media il y a 2 semaines 2 jours #1

  • mobrid
  • Portrait de mobrid
  • Hors Ligne
  • New
  • Messages : 17
I just installed version 1.7.16 and have imported data via GEDCOM import. I have unsuccessfully tried to add JPG files to existing rows, but it keeps coming back with a blank screen. I transferred some JPG files using the webtrees admin function. I then tried to link the media files but it cannot find them no matter if I add the path name or not. I have looked through the "documentation" and there is nothing telling me how to accomplish this task. Does anyone have any helpful hints?
L'administrateur a désactivé l'accès en écriture pour le public.

Add media il y a 2 semaines 2 jours #2

  • fisharebest
  • Portrait de fisharebest
  • Hors Ligne
  • Administrator
  • Messages : 12560
> it keeps coming back with a blank screen.

See webtrees.net/faq/500/

> I then tried to link the media files but it cannot find them no matter

Tell us exactly what you did. Maybe post some screen shots. It is probably something obvious - but hard to guess without knowing what you are seeing/doing.
Greg Roach - Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser. - fisharebest.webtrees.net
L'administrateur a désactivé l'accès en écriture pour le public.

Add media il y a 2 semaines 2 jours #3

  • mobrid
  • Portrait de mobrid
  • Hors Ligne
  • New
  • Messages : 17
How can I embed the screenshot into my reply?
L'administrateur a désactivé l'accès en écriture pour le public.

Add media il y a 2 semaines 1 jour #4

  • fisharebest
  • Portrait de fisharebest
  • Hors Ligne
  • Administrator
  • Messages : 12560
When you reply to a message, you should see an option to upload a file, and then insert it in your message.

Greg Roach - Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser. - fisharebest.webtrees.net
L'administrateur a désactivé l'accès en écriture pour le public.

Add media il y a 2 semaines 1 jour #5

  • mobrid
  • Portrait de mobrid
  • Hors Ligne
  • New
  • Messages : 17
That's the problem, I've been using Quick Reply and that option doesn't appear.

Here's what I've done.

Install 1.7.16
Import GEDCOM file
Clicked My Pages, then selected Control Panel
Clicked Media and selected Upload Media
Verified the media loaded using File Manager on the goDaddy cPanel, /home/q07kxoz0hgin/public_html/data/media



Clicked My Page
Displayed my father's record
Clicked the Media tab
Clicked Add a Media Object
This is the screen that is displayed:


So I close it and click Link to an existing media object
Enter CharlesBridges.jpg into the box and click link
This is what is returned:



No matter what I enter into the filename box I get the same result.
L'administrateur a désactivé l'accès en écriture pour le public.

Add media il y a 2 semaines 1 jour #6

  • fisharebest
  • Portrait de fisharebest
  • Hors Ligne
  • Administrator
  • Messages : 12560
A "media file" is just the .JPEG file on disk

A "media object" is an entry in your genealogy data. It includes a title, notes, etc., plus of course the name of the media file.

So, here you need to add a new media object (not link to an existing one).

When you add a new media object, you should be given the choice of uploading a file,
or selecting one that you previously copied to the server using FTP.

Your screenshot shows that "Add media" page with a blank page.

Is that *before* you enter any information, or *afterwards*?

Note - a blank page indicates that a fatal server error occured, and that your server is configured not to display the errors.
If you control your server configuration, (e.g. using a PHP.INI file or a .HTACCESS file), then set display_errors=On
Even when not displayed, fatal errors should be written to a log file on the server. If you have access to this, then
knowing the error message would help enormously.
Greg Roach - Cette adresse e-mail est protégée contre les robots spammeurs. Vous devez activer le JavaScript pour la visualiser. - fisharebest.webtrees.net
L'administrateur a désactivé l'accès en écriture pour le public.

Add media il y a 2 semaines 5 heures #7

  • mobrid
  • Portrait de mobrid
  • Hors Ligne
  • New
  • Messages : 17
It is before I have any opportunity to enter anything! I click "add media" and a new tab that is completely blank (except for url) opens. I don't know how I can be any more explicit about that.

I tried modifying. htaccess to display all php errors, and nothing is logged. I tried to modify php.ini to display all errors and nothing is logged. Even before modifying. htaccess and php.ini nothing was logged. I then intentionally misspelled the entries to display errors and an error line was logged saying I misspelled it. So I know I'm entering it in the correct t file. Nothing I have tried has resu5in being able to add pictures to any existing person. I haven't tried creating a new fake person and adding a media file to it but that is my last possible experiment.
L'administrateur a désactivé l'accès en écriture pour le public.

Add media il y a 2 semaines 4 heures #8

  • mobrid
  • Portrait de mobrid
  • Hors Ligne
  • New
  • Messages : 17
It is before I have any opportunity to enter anything! I click "add media" and a new tab that is completely blank (except for url) opens. I don't know how I can be any more explicit about that.

I tried modifying. htaccess to display all php errors, and nothing is logged. I tried to modify php.ini to display all errors and nothing is logged. Even before modifying. htaccess and php.ini nothing was logged. I then intentionally misspelled the entries to display errors and an error line was logged saying I misspelled it. So I know I'm entering it in the correct t file. Nothing I have tried has resu5in being able to add pictures to any existing person. I haven't tried creating a new fake person and adding a media file to it but that is my last possible experiment..

Until then, here is the generated html

L'administrateur a désactivé l'accès en écriture pour le public.
Avez-vous besoin d'une solution d'hébergement web pour votre site webtrees ?
Si vous préférez un hébergeur spécialisé de webtrees, la page suivante en liste quelques-uns capables de vous offrir ce type de service :

Add media il y a 1 semaine 5 jours #9

  • mobrid
  • Portrait de mobrid
  • Hors Ligne
  • New
  • Messages : 17
Changing to PHP version 7.3 made everything work!
L'administrateur a désactivé l'accès en écriture pour le public.

[SOLVED] Add media il y a 1 semaine 5 jours #10

  • mobrid
  • Portrait de mobrid
  • Hors Ligne
  • New
  • Messages : 17
Problem solved.
L'administrateur a désactivé l'accès en écriture pour le public.
Propulsé par Kunena