Jump to content

Nelson_JTNSolutions

Member
  • Posts

    4
  • Joined

  • Last visited

Everything posted by Nelson_JTNSolutions

  1. So figured I would chime in since I was having this problem. Specifically, for Cloudflare. I had to add their IPs to WHMCS as Trusted Proxies System Settings > General Settings > Security Tab. In the **Trusted Proxies** list, I put all of the CIDR IPs from Cloudflare's own website. You can just copy and paste in the xxx.xxx.xxx.xxx/xx (CIDR IP) into WHMCS and add. It works fine like that. https://www.cloudflare.com/ips/ After that, I changed the "Proxy IP Header" to "X_FORWARDED_FOR". Seems to be working now. I originally was getting logged out every 2 minutes or so. If that. I hope this helps someone as I spent a while trying to find an answer. Also, quickly add those IPs because you might get timed out before finishing. Just log back in and repeat as quickly as possible. Once you hit "Add" and save the IP it actually saves right then. Even though you didn't click the save button at the bottom of the Security Tab
  2. I just read the replies. I'm curious if anyone knows anyway to actually correct the issue without having to fully reinstall WHMCS. I did take a database backup so I should be good as far as that goes. I really don't want to go through the hassle of reinstalling WHMCS. I rather just fix it without having to spend hours fixing the error. My error is Fatal error: Class 'Illuminate\Container\Container' not found in /var/www/****/public_html/vendor/whmcs/whmcs/vendor/whmcs/whmcs-foundation/lib/Container.php on line 0
  3. Corrected the issue myself. I had to specify my php path and add root as the user. So the new job looks like this * * * * * root /usr/bin/php -q /var/www/*myhost*/public_html/crons/cron.php Thats what corrected my error. I hope this can help someone if they have this same problem.
  4. This has had me and my IT stumped. Hes been busy so I need to get this fixed myself. I'm not entirely sure what is happening or how to fix it. I am very new to linux so I will try whatever you suggest but remember that I don't understand some of the terminology. As for what I've done, I made sure the crond service was running. I ended up getting this error when restarting the service. crond[9437]: (php) ERROR (getpwnam() failed) What I have in the cronjob file is: * * * * * php -q /var/www/*myhost*/public_html/crons/cron.php Any help is appreciated.
×
×
  • 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