Kayako logo
Installation & Upgrading Questions and issues regarding the installation and upgrade procedure of SupportSuite, eSupport and LiveResponse.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
mopa Offline
Member
 
mopa's Avatar
 
Posts: 134
Join Date: May 2007
Location: Denmark
installing a copy into a subfolder? - 23-04-2008, 02:04 PM

Acording to this thread:
subdomain installtion
I have now been confirmed that it should work and it is allowed.

My question is now have anyone tried this?

I have no problem with
• copying all the files from the root to a subfolder.
• Creating a new database and editing the config.php

I have tried to put the setup folder back into the new subfolder and then run a new installation in the subfolder and I have tried to just copy/paste the database as well... both resultet the same way.

When copying the database I have also:
• gone into settings to change the path of the installtion so all the links would point in the right direction.

This is when it all goes wrong.

When creating the mail parser in the copy it does not work.
I can see via the parser that the mail is actually received somehow but it does not show anywhere.
And I have gone through all the setting a million times.
Is there any where that I could have forgotten to make a change.
If I add the very same mail parser in the original kayako (at the root) it works fine.
I can receive tickets through the website of cause but not throug email.

Any help would be very much appreciated


Kayako: 3.11.01 | PHP: 5.2.3 | MySQL: 5.0.41 | Windows 2003 Server

Last edited by mopa; 23-04-2008 at 02:06 PM.
   
