Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR!!! HRConvert2-3: Could not set the execution timer! #69

Open
techdash opened this issue Apr 24, 2024 · 1 comment
Open

ERROR!!! HRConvert2-3: Could not set the execution timer! #69

techdash opened this issue Apr 24, 2024 · 1 comment

Comments

@techdash
Copy link

techdash commented Apr 24, 2024

I am getting this error after installing it on my live server. I changed php.ini settings but still the error is coming! I have a VPS with Ubuntu 22 and PhP 8.1.2 .

@zelon88
Copy link
Owner

zelon88 commented May 22, 2024

I honestly have no recourse for that.

The execution timer ensures that scripts do not run indefinatly. If they did, due to some crash or error, the hanging processes on the server could quickly cosume all available resources on the server and effectively DDOS the server. The execution timer is a function of Apache2 that prevents a faulty PHP script from running forever.

Resetting the execution timer is the first thing HRConvert2 does. It does this because if it has been called by another application using the require() or include() functions then those previous applications would have consumed a portion of the available execution time.

In addition to the reasons provided in Documentation\ERROR_DESCRIPTIONS.txt this could be casued by;

  1. PHP is in safe mode. To fix this, run sudo featherpad /etc/php/8.0/apache2/php.ini and then search the file for safe_mode and make sure that it is set to Off then run sudo service apache2 restart to restart Apache and have the change take effect.

  2. You may have forgotten to reboot the computer, or restart apache after installing HRConvert2. To fix this, run sudo service apache2 restart

  3. Actual corruption, as suggested by Documentation\ERROR_DESCRIPTIONS.php. This is a very unusual error to have. To fix this, first make sure your whole stack is up to date.

Please give the proposed solutions in section 1 and 2 a shot, and let me know the result.

If all else fails you can just open convertCore.php and comment out the following line.....
if (!$TimeReset) die('ERROR!!! HRConvert2-3: Could not set the execution timer!');

To comment out this line, add // in front at the beginning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants