Page 1 of 1

X3.23 Issue after update

Posted: 26 Jun 2017, 09:19
by Hzn
Hi,
Just after the update (from 0.21) i was unable to log into the admin area, i was getting this error :
PHP Parse error:  syntax error, unexpected ')', expecting :: (T_PAAMAYIM_NEKUDOTAYIM) in filemanager_core.php on line 381

To be able to log again i had to comment the following line  in filemanager_core.php :
381:  if(!empty(SMTPFrom)) $phpMailer->setFrom(SMTPFrom);

After the modification i was able to log back and everything seems to work properly.
So, i would like to properly fix the issue now.

Thanks.

Re: X3.23 Issue after update

Posted: 26 Jun 2017, 12:31
by mjau-mjau
There is a line of code incompatible with older PHP versions apparently. See this post:
https://forum.photo.gallery/viewtopic.p ... 046#p42046

Simply run the updater AGAIN!

Sorry for any inconvenience.