Notifications
Clear all

Can attach picture, but insert doesn't work

6 Posts
3 Users
0 Likes
820 Views
Posts: 5
Customer
Topic starter
(@bernd-engel)
Member
Joined: 5 years ago

Hi,

just installed your plugin on https://madtrash.com/community/ and it doesn't seem to work. I can attach 1 or more images. After uploading them I don't see the generated thumbnail, I see just the title. After I have selected the images with the checkboxes and press insert I'll get the error message, that I have to select the images by using the checkboxes. Ive checked the respective upload directory and no image files are there. I thought it was a problem with the chmod option, but changing this doesn't improve anything.

The console of Chrome inspection tool doesn't return any errors. Only if I try to delete the (obvisiously not) uploaded picture.

2019 10 22 21 17 23 Window
2019 10 22 21 18 58 Window

Can you please help.

Thanks, Bernd

5 Replies
Posts: 5
Customer
Topic starter
(@bernd-engel)
Member
Joined: 5 years ago

I tried to deactivate and activate each plugin one by one ->> no success

I changed to different themes ->> no success

For this reason the reason can't be the theme or any of my installed plugins

Reply
4 Replies
Elvina
(@elvina)
Joined: 5 years ago

Support
Posts: 1403

@bernd-engel,

Please register some new testing user and send the login details to info[at]gvectors.com email address to allow us to check the issue. 

Please make sure that the user can attach files.

Reply
Customer
(@bernd-engel)
Joined: 5 years ago

Member
Posts: 5

@elvina

Thanks a lot, I have sent you the test user data a few minutes ago.

Reply
Astghik
Admin
(@astgh)
Joined: 6 years ago

Illustrious Member
Posts: 5911

@bernd-engel

Please navigate to Dashboard > Forums > Dashboard admin page, make sure either the GD and Image Functions or the PHP imagick extension is available. 

 

Then check your database table and make sure the table called wp_wpforo_attachments is created. If you don't find the table, please deactivate the add-on and activate it again.  

wp_ is just a prefix, it can differ in your case. 

Also, please check the Numeric value of the folder and make sure it is set 755.

More info here:

https://www.siteground.com/tutorials/ftp/change-permissions/

Reply
Customer
(@bernd-engel)
Joined: 5 years ago

Member
Posts: 5

@astghik

The attachment table was missing in the database. Added it manually and now it works fine...very cool, thank you! 

I guess I know the reason why the attachments table was not created. When I've installed the wpForo main plugin, I faced some errors installing all tables in my database. The reason was my DB didn't recognize the default character set. I've changed the SQL code accordingly from 'utf8_general_ci' to just 'utf8' and created all tables manually in cpanel. After that the main plugin worked perfectly.

I'm sure the attachment plugin caused the same problem, while trying to create the attachment table. The install process of the advanced attachment plugin doesn't show any DB errors, so I got no idea.

Reply
Share:
Scroll to top