Title: [Plugin: NextGEN Gallery] Syntax error
Last modified: August 19, 2016

---

# [Plugin: NextGEN Gallery] Syntax error

 *  [janepity](https://wordpress.org/support/users/janepity/)
 * (@janepity)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-syntax-error/)
 * Hi,
 * I uploaded the latest version of the plugin, but when I activate it, I become
   the following error message:
 * “Parse error: syntax error, unexpected ‘.’ in /homepages/14/d283865867/htdocs/
   wordpress/wp-content/plugins/nextgen-gallery/nggfunctions.php on line 274”
 * Any fix?
 * Thanks

Viewing 11 replies - 1 through 11 (of 11 total)

 *  [Alex Rabe](https://wordpress.org/support/users/alexrabe/)
 * (@alexrabe)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-syntax-error/#post-1669311)
 * Try to delete the plugin folder and reload it
 *  Thread Starter [janepity](https://wordpress.org/support/users/janepity/)
 * (@janepity)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-syntax-error/#post-1669510)
 * I tried it, and when I click on “activate” the next page comes always with the
   message “Error 500 – Internal server error
 * Ein interner Fehler ist aufgetreten!
    Bitte versuchen Sie es zu einem späteren
   Zeitpunkt.”
 * I tryed it sometimes, but it doesn’t work.
 * Any idea how to fix this?
 * Thanks.
 *  [Alex Rabe](https://wordpress.org/support/users/alexrabe/)
 * (@alexrabe)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-syntax-error/#post-1669555)
 * Must be a server issue at your side, maybe ask your hoster what goes wrong (error
   logs)
 *  Thread Starter [janepity](https://wordpress.org/support/users/janepity/)
 * (@janepity)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-syntax-error/#post-1669558)
 * So I thought, but it doesn’t happen with the other plugins. The whole WP crashes
   with this message when the plugin folder is there, and comes to normal when I
   delete it.
 * Anyway, I will try a solution from the server too.
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-syntax-error/#post-1669604)
 * Internal server errors are often caused by plugin or theme function conflicts,
   so if you have access to your admin panel, try deactivating all plugins. If you
   don’t have access to your admin panel, try [manually resetting your plugins](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F).
   If that resolves the issue, reactivate each one individually until you find the
   cause.
 * If that does not resolve the issue, access your server via [FTP or SFTP](http://codex.wordpress.org/FTP_Clients),
   navigate to `/wp-content/themes/` and rename the directory of your currently 
   active theme. This will force the Default theme (WordPress 1.5 – 2.9.2) or the
   Twenty Ten theme (WordPress 3.0 and higher) to activate and hopefully rule-out
   a theme-specific issue.
 * If that does not resolve the issue, it’s possible that a `.htaccess` rule could
   be the source of the problem. To check for this, access your server via FTP or
   SFTP and rename the `.htaccess` file. If you can’t find a `.htaccess` file, make
   sure that you have set your FTP or SFTP client to view invisible files.
 * If you weren’t able to resolve the issue by either resetting your plugins and
   theme or renaming your .htaccess file, we may be able to help, but we’ll need
   a more detailed error message. Internal server errors are usually described in
   more detail in the server error log. If you have access to your server error 
   log, generate the error again, note the date and time, then immediately check
   your server error log for any errors that occurred during that time period. If
   you don’t have access to your server error log, ask your hosting provider to 
   look for you.
 *  Thread Starter [janepity](https://wordpress.org/support/users/janepity/)
 * (@janepity)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-syntax-error/#post-1669605)
 * Now I can’t even connect to the plugins page. The same error messagem appears
   just when I click on “plugins”, so I can’t reset them.
 * I tried renaming the theme – didn’t work. I tried renaming .htaccess. didn’t 
   work. I used a theme called “paperblock” and edited it (css and html) to redesing
   it.
 * Where and how do I get the “server error log”?
 * Thanks for the help.
 * Jane
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-syntax-error/#post-1669606)
 * > Now I can’t even connect to the plugins page. The same error messagem appears
   > just when I click on “plugins”, so I can’t reset them.
 * The second half of the first paragraph in the above reply, “If you don’t have
   access to your admin panel, try [manually resetting your plugins](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F).
   If that resolves the issue, reactivate each one individually until you find the
   cause.”
 * > Where and how do I get the “server error log”?
 * The last sentence in the above reply, “If you don’t have access to your server
   error log, ask your hosting provider to look for you.”
 *  Thread Starter [janepity](https://wordpress.org/support/users/janepity/)
 * (@janepity)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-syntax-error/#post-1669653)
 * The host provider says: no error logs are generated by them. They can’t be activated
   or observed. The error messages mean occupied space and there are limits for 
   that. It says:
 * The following limits are technicaly defined for scripts that run on our webserver:
 * – Process can only take max. 10 seconds
    – Processes can only take max. 32 megabyte
   space – Max. 24 Processes can run at the same time.
 * Does this help? Original text in German below. Thanks
 * es werden seitens 1&1 keine error Logs mitgeführt.
    Diese sind auch nicht aktivierbar
   oder hinzubuchbar.
 * Die Fehlermeldung deutet auf Speichermangel hin.
    Hier können Sie die Limits 
   einsehen: [http://hilfe-center.1und1.de/hosting/scripte_datenbanken/3.html](http://hilfe-center.1und1.de/hosting/scripte_datenbanken/3.html)
 * Freundliche Grüße
 * Axel Tombrink
    Kundenservice 1&1 WebHosting
 * Text from the link:
 * Folgende Einschränkungen sind technisch für Skripte festgelegt, welche von Ihnen
   auf unseren Webservern ausgeführt werden:
    * Prozesse dürfen max. 10 Sekunden
   Rechenzeit beanspruchen * Prozesse dürfen max. 32 Megabyte Speicher belegen *
   Es dürfen max. 24 Prozesse gleichzeitig laufen
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-syntax-error/#post-1669654)
 * Have you tried manually resetting your plugins yet?
 *  Thread Starter [janepity](https://wordpress.org/support/users/janepity/)
 * (@janepity)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-syntax-error/#post-1669664)
 * Yes, I have. The admin panel comes to normal, I can access the plugins page, 
   but I still can’t activate the plugin.
 *  Thread Starter [janepity](https://wordpress.org/support/users/janepity/)
 * (@janepity)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-syntax-error/#post-1669716)
 * I still didn’t find a solution for the problem. The host company says the same
   message above. Any other hint where can find a solutin or what should I try? 
   Thanks

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘[Plugin: NextGEN Gallery] Syntax error’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 11 replies
 * 3 participants
 * Last reply from: [janepity](https://wordpress.org/support/users/janepity/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-nextgen-gallery-syntax-error/#post-1669716)
 * Status: not resolved