Menu

Ticket Creation from eMails

Pranali
2014-07-29
2014-08-01
  • Pranali

    Pranali - 2014-07-29

    Hello All ,

    I m trying to configure creation of tickets from email.

    following this document.

    https://wiki.openitop.org/doku.php?id=ticket_creation_from_emails.

    but i m getting an error

    PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/mysqlnd.so' - /usr/lib/php5/20090626+lfs/mysqlnd.so: cannot open shared object file: No such file or directory in Unknown on line 0
    Starting: 1406628182 (2014-07-29 12:03:02)
    Protocol: IMAP Mail server: imap.gmail.com, port: 143, login: xxxx@gmail.com, password: xxxx, mailbox: , options: /imap
    PHP Fatal error: Call to undefined function imap_open() in /var/www/web/env-production/combodo-email-synchro/model.email-synchro.php on line 777.

    Am i missing something here , please anyone help me on this.

     
  • TheBigOne

    TheBigOne - 2014-07-29

    Maybe you miss to install the php-imap package ;)

    ->>>>> Call to undefined function imap_open()
    Which means, php doesn`t know the imap_open function.

     
    • Pranali

      Pranali - 2014-07-30

      Thanks for the reply TheBigOne.

      i installed php-imap package.

      but still i m getting an error

      PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/mysqlnd.so' - /usr/lib/php5/20090626+lfs/mysqlnd.so: cannot open shared object file: No such file or directory in Unknown on line 0
      Could not open input file: cron.php

      what i m missing here?

       
  • Ladislav Kudláček

    You miss native driver mysqlnd.so.
    You try to install this driver.

    In Ubuntu/debian:
    apt-get install php5-mysqlnd

    In Red hat/fedora/centos
    yum install php-mysqlnd

    In Windows I don`t know but certainly somehow simply :)

    After an installing you don`t forget restart the web server.

     

    Last edit: Ladislav Kudláček 2014-07-30
  • Pranali

    Pranali - 2014-07-30

    Thanks For The Reply Ladislav

    i installed php5-mysqlnd
    i restarted the web server

    but i m getting an error
    Could not open input file: cron.php.

     
  • Pranali

    Pranali - 2014-07-30

    Thanks BigOne and ladislav now i m able to create a ticket from email.

     
  • TheBigOne

    TheBigOne - 2014-07-30

    Hi,

    I think just for clarification of the solution. It seems to me that the path (or permission) to cron.php in the cron was just wrong.

     

    Last edit: TheBigOne 2014-07-30
  • Pranali

    Pranali - 2014-07-31

    I din't got u BigOne , Now i m trying to automatically create ticket , without fetching manually , but i m not getting it .

    i followed this step.

    https://wiki.openitop.org/doku.php?id=admin:cron

    Please anyone help me on this?

     
  • TheBigOne

    TheBigOne - 2014-07-31

    Hi Pranali,

    you should post your cron entry and param file (without your passwords) and check the path to your cron.php in your cron entry.
    The cron user should be root (as described in doc)

    You can run the command manually and check the output.

    /usr/bin/php /[PATH_TO_ITOP_WEBSERVICES]/cron.php --param_file=[PATH_TO_CONF]/params

     
  • Pranali

    Pranali - 2014-07-31

    I don't have cron.param file , i have 3 cron file i.e cron.php , cron.cmd , cron.distrib.

    In which file i should edit?

     
  • Pranali

    Pranali - 2014-08-01

    Thanks BigOne ,

    now i m able to create a ticket automatically .

    does any one knows how to fetch multiple mails?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.