Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
watchhead Posted September 1, 2016 Posted September 1, 2016 Hello All, I wonder if anyone can help as this one has me stumped. Our forum has had the Gallery application available for a while now but, with the recent problems with Photobucket (is anyone else experiencing some PB hotlinks not displaying images in posts?) we have seen usage of the Gallery increase among our members. The Gallery itself works fine. The issue is when some users want to insert one of their gallery items into a topic / reply using the 'insert other media' ¦ 'insert existing attachment' option, For some users, when they click on 'insert existing attachment' they receive a message from the forum saying 'Something went wrong. Please try again'. Other users can insert images from the gallery without any problems. In the system logs, I'm getting a 'Cannot Connect' error. The gallery images are set to be stored on a separate server to where the forum and forum DB is. In the logs, all of the storage server's details appear correct (server name, FTP username and password, etc). Below is the system log for the error, minus server names and passwords. The forum is updated to v4.1.14.2. Any help would be greatly appreciated. SYSTEM LOG: IPS\Ftp\Exception: COULD_NOT_CONNECT (0) #0 /var/www/vhosts/<forumdomain>/httpdocs/system/File/Ftp.php(239): IPS\_Ftp->__construct('ftp.<ftpaddress>....', '<FTPusername>', '<FTPPassword>', '21', false) #1 /var/www/vhosts/<forumdomain>/httpdocs/system/File/Ftp.php(330): IPS\File\_Ftp->ftp() #2 /var/www/vhosts/<forumdomain>/httpdocs/system/Theme/Theme.php(734) : eval()'d code(8337): IPS\File\_Ftp->filesize() #3 [internal function]: IPS\Theme\class_core_global_forms->uploadFile('http://www.the...', Object(IPS\File\Ftp), NULL, true, true, 'http://www.the...') #4 /var/www/vhosts/<forumdomain>/httpdocs/system/Theme/SandboxedTemplate.php(57): call_user_func_array(Array, Array) #5 /var/www/vhosts/<forumdomain>/httpdocs/system/Theme/Theme.php(734) : eval()'d code(966): IPS\Theme\_SandboxedTemplate->__call('uploadFile', Array) #6 /var/www/vhosts/<forumdomain>/httpdocs/system/Theme/Theme.php(734) : eval()'d code(966): IPS\Theme\SandboxedTemplate->uploadFile('http://www.thew...', Object(IPS\File\Ftp), NULL, true, true, 'http://www.thew...') #7 [internal function]: IPS\Theme\class_core_global_editor->myMediaResults(Array, '\n\n\t\n\t<ul class=...', Object(IPS\Http\Url\Internal), 'gallery_Images') #8 /var/www/vhosts/<forumdomain>/httpdocs/system/Theme/SandboxedTemplate.php(57): call_user_func_array(Array, Array) #9 /var/www/vhosts/<forumdomain>/httpdocs/system/Theme/Theme.php(734) : eval()'d code(922): IPS\Theme\_SandboxedTemplate->__call('myMediaResults', Array) #10 /var/www/vhosts/<forumdomain>/httpdocs/system/Theme/Theme.php(734) : eval()'d code(922): IPS\Theme\SandboxedTemplate->myMediaResults(Array, '\n\n\t\n\t<ul class=...', Object(IPS\Http\Url\Internal), 'gallery_Images') #11 [internal function]: IPS\Theme\class_core_global_editor->myMediaContent(Array, '\n\n\t\n\t<ul class=...', Object(IPS\Http\Url\Internal), 'gallery_Images') #12 /var/www/vhosts/<forumdomain>/httpdocs/system/Theme/SandboxedTemplate.php(57): call_user_func_array(Array, Array) #13 /var/www/vhosts/<forumdomain>/httpdocs/applications/core/modules/front/system/editor.php(283): IPS\Theme\_SandboxedTemplate->__call('myMediaContent', Array) #14 /var/www/vhosts/<forumdomain>/httpdocs/applications/core/modules/front/system/editor.php(283): IPS\Theme\SandboxedTemplate->myMediaContent(Array, '\n\n\t\n\t<ul class=...', Object(IPS\Http\Url\Internal), 'gallery_Images') #15 [internal function]: IPS\core\modules\front\system\_editor->myMedia() #16 /var/www/vhosts/<forumdomain>/httpdocs/system/Dispatcher/Controller.php(85): call_user_func(Array) #17 /var/www/vhosts/<forumdomain>/httpdocs/system/Dispatcher/Dispatcher.php(129): IPS\Dispatcher\_Controller->execute() #18 /var/www/vhosts/<forumdomain>/httpdocs/index.php(13): IPS\_Dispatcher->run() #19 {main} BACKTRACE #0 /var/www/vhosts/<forumdomain>/httpdocs/init.php(506): IPS\_Log::log('IPS\\Ftp\\Excepti...', 'uncaught_except...') #1 [internal function]: IPS\IPS::exceptionHandler(Object(IPS\Ftp\Exception)) #2 {main}
Boomer12 Posted September 2, 2016 Posted September 2, 2016 The Attachments are hosted on an FTP Server which is currently Not available or with wrong credentials. Please check this.
watchhead Posted September 3, 2016 Author Posted September 3, 2016 Yes, all was fine with the FTP connection, the problem was with some corrupted files within one of the Gallery folders. Sorted that and all works fine now.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.