Jump to content


Level 2 Member
  • Content count

  • Joined

  • Last visited

  • Days Won


mustardman last won the day on October 20 2017

mustardman had the most liked content!

Community Reputation

12 Good

About mustardman

  • Rank
    Level 2 Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. mustardman

    POP3 Connection Error

    Perhaps you didn't null the output? php -q /home/mysite/whmcs_crons/pop.php >/dev/null 2>&1 With the ">/dev/null 2>&1" added you will not get the "Mailbox is empty" messages every 5 minutes. You will still get errors like the POP3 connection error. I am here because we also started getting the POP3 connection error messages after we upgraded to 7.6. We use gmail and it's not like we can do anything about it on that end. I sure hope someone finds a solution because these messages are going to be annoying.
  2. mustardman

    Where are attachments stored

    Ok thanks. When I backup restored to another server I never restored attachments folder because it is outside of the webfolder. So I had to go to my old backups to get the attachments.
  3. mustardman

    Where are attachments stored

    I am trying to open an attachment from an older ticket. It won't open. Just says file now found. I also tried logging in as client. Newer tickets don't seem to have a problem. So maybe it's because of the ticket age for some reason. I really need to get that attachment. If I can find it directly in the DB maybe I can download it and open it from there. But I can't find where attachments are stored.
  4. Works reliably for me. When you first set it up you usually have to visit the following link and enable less secure apps. https://www.google.com/settings/security/lesssecureapps You also sometimes needed to disable captcha during the first login attempt although not sure if it's still the case. https://accounts.google.com/displayunlockcaptcha Also, it appears that google is now more aggressive in blocking new sign in attempts from addresses it does not recognize. So if you log in to the google account after you try connect from WHMCS you may see a security warning asking you to verify and accept the unknown login attempt.
  5. To eliminate templates as a possible cause, try to do it by accessing a standard template directly. So add the following to the end of your URL &systpl=standard_cart Also, WHMCS built in Stripe module has a problem imo. I consider it a bug but they apparently do not. If the default payment method is set to PayPal (I am assuming the same applies to any alternate payment method), then WHMCS tries to save credit card numbers locally instead of on Stripe. I believe it can also generate errors like what you are seeing because the last 4 digits of the Stripe stored number are saved locally and show up in that change credit card view, however, I do not think it tries to update the remote information when the default payment method is set to something else and then you get that error. That is not how it worked with the 3rd party ServerPing Stripe module which never had this problem. This seems to be a PCI compliance issue but WHMCS doesn't seem to think so. Probably not related to your problem if you have default payment method for the customer set to Stripe.
  6. Emails from @outlook.com email addresses appear to work ok as well. Only Hotmail seems to have this problem. I have tried from more than one Hotmail email address.
  7. I use POP3 importing from Goggle apps/Gmail. It has always worked perfectly including importing Hotmail emails. Now it detects the Hotmail email message body as an attachment. I am pretty sure this started happening after I upgraded to v7.3.0. Nothing else has changed with my POP3 import settings or my Gmail. The email is received by Gmail normally. So it is definitely the POP3 import step that is detecting it incorrectly. Looking in Utilities > Logs > Ticket Mail Import Log the email message is as follows: To: support@mydomain.com From: SomeCustomer . «somecustomer@hotmail.com» Subject: test Status: Ticket Imported Successfully No message found. Attachment 96B5B672B4202643B016FE6C21CCF77B@namprd22.prod.outlook.com.plain blocked - file type not allowed. If I allow .plain email attachments in Setup > General Settings > Support > Allowed File Attachment Types, I receive the above email with message body "no message" with the message body contained in an attachment in the ticket which I can then open and read. So the POP3 Mail importer is incorrectly detecting the Hotmail message body as an attachment. This only appears to happen with Hotmail. I have tried sending messages from Gmail and from other mail systems that are not Gmail or Hotmail and they all seem to work.
  8. I finally got to the bottom of this. My environment uses different php.ini files depending on whether php is run from Apache or from CLI. WHMCS uses the php.ini file used by Apache. However, phpmailer (included with WHMCS) apparently uses the php.ini file used when php is run from CLI. When I change the max memory in the php.ini file that the CLI environment uses then phpmailer uses that memory limit. You can check the php.ini file used by CLI by running the following command php --ini
  9. For anyone else having this problem. It appears to be related to /vendor/phpmailer/phpmailer/class.smtp.php. It appears to be ignoring php.ini `memory_limit=256M` and using the PHP default of 128M even though WHMCS and phpinfo(); show that php is max memory is set to 256M and there is still plenty of spare physical memory. I figured it out by running the cron without the -q or the >/dev/null 2>&1 which then caused cron to send the out of memory error message to root. The error occurs on line 655 $lines = explode("\n", str_replace(array("\r\n", "\r"), "\n", $msg_data)); The workaround is to add the following line just before line 655 ini_set('memory_limit','256M'); That will get overwritten every time WHMCS updates that file so it's just a workaround.
  10. Are you using a custom template? Have you tried with a standard template to see if the problem is still there? You can direct link to templates with URL for testing So try as follows https://yoururl/yoursuburl/supporttickets.php?systpl=six
  11. Is this the troubleshooting guide you used? Did you check your email piping cron as per that guide? https://docs.whmcs.com/Email_Piping
  12. I spend far too much time on upgrading WHMCS. Mostly because of custom templates. On one hand, it's nice to see constant improvements. On the other, it's a PiTA when customized templates that have to be constantly re-customized. The changes from v6 to v7 were particularly painful. All the templates I used to use were discontinued.
  13. I think I had a similar problem awhile back and WHMCS told me to delete that upgrade7.x*.sql file which solved the problem for me. In that case it was because it was trying to update a version that never existed in the wild or was removed afterwards. It may not be the same problem. It was awhile ago in v7.1.x times and I many not be recalling the details correctly. I accept no responsibility for what may happen.
  14. mustardman

    ticket notifications

    Do you have the separate cron job running? https://docs.whmcs.com/Email_Piping
  15. mustardman

    Down for Maintenance (Err 3)

    I second this. It's big and scary looking in v7. At least change the font size back to what it was in v6.

Important Information

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