ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Typography fatal error

January 19, 2010 8:59am

Subscribe [3]
  • #1 / Jan 19, 2010 8:59am

    Wil Linssen

    49 posts

    This question may be related to a resolved thread.

    I was also getting a fatal error similar to

    Fatal error: Typography::require_once() [function.require]: Failed opening required ‘./admin/plugins/pi..php’ (include_path=’.:’) in /var/www/vhosts/projects.somewebsite.org/httpdocs/admin/core/core.typography.php on line 475

    After many hours of banging my head against the wall I wiped the blood off and edited the core file thus:

    in ‘/system/core/core.typography.php’ on line 472, I’ve altered the line from

    if ( ! class_exists($plugin))

    to…

    if ( ! class_exists($plugin) && !empty($plugin) )

    That sorts it, nasty solution but I was at my wits end.

  • #2 / Jan 19, 2010 9:29am

    Sue Crocker

    26054 posts

    Hi, Wil. I honestly haven’t fiddled with this, so I’ll ask the dev team for clarification. Thanks in advance for your patience.

  • #3 / Jan 19, 2010 9:38am

    Wil Linssen

    49 posts

    It’s no problem Sue, no doubt it’s one of the plugins I’m using, so for their reference here’s the list:

    * Find and Replace (v.1.3)
    * LG Multi Language (v.1.1.0)
    * Pages – Nested Menu (v.1.1.9)
    * Word Limiter (v.1.0)
    * Character Limiter (v.1.0)
    * Image Sizer (v.2.5.6)
    * Textile (v.1.1.1 (2.0.0 r2779))
    * EE Gravatar (v.1.4)
    * HTML Stripper (v.1.0.1)
    * XML Encode (v.1.2)
    * Randomizer (v.1.0)
    * Magpie RSS Parser (v.1.4)

    The error only occurs on one template and when I comment out one of the custom fields the error goes away. The snag is probably something to do with the language stuff because it’s only on the homepage for a sub language (http://mydomainname.com/ar/)

    I’m happy with the fix for now, it’s just never nice to hack the core.

  • #4 / Jan 19, 2010 4:52pm

    Ingmar

    29245 posts

    I agree, it’s probably one of the plugins. If you want to trace this down, you’d probably have to disable them one by one, and possibly reduce the complexity of your templates(s). Alternatively, since everything seems to be working normally again, we can call it a day and close this one out 😊 Your call.

  • #5 / Jan 19, 2010 4:55pm

    Wil Linssen

    49 posts

    Yea, close it out 😉 might be a useful thread for someone else as a quick fix.

  • #6 / Jan 19, 2010 5:01pm

    Ingmar

    29245 posts

    I agree 😊 Please post again as needed.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases