PGreca / pgsocial

Transform your forum in a Social Network
https://pgreca.it
GNU General Public License v2.0
3 stars 7 forks source link

New bug found in avatar #50

Open phxinternational opened 4 years ago

phxinternational commented 4 years ago

I just come across a new bug. When you select a gallery avatar, if you have that setup on your forum. It does not display the gallery avatar on pg social. It works fine when you upload a file. But avatars already on your forum in gallery avatars do not show up.

phxinternational commented 4 years ago

@Mightymax44 check your end if this is happening with you. Try out gallery avatar, select one and see if that shows in your pg social avatar box. Uploading an avatar works. But when I select one from the phpbb gallery of avatars it does not display.

You seem to be the one running this extension for the moment lol hope you can find what the fix is with it.

Mightymax44 commented 4 years ago

@phxinternational For me when i upload avatar, i have problem with stockage if it works i have no publish on the wall and not send to gallery avatar else if publish on the wall and send to gallery avatar, it's not change on phpbb and pgsocial. But for me it's not necessary so I deactivate this function. i investigate where is the problem, sorry for moment i can't help you...

phxinternational commented 4 years ago

@Mightymax44 are you having problems uploading ordinary avatars. Or is your problem with the page avatar only?

Leinad4Mind commented 3 years ago

With last version I got an SQL error uploading an avatar. But it appears on the profile on the Last photos section. But it doesnt change the profile picture...

SQL ERROR [ mysqli ]

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' bbcode_bitfield, bbcode_uid, bbcode_options, post_parent, post_where, wall_id, ' at line 1 [1064]

SQL

INSERT INTO t32_pg_social_wall_post (, bbcode_bitfield, bbcode_uid, bbcode_options, post_parent, post_where, wall_id, user_id, time, post_privacy, post_type, post_extra, tagged_user) VALUES ('', '', '', 0, 0, 0, 2, '2', 1611442397, 2, 1, 3, '')

BACKTRACE

FILE: (not given by php)
LINE: (not given by php)
CALL: msg_handler()

FILE: [ROOT]/phpbb/db/driver/driver.php
LINE: 997
CALL: trigger_error()

FILE: [ROOT]/phpbb/db/driver/mysqli.php
LINE: 196
CALL: phpbb\db\driver\driver->sql_error()

FILE: [ROOT]/phpbb/db/driver/factory.php
LINE: 329
CALL: phpbb\db\driver\mysqli->sql_query()

FILE: [ROOT]/ext/pgreca/pgsocial/social/social_photo.php
LINE: 668
CALL: phpbb\db\driver\factory->sql_query()

FILE: [ROOT]/ext/pgreca/pgsocial/social/social_photo.php
LINE: 632
CALL: pgreca\pgsocial\social\social_photo->add_status_photo()

FILE: [ROOT]/ext/pgreca/pgsocial/social/social_photo.php
LINE: 559
CALL: pgreca\pgsocial\social\social_photo->photo_query()

FILE: [ROOT]/ext/pgreca/pgsocial/event/listener.php
LINE: 565
CALL: pgreca\pgsocial\social\social_photo->photo_upload()

FILE: [ROOT]/vendor/symfony/event-dispatcher/EventDispatcher.php
LINE: 184
CALL: pgreca\pgsocial\event\listener->user_avatar_change()

FILE: [ROOT]/vendor/symfony/event-dispatcher/EventDispatcher.php
LINE: 46
CALL: Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 62
CALL: Symfony\Component\EventDispatcher\EventDispatcher->dispatch()

FILE: [ROOT]/phpbb/event/dispatcher.php
LINE: 46
CALL: phpbb\event\dispatcher->dispatch()

FILE: [ROOT]/phpbb/avatar/driver/upload.php
LINE: 224
CALL: phpbb\event\dispatcher->trigger_event()

FILE: [ROOT]/includes/ucp/ucp_profile.php
LINE: 663
CALL: phpbb\avatar\driver\upload->process_form()

FILE: [ROOT]/includes/functions_module.php
LINE: 676
CALL: ucp_profile->main()

FILE: [ROOT]/ucp.php
LINE: 433
CALL: p_master->load_active()