upload file problem

Support für Extensions für phpBB 3.3.x von Entwickler OXPUS
Antworten
sakkiotto
Beiträge: 106
Registriert: Mo 28. Apr 2014, 03:56

upload file problem

Beitrag von sakkiotto »

Hi Oxpus how are you???
i have a problem in lamp server for upload file (forum upload attachment works without problem) or existent files
Is it the fault of the folder permissions? In Toolbox section i have create folders with success...

the file is already uploaded from old versions Hotschi's Downloads 7.3.5
Screenshot 2024-02-01 233958.png
Screenshot 2024-02-01 233958.png (10.14 KiB) 106 mal betrachtet
instead if I use upload frontend I have error 500
[php7:error] [pid 5218] [client 82.84.165.80:49967] PHP Fatal error: Uncaught Error: Class 'Symfony\\Component\\HttpFoundation\\File\\UploadedFile' not found in /var/www/html/vendor/symfony/http-foundation/FileBag.php:87\nStack trace:\n#0 /var/www/html/vendor/symfony/http-foundation/FileBag.php(52): Symfony\\Component\\HttpFoundation\\FileBag->convertFileInformation()\n#1 /var/www/html/vendor/symfony/http-foundation/FileBag.php(61): Symfony\\Component\\HttpFoundation\\FileBag->set()\n#2 /var/www/html/vendor/symfony/http-foundation/FileBag.php(40): Symfony\\Component\\HttpFoundation\\FileBag->add()\n#3 /var/www/html/vendor/symfony/http-foundation/FileBag.php(31): Symfony\\Component\\HttpFoundation\\FileBag->replace()\n#4 /var/www/html/vendor/symfony/http-foundation/Request.php(277): Symfony\\Component\\HttpFoundation\\FileBag->__construct()\n#5 /var/www/html/vendor/symfony/http-foundation/Request.php(255): Symfony\\Component\\HttpFoundation\\Request->initialize()\n#6 /var/www/html/vendor/symfony/http-foundation/Request.php(2095): Symfony\\Component\\HttpFoundation\\Request->__construct()\n#7 /var/www/html/vendo in /var/www/html/vendor/symfony/http-foundation/FileBag.php on line 87, referer: http://xxxxx.zapto.org/dlext/mcp/edit?c ... &df_id=324
let me see and thanks for your support!

PS. I've been using your extension without problems for many years (7.3.5), Now I'm testing and finishing rewriting 8.2.14 for this template I hope to share it as soon as possible :)


EDIT: in live i haven't this error ... only localserver lamp on ubuntu
Benutzeravatar
oxpus
Chief handy-man
Beiträge: 2657
Registriert: Do 13. Dez 2007, 23:06
Wohnort: Irgendwo im I-Net
Kontaktdaten:

Re: upload file problem

Beitrag von oxpus »

You should update your PHP to 8 and retry.
And update the lamp installation oin your localserver for updates.

Hint:
Check the php options post_max_size and upload_max_size.
They must be greater than the uploaded file.
Karsten Ude
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
sakkiotto
Beiträge: 106
Registriert: Mo 28. Apr 2014, 03:56

Re: upload file problem

Beitrag von sakkiotto »

Yes, i have upgrade php from 7.4.33 to 8.3.2-1+ubuntu20.04.1+deb.sury.org+1 and now it's works!
thanks. see you next weeks when finish rewrite template :)
have see a nice day
Antworten