Question The uploaded file exceeds the allowed size
- zileg31
- Topic Author
- Offline
- New Member
Less
More
2 years 9 months ago - 2 years 9 months ago #1
by zileg31
Jacques | webtrees 2.0.23 - php 7.4.25 - Apache 2.4 - MYSQL 5.6 - OVH pro2014
The uploaded file exceeds the allowed size was created by zileg31
Hello,
I installed a version 2.1.0-beta1 in localhost, on my PC, with this configuration : Apache/2.4.37 (Win64) PHP/7.4.28 MariaDB/10.3.12 Wampserver
I created a "test" tree, then I tried to import a gedcom file of 3642 Kb and including 5516 individuals, from "my computer".
I got the error "The uploaded file exceeds the allowed size".
However, by copying the gedcom file into the "data" folder and importing the file from "the server", it worked fine.
Is this normal?
error message :
There was an error uploading your file.<br>
Filename: arbre complet.ged<br>
The uploaded file exceeds the allowed size. …\app\Http\RequestHandlers\ImportGedcomAction.php:85
... etc.
****************************
Bonjour,
J'ai installé une version 2.1.0-beta1 en localhost, sur mon PC, avec cette configuration : Apache/2.4.37 (Win64) PHP/7.4.28 MariaDB/10.3.12 Wampserver
J'ai créé un arbre "test", puis j'ai tenté d'importer un fichier gedcom de 3642 Ko et comprenant 5516 individus, depuis "mon ordinateur".
J'ai obtenu l'erreur "The uploaded file exceeds the allowed size".
Par contre, en copiant le fichier gedcom dans le dossier "data" et en faisant une importation de fichier depuis le serveur, ça s'est bien passé.
Est-ce normal ?
I installed a version 2.1.0-beta1 in localhost, on my PC, with this configuration : Apache/2.4.37 (Win64) PHP/7.4.28 MariaDB/10.3.12 Wampserver
I created a "test" tree, then I tried to import a gedcom file of 3642 Kb and including 5516 individuals, from "my computer".
I got the error "The uploaded file exceeds the allowed size".
However, by copying the gedcom file into the "data" folder and importing the file from "the server", it worked fine.
Is this normal?
error message :
There was an error uploading your file.<br>
Filename: arbre complet.ged<br>
The uploaded file exceeds the allowed size. …\app\Http\RequestHandlers\ImportGedcomAction.php:85
... etc.
****************************
Bonjour,
J'ai installé une version 2.1.0-beta1 en localhost, sur mon PC, avec cette configuration : Apache/2.4.37 (Win64) PHP/7.4.28 MariaDB/10.3.12 Wampserver
J'ai créé un arbre "test", puis j'ai tenté d'importer un fichier gedcom de 3642 Ko et comprenant 5516 individus, depuis "mon ordinateur".
J'ai obtenu l'erreur "The uploaded file exceeds the allowed size".
Par contre, en copiant le fichier gedcom dans le dossier "data" et en faisant une importation de fichier depuis le serveur, ça s'est bien passé.
Est-ce normal ?
Jacques | webtrees 2.0.23 - php 7.4.25 - Apache 2.4 - MYSQL 5.6 - OVH pro2014
Last edit: 2 years 9 months ago by zileg31.
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
2 years 9 months ago #2
by fisharebest
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Replied by fisharebest on topic The uploaded file exceeds the allowed size
This is a limit of your server.
If you can modify your server configuration (php.ini), then you need to increase two settings
post_max_size
upload_max_filesize
> However, by copying the gedcom file into the "data" folder and importing the file from "the server", it worked fine.
> Is this normal?
Yes! This process exists for users who cannot upload large files.
If you can modify your server configuration (php.ini), then you need to increase two settings
post_max_size
upload_max_filesize
> However, by copying the gedcom file into the "data" folder and importing the file from "the server", it worked fine.
> Is this normal?
Yes! This process exists for users who cannot upload large files.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- zileg31
- Topic Author
- Offline
- New Member
2 years 9 months ago - 2 years 9 months ago #3
by zileg31
Jacques | webtrees 2.0.23 - php 7.4.25 - Apache 2.4 - MYSQL 5.6 - OVH pro2014
Replied by zileg31 on topic The uploaded file exceeds the allowed size
Greg,
Merci pour vos explications. C'est donc un problème semblable à celui rencontré avec la version 2.0 . Je vais demander à mon hébergeur si ça peut être amélioré (pour mon site en ligne), mais je n'ai pas grand espoir ... La méthode de la recopie dans le dossier data est en effet un trés bon contournement !
Bonne journée.
p.s. DeepL est effectivement un trés bon site de traduction avec la langue française. Un ami allemand m'a indiqué qu'il est aussi trés bon avec la langue allemande.
**************************************************
Greg,
Thank you for your explanations. So it's a problem similar to the one encountered with version 2.0. I will ask my host if it can be improved (for my online site), but I don't have much hope... The method of recopy in the data folder is indeed a very good workaround !
Have a nice day.
p.s. DeepL is indeed a very good translation site for the French language. A German friend told me that it is also very good with the German language.
Merci pour vos explications. C'est donc un problème semblable à celui rencontré avec la version 2.0 . Je vais demander à mon hébergeur si ça peut être amélioré (pour mon site en ligne), mais je n'ai pas grand espoir ... La méthode de la recopie dans le dossier data est en effet un trés bon contournement !
Bonne journée.
p.s. DeepL est effectivement un trés bon site de traduction avec la langue française. Un ami allemand m'a indiqué qu'il est aussi trés bon avec la langue allemande.
**************************************************
Greg,
Thank you for your explanations. So it's a problem similar to the one encountered with version 2.0. I will ask my host if it can be improved (for my online site), but I don't have much hope... The method of recopy in the data folder is indeed a very good workaround !
Have a nice day.
p.s. DeepL is indeed a very good translation site for the French language. A German friend told me that it is also very good with the German language.
Jacques | webtrees 2.0.23 - php 7.4.25 - Apache 2.4 - MYSQL 5.6 - OVH pro2014
Last edit: 2 years 9 months ago by zileg31.
Please Log in or Create an account to join the conversation.
- bertkoor
- Offline
- Platinum Member
- Greetings from Utrecht, Holland
2 years 9 months ago #4
by bertkoor
stamboom.BertKoor.nl runs on webtrees v2.1.20
Replied by bertkoor on topic The uploaded file exceeds the allowed size
This "example" module might help in overriding these php server settings:
github.com/webtrees/example-module-server-config
github.com/webtrees/example-module-server-config
stamboom.BertKoor.nl runs on webtrees v2.1.20
Please Log in or Create an account to join the conversation.
- zileg31
- Topic Author
- Offline
- New Member
2 years 9 months ago #5
by zileg31
Jacques | webtrees 2.0.23 - php 7.4.25 - Apache 2.4 - MYSQL 5.6 - OVH pro2014
Replied by zileg31 on topic The uploaded file exceeds the allowed size
Bonjour,
Oui, mais comment les mettre en œuvre ?
************************************************
Hello,
Yes, but how to implement them?
Oui, mais comment les mettre en œuvre ?
************************************************
Hello,
Yes, but how to implement them?
Jacques | webtrees 2.0.23 - php 7.4.25 - Apache 2.4 - MYSQL 5.6 - OVH pro2014
Please Log in or Create an account to join the conversation.
- zileg31
- Topic Author
- Offline
- New Member
2 years 9 months ago #6
by zileg31
Jacques | webtrees 2.0.23 - php 7.4.25 - Apache 2.4 - MYSQL 5.6 - OVH pro2014
Replied by zileg31 on topic The uploaded file exceeds the allowed size
J'obtiens l'erreur "Le paramètre “media_path” is missing." ...
***********************************
I get the error "The parameter "media_path" is missing." ...
***********************************
I get the error "The parameter "media_path" is missing." ...
Jacques | webtrees 2.0.23 - php 7.4.25 - Apache 2.4 - MYSQL 5.6 - OVH pro2014
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
2 years 9 months ago #7
by fisharebest
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Replied by fisharebest on topic The uploaded file exceeds the allowed size
> I get the error "The parameter "media_path" is missing." ...
This is a known bug in 2.1.0-beta.1
It will be fixed for the next release.
This is a known bug in 2.1.0-beta.1
It will be fixed for the next release.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- zileg31
- Topic Author
- Offline
- New Member
2 years 9 months ago #8
by zileg31
Jacques | webtrees 2.0.23 - php 7.4.25 - Apache 2.4 - MYSQL 5.6 - OVH pro2014
Replied by zileg31 on topic The uploaded file exceeds the allowed size
thanks !
Jacques | webtrees 2.0.23 - php 7.4.25 - Apache 2.4 - MYSQL 5.6 - OVH pro2014
Please Log in or Create an account to join the conversation.