
- #PHPGEDVIEW WEBTREES MEDIA UPDATE#
- #PHPGEDVIEW WEBTREES MEDIA FULL#
- #PHPGEDVIEW WEBTREES MEDIA WINDOWS#
#PHPGEDVIEW WEBTREES MEDIA UPDATE#
I closed the ftp client and reopened it and all was well.Ĭonnexion ou Créer un compte pour participer à la conversation.Īn update to the update. NOTE - for reasons I don't understand the problem is resolved. How do I get the media images and thumbs back into the media library circumventing the controls in place via the media firewall - which incidentally I have turned off. Since obviously without the media files in place, the app is broken when the media is turned on:ĮRROR 2: imagecreatetruecolor() : Invalid image dimensionsĠ Error occurred on in function imagecreatetruecolorġ called from line 1923 of file functions_mediadb.php in function generate_thumbnailĢ called from line 961 of file functions_mediadb.php in function process_uploadMedia_formģ called from line 71 of file admin_media_upload.phpĪnd there are many missing images creating a lot of these error messages. Scratched my head and wandered off to contemplate this conundrum. htaccess file in the media folder.Īdmin tool> webtrees/admin_media.php sees no files even though it will "change" permissions of a bunch of phantom files presumably links from the database. However I could not manually copy media files to the protected media folder and nor could I use the media admin tool to copy files. I then started on the configuration options turning on the multimedia features.
#PHPGEDVIEW WEBTREES MEDIA WINDOWS#
Even if it runs on the Windows platform the forward slash is used, and PHP will further take care of it.So, I got the PGV update done and performed the transfer via the wizard.

Since PHP mostly runs on Linux/Unix machines, it uses the convention of that operating system: forward slash instead of backslash as folder name delimiter. The paths that don't match will remain there, but with a conversion. You need to specify literally what paths to remove, including the trailing backslash.
#PHPGEDVIEW WEBTREES MEDIA FULL#
On the (webtrees) server these images will be stored in the default media folder, so during import the full paths need to be removed.

Your GEDCOM file contains fully written out paths with standard Windows backslashes to all of your images, eg C:\Users\Gene\Documents\Legacy Family Tree\Media\Booker_Susan-1870USCensus.jpg These are representations of the same, but at different points in the process. Guardian46 wrote: I'm confused about the slashes and backslashes.Ĭ:/Users/Gene/Documents/Legacy Family Tree/Media/Ĭ:\Users\Gene\Documents\Legacy Family Tree\Media\īoth. If you ever need to export your data back into Legacy, there is a corresponding export option, to add paths (and convert slashes). It looks for this file (by default), in data/media/Photos/John.jpg on your webserver. Webtrees converts this to "Photos/John.jpg" for its own use.

You tell webtrees to ignore ""C:\Users\Gene\Documents\Legacy Family Tree\Media\" - leaving you with "Photos\John.jpg". "C:\Users\Gene\Documents\Legacy Family Tree\Media\Photos\John.jpg" After importing data, webtrees converts these all to "/", so it can process them a little more efficiently. So, remove "C:\Users\Gene\Documents\Legacy Family Tree\Media\".įYI, in PHP scripts, "\" and "/" are both treated exactly the same. Therefore you need to remove this exact path (with "\"). Your data (the original GEDCOM file) contains just "\". > So, you should have asked webtrees to remove "C:\Users/Gene\Documents\Legacy Family Tree\Media\". If you want to try this, you'll find instructions by searching the forum. To see this last one, you'll need to use the "firebug" plugin for firefox. There will be helpful messages in the "XHR" reponse. There may be helpful messages in the webserver error log. There may be helpful messages in the webtrees error log. Most likely, you have large images (pixels, not bytes), and your server does not have enough memory to process them. Most likely, webtrees was trying to create a thumbnail image - and this failed. This means that an error occured while generating a page of data for this screen. > but then after that the Manage Media crashes and returns this error message:

So, you should have asked webtrees to remove "C:\Users/Gene\Documents\Legacy Family Tree\Media\". What media path did you actually remove? You need to specify a path with "\" (as appears in your data), rather than the path with "/" (which is used by webtrees). > I selected the option to "Remove the GEDCOM media paths from filenames", but then when I use the Manage Media, it shows all the media files still have the path - C:/Users/Gene/Documents/Legacy Family Tree/Media It's certainly the best way to get support. Is this Forum the only way to get Tech Support?
