Search…

X3 Photo Gallery Support Forums

Search…
 
Hzn
Topic Author
Posts: 1
Joined: 26 Jun 2017, 00:16

X3.23 Issue after update

26 Jun 2017, 09:19

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.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: X3.23 Issue after update

26 Jun 2017, 12:31

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.