WordPress.org

Support

Support » Plugins and Hacks » CRITICAL BUG – 'RuntimeException thrown', whole site down

CRITICAL BUG – 'RuntimeException thrown', whole site down

Viewing 15 replies - 1 through 15 (of 23 total)
  • Petr Veprek
    Member

    @petrveprek

    Same here. Using WordPress 3.5.2. Adding myself to this thread for follow-up messages.

    Plugin Author photocrati
    Participant

    @photocrati

    @josefp2, @petr – I’ve send this over to our developers. Activation errors like this are going straight to the top of the list.

    Did either of you, by chance, install and test one of the NextGEN 2.0 betas on the WordPress instances where you are seeing this error?

    Thanks,
    Erick

    JosefP2
    Member

    @josefp2

    Dear Eric,

    thank you for quick response. I did not install anything except the official updates available. I always checked to have the up-to-date version whenever WordPress notified me.

    Best Regards,
    Josef

    Plugin Author photocrati
    Participant

    @photocrati

    Would either of you be willing to send us credentials for your site so we can see what’s going on? If not, that’s OK. But having them will allow us to solve this much more quickly.

    If you want to submit credentials, you can consider doing so via our bug report form here:

    http://www.nextgen-gallery.com/report-bug/

    Please note in your report that we asked you for credentials. That just goes directly to an email for our tech support and developers.

    Thanks,
    Erick

    datenwerk
    Participant

    @datenwerk

    The problem is in class.fs.php’s function join_paths(). The array_unique function will crop the path wrong if there is a word twice in the correct path.

    Short workaround for me was removing array_unique from this function and in class.mvc_view.php’s find_template_abspath() remove the first argument of join_paths().

    Dear photocrati members please check if this solution will work in all cases.

    kind regards
    Melanie

    dwsmart
    Member

    @dwsmart

    datenwerk’s solution worked for me. Many thanks

    krzysiekh
    Member

    @krzysiekh

    I got similar error, but in other location
    wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/widget/templates/display_gallery.php is not a valid MVC template

    Got it right after update few minutes ago.

    jayant26
    Member

    @jayant26

    Hi datenwerk,

    Could you possibly tell us which files to edit and lines please?

    Much appreciated.

    markcorder
    Member

    @markcorder

    Same here – my site has crashed with this error :

    ” … public_html/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_basic_singlepic/templates/nextgen_basic_singlepic.php is not a valid MVC template ”

    admin_purmersteijn
    Member

    @admin_purmersteijn

    Same her – our site also has this error

    “var/www/domains/purmersteijn.eu/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_addgallery_page/templates/upload_images.php is not a valid MVC template”

    Internus
    Member

    @internus

    @datenwerk: When I remove the first argument in function join_paths(), it has no effect :-/

    So this solution didn’t help me.

    datenwerk
    Participant

    @datenwerk

    2 changes are required:

    1. in nextgen-gallery/products/photocrati_nextgen/modules/fs/class.fs.php l. 281 remove array_unique call

    $retval = array_merge($retval, preg_split('/[\/\\\]/', $segment));

    2. in nextgen-gallery/products/photocrati_nextgen/modules/mvc/class.mvc_view.php comment or remove l. 243

    $retval = $fs->join_paths(
      //$fs->get_document_root(),
      $this->object->get_registry()->get_module_dir($module),
      $settings->mvc_template_dirname,
      $path
    );
    admin_purmersteijn
    Member

    @admin_purmersteijn

    I’ve changed above settings and now it’s working better, but I get the below error in the widget NextGen Slideshow.

    “Slideshows require the Flash Player and a browser with Javascript support.”

    I’ve tried it in IE, Chrome and Firefox, and all three gives the same error.

    Internus
    Member

    @internus

    @datenwerk: It works fine! Thumbs up! Thank you so much…

    jjenkins300
    Member

    @jjenkins300

    My site crashed and shows these messages.

    Warning: is_readable() [function.is-readable]: open_basedir restriction in effect. File(D:\Inetpub\apollosunguard/wp-content/plugins/D:\Inetpub\apollosunguard\wp-content\plugins\nextgen-gallery\lang/nggallery-en_US.mo) is not within the allowed path(s): (D:\;C:\php5;C:\Temp;C:\Windows\Temp) in D:\Inetpub\apollosunguard\wp-includes\l10n.php on line 339

    Warning: require_once(D:\Inetpub\apollosunguard\wp-content\plugins\nextgen-gallery/wordpress_helpers.php) [function.require-once]: failed to open stream: No such file or directory in D:\Inetpub\apollosunguard\wp-content\plugins\nextgen-gallery\nggallery.php on line 122

    Fatal error: require_once() [function.require]: Failed opening required ‘D:\Inetpub\apollosunguard\wp-content\plugins\nextgen-gallery/wordpress_helpers.php’ (include_path=’.;c:\PHP5′) in D:\Inetpub\apollosunguard\wp-content\plugins\nextgen-gallery\nggallery.php on line 122

    I have attached the link for reference: http://apollosunguard.com/

    How may I correct this?

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘CRITICAL BUG – 'RuntimeException thrown', whole site down’ is closed to new replies.