1. Kayako Download customers: we will continue to develop and support Kayako Download beyond July 2017, alongside the new Kayako for existing customers.

    Find out more.

  2. The forum you are viewing relates to Kayako Classic. If you signed up or upgraded to the new Kayako (after the 4th July 2016), the information in this thread may not apply to you. You can visit the forums for the new Kayako here.

Error " Uncaught Exception"

Discussion in 'Installation and setup (Kayako Classic Download)' started by Ivan Petrov, Mar 17, 2015.

  1. Ivan Petrov

    Ivan Petrov Member

    Hi
    During installation I saw error

    Uncaught Exception
    Invalid data provided22 in ./__swift/library/TemplateEngine/class.SWIFT_TemplateEngine.php:1137
    Copy to clipboard:
    Uncaught Exception
    Invalid data provided22 in ./__swift/library/TemplateEngine/class.SWIFT_TemplateEngine.php:1137
    =================================================================================================================================

    #0 ./__swift/library/TemplateEngine/class.SWIFT_TemplateEngine.php(113): SWIFT_TemplateEngine->LoadTemplateGroup(false)
    #1 ./__swift/library/TemplateEngine/class.SWIFT_TemplateEngine.php(844): SWIFT_TemplateEngine->__construct(1)
    #2 ./__swift/library/class.SWIFT.php(265): SWIFT_TemplateEngine::LoadEngine()
    #3 ./__swift/library/class.SWIFT.php(396): SWIFT->Initialize()
    #4 ./__swift/swift.php(124): SWIFT::GetInstance()
    #5 ./index.php(28): require_once('/home/supportne...')
    #6 {main}

    How can I fix error? 222.png
     
  2. Saurabh Singla

    Saurabh Singla Kayako Staff

    Hi Ivan,

    The error suggests that the database of the help desk is empty. You would need to make sure that you have installed the help desk by accessing the URL: http://yourhelpdesk_domain/setup/ and then installed it correctly.

    In case without proceeding with the setup, you access the help desk URL, this error is encountered.

    I hope this helps.

    Regards,

    Saurabh Singla
     
  3. Ivan Petrov

    Ivan Petrov Member

    Thanks
    I wrote installation page www.mydomain.com only, without /setup
    :)
     
    Saurabh Singla likes this.
  4. Alvaro WE

    Alvaro WE New Member

    My problem it is I access to http://mydomain.com and keep getting the exception message :( ....no setup menu at all i shown :(
     
  5. Alvaro WE

    Alvaro WE New Member

    Excuse me ! I meant I access http://mydomain.com/setup and Exception keep showing.

    My setup dir contains just

    -rw-rw-r-- 1 myuser myuser 695 jun 8 11:49 console.setup.php
    -rw-rw-r-- 1 myuser myuser 696 may 28 08:21 console.upgrade.php
    -rw-rw-r-- 1 myuser myuser 1086 may 28 08:21 favicon.ico
    -rw-rw-r-- 1 myuser myuser 626 may 28 08:21 index.php


    I Do not Have a clue for such wrong behaviour :(
     
  6. Gary McGrath

    Gary McGrath Staff Member

    Hi there, make sure you have configured the config.php file within __swift\setup with the details to connect to your MySQL database. ( you also need to rename it from config.php.new to config.php )

    Gary
     
  7. Alvaro WE

    Alvaro WE New Member

    I do not have same directory hierarcy as I see. Me I have

    __swift/config/config.php

    Properly configured (otherwise error message tells you not able to connect to db)

    Besids, my setup dir is a at Kayako4 root dir, not under __swift. Anyway I've tested it like that, so trying to the URLs

    http://mydomain.com/setup
    http://mydomain.com/__swift/setup (strange to me ....but just in case)

    ANd the error message

    Invalid data provided22 in ./__swift/library/TemplateEngine/class.SWIFT_TemplateEngine.php:1096​

    keeps showing.

    Must be something else which I am completely unable to find out
     
  8. Gary McGrath

    Gary McGrath Staff Member

    Hi there,

    If you create a ticket at support.kayako.com we can take a look at it for you to see where you have gone wrong :)

    Gary
     
  9. umer shahzad

    umer shahzad New Member

    i am facing the same isssue please any help
     

Share This Page