Reply With Quote
  (#2) Old
Siora Offline
Member
 
Siora's Avatar
 
Posts: 1,300
Join Date: Apr 2007
Location: Toronto Canada
23-04-2008, 02:16 PM

could it be that your root install is parsing the mail and removing it from the mail server? If its no longer on the mail server then your subdomain installation won't have anything to parse.


Siora Solutions Inc.
www.sioraIT.com
   
Reply With Quote
  (#3) Old
mopa Offline
Member
 
mopa's Avatar
 
Posts: 134
Join Date: May 2007
Location: Denmark
23-04-2008, 03:04 PM

I don't think so because if I run
/cron/index.php?_t=parser
on the subfolder installtion it actually finds the mail but it does not show in the system.

It's almost like the mail is directed to a non existing department or something like that???

I have double checked that though:
• The staff user I use have access to see the department
• The department it should parse it to exist and is the right one.
• I'm using POP3


Kayako: 3.11.01 | PHP: 5.2.3 | MySQL: 5.0.41 | Windows 2003 Server
   
Reply With Quote
  (#4) Old
jaigupta Offline
Member
 
jaigupta's Avatar
 
Posts: 75
Join Date: Apr 2008
23-04-2008, 03:32 PM

I tried the same with new installation and it worked.

Do you have php warnings/errors on? This might help to debug. Also, can you post what output you get with /cron/index.php?_t=parser&debug=1


Jai Gupta
   
Reply With Quote
  (#5) Old
mopa Offline
Member
 
mopa's Avatar
 
Posts: 134
Join Date: May 2007
Location: Denmark
23-04-2008, 03:39 PM

I have gotten some of these in the error log:

PHP Code:
[23-Apr-2008 13:44:18PHP Warning:  in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument in C:Inetpubwwwrootkayakotest2modulescorefunctions_settings.php on line 116 
and some of these

PHP Code:
[23-Apr-2008 16:41:24PHP Warning:  imap_open() [<a href='function.imap-open'>function.imap-open</a>]: Couldnt open stream {rute443.domiain.internal:110/pop3/notls}INBOX in C:Inetpubwwwrootkayakotestmodulesparsercron_parser.php on line 84 

If I send a mail I get this from the parser:

Total Messages in Inbox: 1
Fetching Msg Num: 1
Account is POP3
Fetching Msg UID: 1
1 Total Messages
Rejected Messages: 0
Accepted Messages: 1

/ I changed the actual domain name in the last php code


Kayako: 3.11.01 | PHP: 5.2.3 | MySQL: 5.0.41 | Windows 2003 Server
   
Reply With Quote
  (#6) Old
jaigupta Offline
Member
 
jaigupta's Avatar
 
Posts: 75
Join Date: Apr 2008
23-04-2008, 03:43 PM

This looks like a problem with your settings of email.

Are you using pop3 or imap?

May we see output of your phpinfo()?


Jai Gupta
   
Reply With Quote
  (#7) Old
mopa Offline
Member
 
mopa's Avatar
 
Posts: 134
Join Date: May 2007
Location: Denmark
23-04-2008, 03:48 PM

Indeed you may.

PHPInfo:
phpinfo()

I'm using POP3

Well I'm off work now - So I will try to go home now not thinking about Kayako until tomorrow

But really appreciate all the help

Keep up this nice Kayako society of great helping hands!!!


Kayako: 3.11.01 | PHP: 5.2.3 | MySQL: 5.0.41 | Windows 2003 Server
   
Reply With Quote
  (#8) Old
jaigupta Offline
Member
 
jaigupta's Avatar
 
Posts: 75
Join Date: Apr 2008
23-04-2008, 03:55 PM

You may like to open a support ticket. Keep us updated.


Jai Gupta
   
Reply With Quote
  (#9) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,566
Join Date: Aug 2006
Location: Mumbai, India
23-04-2008, 10:53 PM

Does the software record anything in the parser log under:
Admin CP > Mail Parser > Parser Log?



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#10) Old
mopa Offline
Member
 
mopa's Avatar
 
Posts: 134
Join Date: May 2007
Location: Denmark
24-04-2008, 07:25 AM

Solved it.I actually didn't know that there were any parser log in the admin so we were looking in the includes/functions_cron.php that lead us to modules/parser/functions_parsercore.php that again lead us to the table in the database called swparserlog - when we had a look at that it showed us this:

Result: No assigned queues found for mail recipients

It turned out that when using an internal email address to send from it was set up wrong in the exchange so the "reply address" was different than the "from address" so it did not work.

We also commented out this line in the php.ini:

doc_root = "C:\Inetpub\wwwroot\domian\"

But thank you all for helping.


Kayako: 3.11.01 | PHP: 5.2.3 | MySQL: 5.0.41 | Windows 2003 Server
   
Reply With Quote
  (#11) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,566
Join Date: Aug 2006
Location: Mumbai, India
24-04-2008, 07:35 AM

Good to know the issue is resolved



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#12) Old
mopa Offline
Member
 
mopa's Avatar
 
Posts: 134
Join Date: May 2007
Location: Denmark
29-04-2008, 12:47 PM

We have had some mayor problem with getting the mails parsed in the "copy" of kayako in the subfolder.

We have a wget command to run the parser every minute and it seems like the only solution to get it working is to run the parser for the subfolder as the first one - without any clue to how this is???

So instead of running it like this:
localhost/cron/index.php?_t=parser
localhost/test/cron/index.php?_t=parser

We had to reverse it:
localhost/test/cron/index.php?_t=parser
localhost/cron/index.php?_t=parser

Without knowing why this seems to be working.


Kayako: 3.11.01 | PHP: 5.2.3 | MySQL: 5.0.41 | Windows 2003 Server
   
Reply With Quote
  (#13) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,566
Join Date: Aug 2006
Location: Mumbai, India
29-04-2008, 08:42 PM

IMO both should work fine. Not sure how you have configured the task scheduler though. Can you post screenshots?



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#14) Old
mopa Offline
Member
 
mopa's Avatar
 
Posts: 134
Join Date: May 2007
Location: Denmark
30-04-2008, 08:45 AM

I have a schedule runing the "k-1" once every minute.
What it does is that it calls the wget to run the "k-2"

If I had the root running first it did not work(k-2), so I put the test first and it seemed to be working. But it might be some spam filter as well that tricks it a bit (can be hard to get everything working in a big company sometimes - when the IT department don't tell you everything there is to it

Basically there shouldn't be any difference in how the priority is with the k-2 so I guess that it is not Kayako but the internal IT-department and there settings that makes it difficult.
Attached Images
File Type: jpg k-1.jpg (4.7 KB, 2 views)
File Type: jpg k-2.jpg (29.4 KB, 3 views)


Kayako: 3.11.01 | PHP: 5.2.3 | MySQL: 5.0.41 | Windows 2003 Server
   
Reply With Quote
Reply

Tags
copy, installing, subfolder

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
Leave a copy of the email on the server MH-Stefan How do I? 4 27-03-2007 08:24 AM
Installing Kayako Please Help!! XcaleZe Installation & Upgrading 2 30-09-2006 06:47 AM
What to do if I want to copy the KB to another installation? Xeserve Developers & Code 0 26-08-2006 03:20 PM
Need Help Installing MySQL & PHP on Windows 2003 with IIS 6 sjvtech Installation & Upgrading 3 20-04-2006 01:17 AM



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