GFI Software

Welcome to the GFI Software community forum! For support please open a ticket from https://support.gfi.com.

Home » GFI User Forums » GFI HelpDesk » Error when upload logo
Error when upload logo [message #148577] Thu, 20 August 2020 23:15 Go to next message
WeHoDo is currently offline  WeHoDo
Messages: 12
Registered: August 2018
Hi,

I have installed the Helpdesk via the manual and everything looks working.
But when uploading a new logo, I got this error:

===
Uncaught Exception
AutoExecute Query: AutoExecute Query: INSERT swfiles (array (
'filename' => 'file_plqukii23gh6oii.png',
'originalfilename' => 'logo-helpdesk.png',
'dateline' => 1597957820,
'expiry' => false,
'filehash' => 'csc1hjd0gsb1xjd3hg0cpjd42erdijd5',
'subdirectory' => false,
)) in ./__swift/library/Database/class.SWIFT_Database.php:607
============================================================ ============================================================ =========

#0 ./__swift/models/FileManager/class.SWIFT_FileManager.php(213 ): SWIFT_Database->AutoExecute('swfiles', Array, 'INSERT')
#1 ./__swift/apps/base/library/Template/class.SWIFT_TemplateMan ager.php(86): SWIFT_FileManager::Create('/tmp/phpmpNiXV', 'logo-helpdesk.p...', false)
#2 ./__swift/apps/base/admin/class.Controller_TemplateManager.p hp(298): Base\Library\Template\SWIFT_TemplateManager->UpdateHeaderImage('supportcenter', 'logo-helpdesk.p...', '/tmp/phpmpNiXV')
#3 ./__swift/library/MVC/class.SWIFT_Controller.php(385): Base\Admin\Controller_TemplateManager->PersonalizeSubmit()
#4 ./__swift/library/App/class.SWIFT_App.php(174): SWIFT_Controller::Load(Object(SWIFT_Interface), Object(Base\SWIFT_App_base), Object(SWIFT_Router), NULL)
#5 ./__swift/library/class.SWIFT.php(16): SWIFT_App->ExecuteController(Object(SWIFT_Router))
#6 ./__swift/library/class.SWIFT.php(16): SWIFT->Initialize()
#7 ./__swift/swift.php(17): SWIFT::GetInstance()
#8 ./admin/index.php(29): require_once('/var/www/vhosts...')
#9 {main}

===

What to do in this case?

Thank you.
Re: Error when upload logo [message #148579 is a reply to message #148577] Fri, 21 August 2020 10:14 Go to previous message
ian.bugeja is currently offline  ian.bugeja
Messages: 666
Registered: March 2017
Location: Malta
Did you disable MySQL Strict Mode?

https://manuals.gfi.com/en/helpdesk/admin/content/faqs/155.d isabling-mysql-strict-mode-on-the-server.htm


Ian Bugeja
GFI Software
Previous Topic: GFI HelpDesk is available through GFI
Next Topic: on Customer Reply - Notify Group or Assoc. Staff
Goto Forum:
  


Current Time: Tue Aug 16 03:40:23 CEST 2022

Total time taken to generate the page: 0.02837 seconds