Title: [Plugin: User Community] class.gallery_upload error
Last modified: August 19, 2016

---

# [Plugin: User Community] class.gallery_upload error

 *  [fetterov](https://wordpress.org/support/users/fetterov/)
 * (@fetterov)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/plugin-user-community-classgallery_upload-error/)
 * Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION
   or T_VAR or ‘}’ in /home/content/f/e/t/fetterov33/html/a.n.d/wp-content/plugins/
   alkivia/lib/class.gallery_upload.php on line 51
 * i get this error everytime i try to upload a profile image.
 * [http://wordpress.org/extend/plugins/alkivia/](http://wordpress.org/extend/plugins/alkivia/)

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

 *  [Txanny](https://wordpress.org/support/users/txanny/)
 * (@txanny)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/plugin-user-community-classgallery_upload-error/#post-1042516)
 * I guess you’re not using PHP 5. PHP 5 is required for this plugin. Obsolete PHP
   versions are not supported.
 * [http://wordpress.org/extend/plugins/alkivia/installation/](http://wordpress.org/extend/plugins/alkivia/installation/)
 *  [andre_d](https://wordpress.org/support/users/andre_d/)
 * (@andre_d)
 * [17 years ago](https://wordpress.org/support/topic/plugin-user-community-classgallery_upload-error/#post-1042704)
 * getting this error when uploading in WP 2.71 with php 5
 *     ```
       Warning: Division by zero in /whollyyoga/wp-content/plugins/alkivia/framework/class.upload.php on line 3182
   
       Warning: Division by zero in /whollyyoga/wp-content/plugins/alkivia/framework/class.upload.php on line 3182
       ```
   
 *  [Txanny](https://wordpress.org/support/users/txanny/)
 * (@txanny)
 * [17 years ago](https://wordpress.org/support/topic/plugin-user-community-classgallery_upload-error/#post-1042705)
 * Sure you’re using PHP-5, if not, the plugin would not load as in current version
   a check was introduced 😉
 * What are you uploading? The watermark, the login logo, or a gallery picture?
 *  [hikikomori16](https://wordpress.org/support/users/hikikomori16/)
 * (@hikikomori16)
 * [17 years ago](https://wordpress.org/support/topic/plugin-user-community-classgallery_upload-error/#post-1042724)
 * Im geting error msg when Im trying to Upload Logo on register site ;/ my error
   msg is :
 * Warning: putenv() [function.putenv]: Safe Mode warning: Cannot set environment
   variable ‘MAGIC’ – it’s not in the allowed list in /customers/anime-seven.com/
   anime-seven.com/httpd.www/wp-content/plugins/alkivia/framework/class.upload.php
   on line 2244
 * my host is using higher PHP than PHP-5 And GD2.2
    my Online host help sayid that
   everythin should work wine on server so prapobly that is plugin error;/ How I
   can make it working ?
 * my site is : [http://Anime-Seven.com](http://Anime-Seven.com)
 *  [hikikomori16](https://wordpress.org/support/users/hikikomori16/)
 * (@hikikomori16)
 * [17 years ago](https://wordpress.org/support/topic/plugin-user-community-classgallery_upload-error/#post-1042725)
 * Ok I made it work ^^ hmmmm not exactly work but half way done : solution is :
   
   [http://www.youtube.com/watch?v=DKegZtFGchI](http://www.youtube.com/watch?v=DKegZtFGchI)
 * But Im geting another error when Im trying to register and there is no new logo
   there is error like :
 * Warning: getimagesize() [function.getimagesize]: Unable to access /customers/
   anime-seven.com/anime-seven.com/httpd.www/wp-content/uploads/login.jpg in /customers/
   anime-seven.com/anime-seven.com/httpd.www/wp-content/plugins/register-plus/register-
   plus.php on line 1531
 * Warning: getimagesize(/customers/anime-seven.com/anime-seven.com/httpd.www/wp-
   content/uploads/login.jpg) [function.getimagesize]: failed to open stream: No
   such file or directory in /customers/anime-seven.com/anime-seven.com/httpd.www/
   wp-content/plugins/register-plus/register-plus.php on line 1531
 * I have checked Attributes of logo files and they are on 777 so I have no idea
   where is problem ;/
 *  [Txanny](https://wordpress.org/support/users/txanny/)
 * (@txanny)
 * [17 years ago](https://wordpress.org/support/topic/plugin-user-community-classgallery_upload-error/#post-1042726)
 * Well, the problems with the plugin are safe-mode. By now safe-mode is not supported
   by the upload class. This will be corrected really soon as the new class with
   this fixed is almost finished. (The solution on the video does not completely
   solve it).
 * But, the errors you show in the last post, are not related to the community plugin.
   You’re showing errors from the Register Plus plugin.
 *  [Txanny](https://wordpress.org/support/users/txanny/)
 * (@txanny)
 * [17 years ago](https://wordpress.org/support/topic/plugin-user-community-classgallery_upload-error/#post-1042728)
 * About the issue working with PHP safe_mode on , I talked to the developer for
   the upload class, and found a solution that will be implemented in next Community
   version. Most probably will be 0.6, but if it takes long, I will release a bugfix
   release (0.5.4).

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

The topic ‘[Plugin: User Community] class.gallery_upload error’ is closed to new
replies.

 * 7 replies
 * 4 participants
 * Last reply from: [Txanny](https://wordpress.org/support/users/txanny/)
 * Last activity: [17 years ago](https://wordpress.org/support/topic/plugin-user-community-classgallery_upload-error/#post-1042728)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
