WebCalendar update times out

Asked by:
bartonboley@yahoo.com / 34 Points
Time:
2014-01-02 1:13 pm EST
Category:
Website Troubleshooting
Hits:
155
I try to do a simple System Setting update and it times out with the below message:

Fatal error: Maximum execution time of 120 seconds exceeded in /home/drill45/public_html/webcalendar/includes/dbi4php.php on line 817

To ask this user for more information, please first login.

To submit an answer, please login.

The change attempted above was to make the calendar public. I tried to do a different change and got the below error.

Error removing temporary file.

The permissions for the following directory do not support the db_cachedir option in includes/settings.php:

/tmp
bartonboley@yahoo.com
34 Points
2014-01-02 03:14 pm EST
Hello,

The error that you're encounter with WebCalendar regarding the db_cachedir option can be corrected by updating the settings.php file mentioned in the error.

Currently you should see this setting:

db_cachedir: /tmp

You'd want to change this to:

db_cachedir: /home/userna5/tmp

Making sure that userna5 matches your cPanel username.

That way the WebCalendar software will use your own account's /tmp directory, which your user has full permissions to, instead of the server-wide /tmp directory.

Were you also still having issues with the dbi4php.php script timing out as well?

- Jacob
JacobN
3,661 Points
2014-01-02 03:32 pm EST

ANSWERS

0

JeffMa
Staff
2,055 Points
2014-01-02 1:55 pm EST
From taking a look at your logs, it looks like this software may be causing a conflict with mod_security, thus preventing scripts that it requires to load. I recommend disabling mod_security to resolve the issue.

To submit a comment on this answer, please first login.

I've disabled it and still get the same time out issue.
bartonboley@yahoo.com
34 Points

2014-01-02 3:01 pm EST
Thanks Jacob, that fixed me up.
bartonboley@yahoo.com
34 Points

2014-01-02 4:37 pm EST
Hello again,

Glad that worked for you! Let us know if you're having any further issues.

- Jacob
JacobN
3,661 Points
Staff
2014-01-02 5:57 pm EST
Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.