Jump to content

Pop pickup for ticket system no longer working on Windows


rodolphe

Recommended Posts

Hello all,

 

I run the latest version of WHMCS on a Windows 2008 R2 server.

 

The tickets are picked up through POP3 from two mailboxes: accounts and help

 

The pickup is done through by the pop.php file, using a scheduled task that runs every 5 minutes, as follows:

 

c:\php\php.exe -q C:\inetpub\wwwroot\whmcs\crons\php.php

 

Since Monday morning, our helpdesk tickets are no longer picked up. As you can see from the below screenshot, it correctly reads the accounts mailbox (and picks up emails from it still). It also correctly authenticates to the help mailbox as it's able to read the number of emails in it, but it is NOT picking them up:

 

whmcs.PNG

 

At the suggestion of the help team at WHMCS, I've created a test department which picks up from a gmail account. I've been assured that this would be automatically picked up from the pop.php script. As you see above it doesn't show at all.

 

I have also received the following response from WHMCS about this:

 

Hello,

It looks like your execution time is set extremely low, at 5 seconds which is causing the issue. When I run the pop.php script in my web browser I am seeing this error (with Display Errors enabled):

Fatal error: Maximum execution time of 5 seconds exceeded in C:\inetpub\wwwroot\whmcs\includes\ticketfunctions.php on line 2097152

I recommend upping this limit to at least 30 seconds, if not more to see if that helps allow us to get it to connect to Gmail to test with.

If you have any other issues or questions please let us know.

 

I don't know where to change the "execution time" and haven't read from them since yesterday night when I asked the question (I'm based in the UK, they're in the US so this allows for time difference).

 

This is getting increasingly critical for us, can anyone help at all?

Thanks in advance,

Rodolphe

Link to comment
Share on other sites

Solved.

 

After looking at php.ini, CGI and other places, the issue turned out to be a problematic email in the mailbox preventing the POP pickup to work.

 

Emptying the mailbox ended up being the solution. I guess I should have started with that.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated