Attachment upload 2.9.9 won´t work?

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
Arminius
Posts: 5
Joined: Tue Nov 28, 2017 1:28 pm

Attachment upload 2.9.9 won´t work?

Post by Arminius »

Hi guys,

anyone have a idea why i cant store any attachements?

I can upload files, the filesize is correctly, it doesnt matter witch fileformat (zip, pdf,jpg ...) phpmyfaq stores no files in the attachmentfolder.

I have tried to make a new folder and store the attacjements in the new folder.

The upload seems works fine, in the new folder now exists new folders with like 3453/53453/5345 ... but no files on the end.

In the database an in the FAQ article stores the right informations, like fileformat, filename etc.... but no file in the folder ...

Have i fail to see any that i have to do?
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Attachment upload 2.9.9 won´t work?

Post by Thorsten »

Hi,

it works on my test installation. Are you sure it only creates folders? Can you activate the debug mode in inc/Bootstrap.php and try it again. Do you see any errors?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Arminius
Posts: 5
Joined: Tue Nov 28, 2017 1:28 pm

Re: Attachment upload 2.9.9 won´t work?

Post by Arminius »

It called this one in the popup.

Fatal error: Class 'phpseclib\Crypt\Rijndael' not found in .../inc/libs/phpseclib/Crypt/AES.php on line 59

an generates:

/attachments/3a682/1dfb2/9aaa9
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Attachment upload 2.9.9 won´t work?

Post by Thorsten »

Hi,

do you see this file: /inc/libs/phpseclib/Crypt/Rijndael.php?

Which PHP version do you use?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Arminius
Posts: 5
Joined: Tue Nov 28, 2017 1:28 pm

Re: Attachment upload 2.9.9 won´t work?

Post by Arminius »

Jap 😁 i can see it.

PHP 7.0.25
Thorsten
Posts: 15560
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Attachment upload 2.9.9 won´t work?

Post by Thorsten »

Hi,

okay, I'll check it.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Arminius
Posts: 5
Joined: Tue Nov 28, 2017 1:28 pm

Re: Attachment upload 2.9.9 won´t work?

Post by Arminius »

Thank you ☺
Post Reply