Jump to content

Site crash after 5.2.14 (missing class.phpmailer.php)


criat

Recommended Posts

Immediately after the update I got this error:

 

Warning: main(/home/crweb/public_html/includes/class.phpmailer.php) [function.main]: failed to open stream: No such file or directory in /home/crweb/public_html/includes/functions.php on line 0

Fatal error: main() [function.require]: Failed opening required '/home/crweb/public_html/includes/class.phpmailer.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/crweb/public_html/includes/functions.php on line 0

 

Then I created an file named class.phpmailer.php and added this content

 

Now the error is:

 

Warning: main(/home/crweb/public_html/includes/licensefunctions.php) [function.main]: failed to open stream: No such file or directory in /home/crweb/public_html/dbconnect.php on line 0

Warning: main() [function.include]: Failed opening '/home/crweb/public_html/includes/licensefunctions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/crweb/public_html/dbconnect.php on line 0

Catchable fatal error: Argument 1 passed to WHMCS_TokenManager::init() must be an instance of WHMCS_Init, instance of WHMCSCore given, called in /home/crweb/public_html/includes/functions.php on line 0 and defined in /home/crweb/public_html/includes/classes/class.TokenManager.php on line 0

 

Luckly I have the backup, I'll just stick to 5.2.12 for a while.

Link to comment
Share on other sites

Maybe there are issues with full version (files missing)? I would put in a ticket to WHMCS, and ask why the file isn't there.

 

I did an incremental update from 5.2.12 to 5.2.13, then to 5.2.14. It is very easy to just copy over the files in the incremental updates.

 

There were security issues found in 5.2.12. However, to my understanding, only one of them was publicly disclosed, and to exploit it you needed to be able to login to the admin area as an admin. The rest were found as part of the ongoing security audit. However, if they can be found in a security audit, they can eventually be found by hackers and made known, publicly. So, in my opinion, it always best to be on the latest version. Especially, since this is billing software and contains sensitive information about your clients, business, and finances. You don't want to wake up one morning to find your system has been hacked.

 

- - - Updated - - -

 

I just downloaded the full 5.2.14 version, and see the class.phpmailer.php in the includes folder. Maybe some files didn't make it over to your server when you uploaded them?

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