Jump to content

Recommended Posts

Hello! 

I am trying to update WHMCS from 7.6.1 to 7.7.1. But I am continuously facing a fatal error, it says,

'A fatal error occurred while fetching the update.
Please check to make sure your memory limits and execution time are set to the recommended values.'

I have a memory limit set to 256M and max execution time set to 600. I have tried multiple times but didn't help.

Can anyone help what thing I might be ignoring? Any suggestion will be a great help.

thank you.

 

Share this post


Link to post
Share on other sites
3 hours ago, IamAQ said:

Can anyone help what thing I might be ignoring? Any suggestion will be a great help.

I take it that you get your license from a reseller and therefore don't have access to download.whmcs.com ? if you do have access, then i'd recommend getting the v7.7.1 full version .zip and using that to complete the update.

when this occurred in February, did you just give up trying to update ?

even if you get your license from elsewhere, you can still receive support from WHMCS.

Share this post


Link to post
Share on other sites
5 hours ago, brian! said:

 when this occurred in February, did you just give up trying to update ?

I did try multiple time. But didn't understand where the problem lies. 😞

Share this post


Link to post
Share on other sites
5 hours ago, brian! said:

I take it that you get your license from a reseller and therefore don't have access to download.whmcs.com ? if you do have access, then i'd recommend getting the v7.7.1 full version .zip and using that to complete the update.

 

yes, we get it from a reseller. Can you please guide how can I complete the update from .zip files of version 7.7.1

Share this post


Link to post
Share on other sites
4 hours ago, IamAQ said:

yes, we get it from a reseller. Can you please guide how can I complete the update from .zip files of version 7.7.1

@IamAQ please ask your license provider to give you a copy of the full 7.7.1 installation files

  • Thanks 1

Share this post


Link to post
Share on other sites
17 hours ago, steven99 said:

Basically take backup

just to expand on that - it's best (safer) to take backup of both files & database... it's what steven meant, I just thought it needed specifying clearly. 🙂

  • Thanks 1

Share this post


Link to post
Share on other sites

Thank you all for all your support.
I have just uploaded the updated files, and now my website is having a 'Down for Maintenance' message.
What I do now? I think it is because my database is still having a record for the previous version.? but not sure!

How do I resolve this? 😞

 

Share this post


Link to post
Share on other sites
2 minutes ago, IamAQ said:

How do I resolve this?

first step is to work through the help page below...

https://www.whmcs.com/members/index.php/knowledgebase/186/Iandsharp039m-seeing-a-Down-for-Maintenance-error-when-accessing-my-WHMCS-admin-area.html

Quote

Whilst the WHMCS software is being updated, a "Down for Maintenance" message is displayed This prevents any changes being made to the data whilst the upgrade is in progress.

The software detects whether an upgrade is in progress by comparing the version of the PHP files against the version number stored in the database. If the two do not match, the maintenance message is displayed.

Should this message appear at any other time, it suggests that the PHP file version does not match the database version. To resolve this:

  • Open the init.php and cart.php files using your preferred text editor
  • At the top of the file the version number is displayed
  • Then using a tool such as phpmyadmin, browse the WHMCS MySQL database and select the tblconfiguration table
  • Look for the Version and note down the value

If the PHP files are from a newer version of WHMCS than the database, upload the /install directory and run the upgrade process.

If the database is from a newer version of WHMCS than the PHP files, upload the full release version files from the corresponding version. The files can be downloaded from http://download.whmcs.com

Once the appropriate remedial steps have been taken to match the file and database versions, WHMCS will load as normal.

Share this post


Link to post
Share on other sites
8 minutes ago, brian! said:

If the PHP files are from a newer version of WHMCS than the database, upload the /install directory and run the upgrade process.

 

may you please elaborate this step? how can I run the upgrade process? 
 

Share this post


Link to post
Share on other sites
4 minutes ago, IamAQ said:

may you please elaborate this step? how can I run the upgrade process? 

run the installer, e.g https://www.domain.com/whmcs/install/install.php and you'll begin the upgrade process (basically it will be updating the database to v7.7.1 settings)...

hh2YM3n.png

that screenshot is from your actual site, so the installer is already there... 🙂

just work your way through the steps (including taking backups!) and once complete, you will be asked to delete the install directory and everything should be updated...

  • Thanks 1

Share this post


Link to post
Share on other sites

Thank you so much @brian! for all your support and cooperation. I have finally updated the whmcs successfully, It would not be possible without your help.

thanks again 😊

 

  • Thanks 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

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