This Help forum is for issues relates to the latest release (1.7.8). For issues related to beta or github version please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here."
  • Page:
  • 1

TOPIC:

Installation free pages perso 3 years 11 months ago #1

  • coutu
  • coutu's Avatar Topic Author
  • Offline
  • New
  • New
  • Posts: 16
webtrees 1.7.8
For a clean install of webtrees 1.7.8 on free server pages perso you can replace the original files : app/Database.php and includes/sessions.php with the attached modified files.
Free server has many limits mainly uploading limited to 1Mo (about 2000-2500 indi) but it's a good deal for small tree like mine and a few visits a day.
Charly

Thanks to Poupard for tips

Pour une installation sans souci de Webtres 1.7.8 sur les pages perso de free vous pouvez remplacer les fichers : app/Database.php and includes/sessions.php par ceux de l'archive ci-dessous.
Le serveur de free a de nombreuses limites dont l'upload maxi de 1Mo mais c'est une solution gratuite bien suffisante pour des petits arbres tel que le mien.

Merci à Poupard pour ses découvertes
Attachments:

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

Last edit: by coutu.

Installation free pages perso 3 years 11 months ago #2

  • coutu
  • coutu's Avatar Topic Author
  • Offline
  • New
  • New
  • Posts: 16
To upload a gedcom larger than 1MB a solution would be to compress the file.
Let's see... so I did some compression tests and the compression rates range from 4 to 7 for a gedcom file.
Then I retrieved some php functions such as zip_open, I modified the file app/Tree.php and it seems to work.
There is no change for the user, the new function does the job, just a zip to upload and the tree is online.
You can test (at your own risk) by downloading the Tree.php file below.

Si vous souhaitez uploader un gedcom supérieur à 1 Mo la solution est peut-être de compresser le fichier.
J'ai fait quelques test de compression sur des gedcom et le taux varie de 4 à 7, intéressant.
J'ai donc récupéré quelques fonctions php en ligne telle que zip_open, modifié le fichier app/Tree.php et ça semble fonctionner.
Il n'y a pas de changement pour l'utilisateur, la nouvelle fonction fait le boulot, juste un gedcom zippé à uploader et l'arbre est en ligne.
Vous pouvez tester après avoir télécharger le fichier Tree.php ci-dessous. La limite de 1Mo existe toujours donc le zip ne doit pas faire plus ;-)
Attachments:

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

Installation free pages perso 3 years 11 months ago #3

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 13693
If your web host will only allow small file uploads, then there is a simpler alternative!

Use FTP to copy the file to the /data/ folder.

webtrees can import files from this folder.
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.

Installation free pages perso 3 years 11 months ago #4

  • coutu
  • coutu's Avatar Topic Author
  • Offline
  • New
  • New
  • Posts: 16
Thank you. Free server is cunning it has locked all accesses ;-)
Attachments:

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

  • Page:
  • 1
Powered by Kunena Forum