• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

3.6.0 => 3.6.1 upgrade failure

Status
Not open for further replies.

kenneth

Chevereto Member
Gets this message on site:

Fatal error [401]: Can't fopen cache file for writing
Triggered in /lib/G/classes/class.gettext.php at line 528

Stack trace:

#0 /lib/G/classes/class.gettext.php(162): G\Gettext->cache('file')
#1 /lib/G/classes/class.gettext.php(81): G\Gettext->parseFile()
#2 /app/lib/classes/class.l10n.php(166): G\Gettext->__construct(Array)
#3 /app/lib/classes/class.l10n.php(93): CHV\L10n:😛rocessTranslation('en')
#4 /app/lib/classes/class.l10n.php(102): CHV\L10n->__construct()
#5 /app/lib/classes/class.l10n.php(204): CHV\L10n::getInstance()
#6 /app/lib/classes/class.l10n.php(208): CHV\L10n::getStatic('available_languages')
#7 /app/lib/functions.php(309): CHV\L10n::getAvailableLanguages()
#8 /app/lib/functions.php(305): CHV\get_available_languages()
#9 /app/lib/functions.render.php(109): CHV\get_language_used()
#10 /app/themes/Peafowl/header.php(2): CHV\Render\get_lang_html_tags()
#11 /lib/G/functions.render.php(30): include('/app/themes/Peafowl/header.php')
#12 /lib/G/functions.render.php(34): G\Render\include_theme_file('header')
#13 /app/themes/Peafowl/views/index.php(2): G\Render\include_theme_header()
#14 /lib/G/classes/class.handler.php(360): require_once('/app/themes/Peafowl/views/index.php')
#15 /lib/G/classes/class.handler.php(140): G\Handler->loadTemplate()
#16 /app/loader.php(330): G\Handler->__construct(Array)
#17 /index.php(20): include_once('/app/loader.php')


And from apache error log:

[Wed Apr 15 23:12:53 2015] [error] [client 81.91.114.111] PHP Fatal error: Uncaught exception 'G\\GettextException' with message 'Can't fopen cache file for writing' in /path/public_html/lib/G/classes/class.gettext.php:528\nStack trace:\n#0 /path/public_html/lib/G/classes/class.gettext.php(162): G\\Gettext->cache('file')\n#1 /path/public_html/lib/G/classes/class.gettext.php(81): G\\Gettext->parseFile()\n#2 /path/public_html/app/lib/classes/class.l10n.php(166): G\\Gettext->__construct(Array)\n#3 /path/public_html/app/lib/classes/class.l10n.php(93): CHV\\L10n:😛rocessTranslation('en')\n#4 /path/public_html/app/lib/classes/class.l10n.php(102): CHV\\L10n->__construct()\n#5 /path/public_html/app/lib/classes/class.l10n.php(204): CHV\\L10n::getInstance()\n#6 /path/public_html/app/lib/classes/class.l10n.php(217): CHV\\L10n::getStatic('gettext')\n#7 in /path/public_html/lib/G/classes/class.gettext.php on line 528

Uploaded all affected files. Any ideas?
 
That is because since 3.6.1 there are translations cache so there must be writting permission on app/content/languages/cache. Anyway, I will add a catch to prevent messages like those.
 
Last edited:
Thanks! I will look at it after work.

Btw, sorry for posting in wrong section. It was supposed to be in tech support
 
Status
Not open for further replies.
Back
Top