I am getting the following error message when I try to upload a profile photo using the flash uploader. Note that a very small mode was made to:
modules/boonex/photos/classes/BxPhotosUploader.php. This line:
if (!$iAuthorId || file_exists($sTmpFile) == false || !$this->oModule->isAllowedAdd())
was changed to
if (!$iAuthorId || file_exists($sTmpFile) == false)
That change was made to allow the avatar photo to transfer to the profile photo for sites that have moderated (not automatically activated) profiles. The error I received is below. Are these two issues related? Is there a fix?
Warning: constant() [function.constant]: Couldn't find constant BX_PHOTOS_ADD in /var/www/vhosts/mysite.org/httpdocs/inc/classes/BxDolFilesModule.php on line 90
checkAction() fatal error. Unknown action ID: 0
checkAction() fatal error. Unknown action ID: 0