This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit ezplatform.com

eZ Community » Forums » Developer » No template cache if eZDBException...
expandshrink

No template cache if eZDBException throwed

No template cache if eZDBException throwed

Saturday 13 September 2014 4:46:10 am - 3 replies

Hi all,

I am using a bad hosting (hostmonster shared hosting).

The server is so bad that sometime the ramdisk is full (100% used) and Ez Publish give me errors like:

Query error (1030): Got error 28 from storage engine.
Query error (126): Incorrect key file for table '/ramdisk/mysql/tmp/#sql_417d_1.MYI'; try to repair it
Query error (1030): Got error -1 from storage engine.

---

The problem is that templates are cached and sometime, my website has no contents or partial contents.
Theses logs are created by /lib/ezdb/classes/ezmysqlidb.php on line 405.

Anyone know if there is a way to disable template cache when the eZDBException is throwed?

Thank you

Modified on Saturday 13 September 2014 4:55:13 am by Vincent GUYARD

Saturday 13 September 2014 6:52:36 am

Hello Vincent,

I'm sorry your having trouble. Indeed it is very important to pick the right web host for use with eZ.

To my knowledge (I'm sorry) there is no way to "disable template cache when the eZDBException is thrown". 

I'm not even sure you could do such a thing with kernel hacks.

I did find this thread on a somewhat related topic, http://share.ez.no/forums/developer/catching-the-exceptions

Perhaps someone with more experience in this regard can speak up with another suggestion.

I hope this helps ... I wish you the very best in your search for a solution ... or rather a better web host.

Cheers,
Heath 

Thursday 25 September 2014 6:51:44 pm

Thank you Heath for your answer ... I think i will change my hosting provider blunk.gif Emoticon

Vincent

Thursday 25 September 2014 7:42:28 pm

Hello Vincent,

It sounds like your making the right choice.

As hard as it may be I think you can do better with another host.

Cheers,
Heath

Modified on Friday 26 September 2014 2:59:40 am by // Heath

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from