Kayako logo
SupportSuite, eSupport and LiveResponse Discussion, troubleshooting and feedback related to Kayako's flagship support desk products SupportSuite, eSupport and LiveResponse.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
netjunkie Offline
New Member
 
Posts: 6
Join Date: Apr 2006
mail parser not working - 26-04-2006, 04:48 PM

I have installed Kayako v3 and qmail.

The problem I have is mail comes into qmail, and remains in the qmail queue, but wont go through the parser pipe.

I have installed Zend 3.0.0 and this goes throush smoothly. and when I check phpinfo I get this.

Configuration File (php.ini) Path /usr/local/Zend/etc/php.ini

but when i do: cli/index.php -h
it fails and I get this:
Quote:
====================
SWIFT CLI Debug
====================


(1) Check for Zend/ionCube Loader
(2) Exit

Please Type your Choice: 1
[ERROR]: Zend Optimizer
[ERROR]: ionCube Loader
So it seems the cli cant find zend. I have tired to check if mom_php is pointing to right place but could not figure out how to do this.
   
Reply With Quote
  (#2) Old
sebastian Offline
Member
 
Posts: 552
Join Date: May 2003
Location: Denmark
26-04-2006, 07:17 PM

Are you sure that you haven't only updated the php.ini for apache with the new Zend encoder, and missed the cgi php.ini?

Try and do a search for php.ini and see if your system has 2 of them.
   
Reply With Quote
  (#3) Old
netjunkie Offline
New Member
 
Posts: 6
Join Date: Apr 2006
CGI php.ini - 26-04-2006, 07:25 PM

I did not know there is such a thing as php.ini cgi.

Please advise where this is normally located.

when i do "whereis php" i get the following:

Quote:
php: /usr/bin/php /etc/php /etc/php.ini /usr/lib/php /usr/X11R6/bin/php /usr/bin/X11/php /usr/local/bin/php /usr/local/lib/php.ini /usr/include/php /usr/share/php /usr/share/man/man1/php.1.gz
Note that /usr/local/bin/php listed above is a symbolic link to /usr/bin/php.
   
Reply With Quote
  (#4) Old
sebastian Offline
Member
 
Posts: 552
Join Date: May 2003
Location: Denmark
26-04-2006, 07:32 PM

It depends on what linux version your server is running, but on debian you would have the followinng files.

/etc/php4/apache/php.ini
/etc/php4/cgi/php.ini
   
Reply With Quote
  (#5) Old
netjunkie Offline
New Member
 
Posts: 6
Join Date: Apr 2006
26-04-2006, 08:05 PM

the output of find php.ini is:
Quote:
./etc/php/cgi-php4/php.ini
./etc/php/apache2-php4/php.ini
./etc/php/apache2-php5/php.ini
./etc/php/cli-php4/php.ini
./etc/php/cli-php5/php.ini
./etc/php.ini
./usr/local/lib/php.ini
./usr/local/Zend/etc/php.ini
   
Reply With Quote
  (#6) Old
sebastian Offline
Member
 
Posts: 552
Join Date: May 2003
Location: Denmark
26-04-2006, 08:08 PM

There you go, now you only needa find the right one.

Must be one of these,
Code:
./etc/php/cli-php4/php.ini
./etc/php/cli-php5/php.ini
./etc/php/cgi-php4/php.ini
   
Reply With Quote
  (#7) Old
reDDevil Offline
New Member
 
Posts: 27
Join Date: Jun 2006
07-06-2006, 09:39 PM

What's wrong with my SWIFT CLI Debug? If I run ./index.php -h I get only this
Quote:
====================
SWIFT CLI Debug
====================


(1) Exit

Please Type your Choice:
Re-upload in ASCII format did not help.
   
Reply With Quote
  (#8) Old
Varun Shoor Offline
Chief Executive Officer
 
Varun Shoor's Avatar
 
Posts: 2,828
Join Date: May 2003
08-06-2006, 12:27 AM

Something is definately wrong here, Did you try to generate phpinfo.htm (note the .htm) as instructed in manually and inspect the output?

Regards,

Varun Shoor


Varun Shoor (varun.shoor ]at[ kayako.com)
----------------------------------------------------------------
---
   
Reply With Quote
  (#9) Old
reDDevil Offline
New Member
 
Posts: 27
Join Date: Jun 2006
14-06-2006, 10:37 AM

Seems for me that everything is OK with PHP settings:


Quote:
phpinfo()
PHP Version => 5.0.4

System => SunOS spinity 5.9 Generic_118559-09 i86pc
Build Date => Jun 8 2006 20:53:03
Configure Command => './configure' '--with-apxs' '--with-zlib' '--enable-memory-limit' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/lib' '--with-mysql=/usr/local/mysql' '--enable-libxml' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--with-libxml-dir=/usr/local' '--enable-spl' '--with-regex=php' '--with-apxs=/usr/local/apache/bin/apxs' '--disable-ipv6' '--prefix=/usr/local'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/local/Zend/etc/php.ini
Scan this dir for additional .ini files => /usr/local/lib
PHP API => 20031224
PHP Extension => 20041030
Zend Extension => 220040412
Debug Build => no
Thread Safety => disabled
IPv6 Support => disabled
Registered PHP Streams => php, file, http, ftp, compress.zlib
Registered Stream Socket Transports => tcp, udp, unix, udg


This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.0.4-dev, Copyright (c) 1998-2004 Zend Technologies
with Zend Extension Manager v1.0.10, Copyright (c) 2003-2006, by Zend Technologies
with Zend Optimizer v3.0.1, Copyright (c) 1998-2006, by Zend Technologies
If I press 1 (Exit) from the menu I get the following error:

Quote:
Please Type your Choice: 1
PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/home/support/swift.php on line 252
PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/home/support/swift.php on line 349
PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/home/support/swift.php on line 350
PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/home/support/includes/functions.php on line 1189
PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/home/support/includes/functions.php on line 1981
PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/home/support/includes/functions.php on line 1983
PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/home/support/includes/functions.php on line 2129
PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/home/support/includes/functions.php on line 2236
PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/home/support/includes/SmartyLight/class.template.php on line 717
PHP Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /usr/home/support/includes/SmartyLight/class.template.php on line 785
Segmentation Fault in 13642, waiting for debugger
I changed php.ini to remove warnings but Segmentation fault still appears.
Quote:

====================
SWIFT CLI Debug
====================
(1) Exit

Please Type your Choice: 1
Segmentation Fault in 14963, waiting for debugger
I tried to install it on another server with PHP 4.3.10 under FreeBSD but with the same result calling CLI debug with only another error:

Quote:
====================
SWIFT CLI Debug
====================
(1) Exit

Please Type your Choice: 1
<br />
<b>Fatal error</b>: main(): Failed opening required './swift.php' (include_path='.:/usr/local/share/pear') in <b>/pub/home/quadra10/htdocs/support/cli/index.php</b> on line <b>32</b><br />
quadra10@v41:~#
Here is the result of phpinfo.php from second server


Here is the result of phpinfo.htm. I do not know why Server API is "CGI" here instead of "Command Line Interface" like in phpinfo() for PHP CLI with PHP 5.0 as well as I do not know why PHP 5.0 generated .txt file after command /usr/local/bin/php phpinfo.php > phpinfo.htm while PHP 4.3.10 generated a real .htm file



Last edited by reDDevil; 14-06-2006 at 01:37 PM.
   
Reply With Quote
Reply

Tags
parser

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail Parser Not Working wholesalerwholesaler SupportSuite, eSupport and LiveResponse 1 16-01-2007 05:56 AM
POP3 Mail Parser not working - help ? webheads SupportSuite, eSupport and LiveResponse 12 13-07-2006 09:29 PM
Just set-up and Mail Parser isn't working MoleEnd SupportSuite, eSupport and LiveResponse 4 17-05-2006 02:05 PM



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46