Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted April 4Apr 4 When I try to upload a new file in the downloads system, a page appears that says "Something went wrong. Please try again.".The image I am including with the uploaded zip file is a standard JPEG.System log reveals this error:InvalidArgumentException: (0) #0 /home/xxxxxx/public_html/community/system/File/File.php(1578): IPS\_Image::create('????\x00\x10JFIF\x00\x01\x01\x01\x00...') #1 /home/xxxxxx/public_html/community/applications/downloads/modules/front/downloads/submit.php(336): IPS\_File->thumbnail('downloads_Scree...') #2 /home/xxxxxx/public_html/community/system/Helpers/Wizard/Wizard.php(181): IPS\downloads\modules\front\downloads\_submit->IPS\downloads\modules\front\downloads\{closure}(Array) #3 /home/xxxxxx/public_html/community/applications/downloads/modules/front/downloads/submit.php(685): IPS\Helpers\_Wizard->__toString() #4 /home/xxxxxx/public_html/community/system/Dispatcher/Controller.php(107): IPS\downloads\modules\front\downloads\_submit->submit() #5 /home/xxxxxx/public_html/community/applications/downloads/modules/front/downloads/submit.php(35): IPS\Dispatcher\_Controller->execute() #6 /home/xxxxxx/public_html/community/system/Dispatcher/Dispatcher.php(153): IPS\downloads\modules\front\downloads\_submit->execute() #7 /home/xxxxxx/public_html/community/index.php(13): IPS\_Dispatcher->run() #8 {main}Backtrace:#0 /home/xxxxxx/public_html/community/init.php(1049): IPS\_Log::log('InvalidArgument...', 'uncaught_except...') #1 /home/xxxxxx/public_html/community/system/Helpers/Wizard/Wizard.php(227): IPS\IPS::exceptionHandler(Object(InvalidArgumentException)) #2 /home/xxxxxx/public_html/community/applications/downloads/modules/front/downloads/submit.php(685): IPS\Helpers\_Wizard->__toString() #3 /home/xxxxxx/public_html/community/system/Dispatcher/Controller.php(107): IPS\downloads\modules\front\downloads\_submit->submit() #4 /home/xxxxxx/public_html/community/applications/downloads/modules/front/downloads/submit.php(35): IPS\Dispatcher\_Controller->execute() #5 /home/xxxxxx/public_html/community/system/Dispatcher/Dispatcher.php(153): IPS\downloads\modules\front\downloads\_submit->execute() #6 /home/xxxxxx/public_html/community/index.php(13): IPS\_Dispatcher->run() #7 {main}This behavior is new since I upgraded from IPB 4.2 to 4.7.20. I am thinking it is probably best to resolve any issues before moving forward with the upgrade to v5.I also tried reverting to the default forum theme, but it made no difference.All required information is included in the client area. Edited April 4Apr 4 by Interferon
April 7Apr 7 Community Expert Are you happy for me to test an upload anywhere on your system? Just asking as Im fully aware you are heavily integrated with downloads
April 7Apr 7 Author Yes, you may go ahead and try it. It won't hurt anything, but even if it does, all users with access to this feature understand they have opted into a beta and they expect bumps. Edited April 7Apr 7 by Interferon
April 7Apr 7 Community Expert Please downgrade PHP to 8.1 as you're running an incompatible PHP version.