Nextgen Gallery Plugin Fehler

  • Hallo Zusammen

    ich habe eine Problem mit meiner Webseite mit dem Plugin Nextgen Gallery.
    Ich bekomme immer den Fehler: /home/httpd/vhosts/wallis-solar.ch/httpdocs/wp-content/plugins/nextgen-gallery/nggallery.php on line 477

    Hat mir jemand einen tip wie ich das reparieren kann?

    • Anzeige

    Hallo!

    Wenn du gerade an deiner Website arbeitest oder dein aktuelles Hosting überdenkst: Wir betreiben mit NetzLiving eine Hosting-Plattform, die speziell auf Performance, Sicherheit und einfache Verwaltung ausgelegt ist.

    • ✔️ Schnelle Ladezeiten (optimiert für WordPress & Co.)
    • ✔️ Deutsche Server & DSGVO-konform
    • ✔️ Persönlicher Support (kein 0815-Ticket-System)

    Mehr erfahren

  • Das ist nicht die ganze Fehlermeldung. Bitte ergänzen und dann auch gleich mitteilen welche PHP Version Du nutzt.

    WordPress ist "frei" wie in Freiheit es zu nutzen, aber nicht im Sinne von Freibier. Wer also glaubt man bekommt rund um WordPress alles kostenlos, der irrt. Hilfe ist ein Geschenk für das man sich bedankt, dafür gibt es den 'Gefällt mir' Button. Wer das nicht kann und sich selbst nicht zu helfen weiss, muss sich bezahlte Unterstützung suchen.

  • Hier ist die ganze meldung:

    Parse error: syntax error, unexpected end of file, expecting ',' or ';' in /home/httpd/vhosts/wallis-solar.ch/httpdocs/wp-content/plugins/nextgen-gallery/nggallery.php on line 477

    Ich benutze die PHP Version 5.4.31

    Hier noch was in den nggallery.php steht.

    http://wordpress.org/download/source/
    <?php
    /*
    * User Role Editor WordPress plugin options page
    *
    * @Author: Vladimir Garagulya
    * @URL: http://role-editor.com
    * @package UserRoleEditor
    *
    */


    ?>
    <div class="wrap">
    <a href="http://role-editor.com">
    <div id="ure-icon" class="icon32"><br></div>
    </a>
    <h2><?php esc_html_e('User Role Editor - Options', 'ure'); ?></h2>


    <div id="ure_tabs" style="clear: left;">
    <ul>
    <li><a href="#ure_tabs-1"><?php esc_html_e('General', 'ure');?></a></li>
    <?php
    if (!$license_key_only) {
    if ($this->lib->is_pro() || !$this->lib->multisite) {
    ?>
    <li><a href="#ure_tabs-2"><?php esc_html_e('Additional Modules', 'ure'); ?></a></li>
    <?php
    }
    ?>
    <li><a href="#ure_tabs-3"><?php esc_html_e('Default Roles', 'ure'); ?></a></li>
    <?php
    if ( $this->lib->multisite && ($this->lib->is_pro() || is_super_admin()) ) {
    ?>
    <li><a href="#ure_tabs-4"><?php esc_html_e('Multisite', 'ure'); ?></a></li>
    <?php
    }
    }
    ?>
    <li><a href="#ure_tabs-5"><?php esc_html_e('About', 'ure');?></a></li>
    </ul>
    <div id="ure_tabs-1">
    <div id="ure-settings-form">
    <form method="post" action="<?php echo $link; ?>?page=settings-<?php echo URE_PLUGIN_FILE; ?>" >
    <table id="ure_settings">
    <?php
    if (!$license_key_only) {
    ?>
    <tr>
    <td>
    <input type="checkbox" name="show_admin_role" id="show_admin_role" value="1"
    <?php echo ($show_admin_role == 1) ? 'checked="checked"' : ''; ?>
    <?php echo defined('URE_SHOW_ADMIN_ROLE') ? 'disabled="disabled" title="Predefined by \'URE_SHOW_ADMIN_ROLE\' constant at wp-config.php"' : ''; ?> />
    <label for="show_admin_role"><?php esc_html_e('Show Administrator role at User Role Editor', 'ure'); ?></label></td>
    <td>
    </td>
    </tr>
    <tr>
    <td>
    <input type="checkbox" name="caps_readable" id="caps_readable" value="1"
    <?php echo ($caps_readable == 1) ? 'checked="checked"' : ''; ?> />
    <label for="caps_readable"><?php esc_html_e('Show capabilities in the human readable form', 'ure'); ?></label></td>
    <td>
    </td>
    </tr>
    <tr>
    <td>
    <input type="checkbox" name="show_deprecated_caps" id="show_deprecated_caps" value="1"
    <?php echo ($show_deprecated_caps == 1) ? 'checked="checked"' : ''; ?> />
    <label for="show_deprecated_caps"><?php esc_html_e('Show deprecated capabilities', 'ure'); ?></label></td>
    <td>
    </td>
    </tr>
    <tr>
    <td>
    <input type="checkbox" name="edit_user_caps" id="edit_user_caps" value="1"
    <?php echo ($edit_user_caps == 1) ? 'checked="checked"' : ''; ?> />
    <label for="edit_user_caps"><?php esc_html_e('Edit user capabilities', 'ure'); ?></label></td>
    <td>
    </td>
    </tr>

    <?php
    }
    do_action('ure_settings_show1');
    ?>
    </table>
    <?php wp_nonce_field('user-role-editor'); ?>
    <input type="hidden" name="ure_tab_idx" value="0" />
    <p class="submit">
    <input type="submit" class="button-primary" name="ure_settings_update" value="<?php _e('Save', 'ure') ?>" />
    </p>


    </form>
    </div>
    </div> <!-- ure_tabs-1 -->
    <?php
    if (!$license_key_only) {
    if ($this->lib->is_pro() || !$this->lib->multisite) {
    ?>

    <div id="ure_tabs-2">
    <form name="ure_additional_modules" method="post" action="<?php echo $link; ?>?page=settings-<?php echo URE_P

    Einmal editiert, zuletzt von stefu123 (16. März 2015 um 11:13)

  • Hat niemand eine Idee wie ich das beheben kann??

    Ich habe nun das Plugin nochmals herundergeladen und nur die nggallery.php ersetzt.
    Nun bekomme ich diese Meldungn:

    Fatal error: Class 'C_Photocrati_Cache' not found in /home/httpd/vhosts/wallis-solar.ch/httpdocs/wp-content/plugins/nextgen-gallery/nggallery.php on line 176

    Weis mir jemand Rat?

    Einmal editiert, zuletzt von stefu123 (16. März 2015 um 13:22)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!