I get an error message "something went wrong" while posting an image on newsfeed. I have tried on several device same issue. I even restarted Apache, mysql,myphp services, still issues. How can I fix this issue?
Please see https://www.opensource-socialnetwork.org/wiki/view/1101/how-to-report-a-bug-error and follow CASE B
I was able to increase size now to 128k. I even deleted all files and reinstalled system. Still getting same error when posting an image. Anyway to fix this?
Now here is the error in log:
[14-Oct-2021 02:07:20 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 16384 bytes) in /home/thesocialonline/public_html/classes/OssnImage.php on line 177
You need to ask your system administrator to increase php memory limit.
I have a total of 4gb only using 30% memory
It appears your server have not enough memory. 33554432byes = 32MB which is not that enough for the operation to complete. Also it depends on size of image you trying to upload.
This is the ossnimage.php file
Here is the error log, I have deleted the fakeuser components. lo :
[10-Oct-2021 12:05:35 UTC] Com Installer Error: Former component is still in place
[10-Oct-2021 12:16:26 UTC] PHP WARNING: 2021-10-10 12:16:26 (UTC): "Invalid argument supplied for foreach()" in file /home/thesocialonline/public_html/components/FakeUsers/plugins/default/settings/administrator/FakeUsers/settings.php (line 37)
[13-Oct-2021 01:46:42 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 16384 bytes) in /home/thesocialonline/public_html/classes/OssnImage.php on line 177
[13-Oct-2021 01:46:59 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 16384 bytes) in /home/thesocialonline/public_html/classes/OssnImage.php on line 177
[13-Oct-2021 01:47:30 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 16384 bytes) in /home/thesocialonline/public_html/classes/OssnImage.php on line 177
.
If you mean that popup box then that means your server has returned an error for that request which need to be checked more deeply the cause of error. Did you tried to enable error log and actually see what's going on there after that box appears?
Due to the many requests in the past for additonal features and components we have decided to develope a premium version. Features like Hashtags, Videos, Polls, Events, Stories, Link Preview, etc included in it.
$199 (Life Time)