Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
http://www.tinywebgallery.com/forum/

Parse error: syntax error, unexpected '<', expecting end of
http://www.tinywebgallery.com/forum/php-photo-gallery-bugs-f5/parse-error-syntax-error-unexpected-expecting-end-of-t4011.html
Page 1 of 1

Author:  bigblondewolf [ 19. Jan 2016, 00:23 ]
Post subject:  Parse error: syntax error, unexpected '<', expecting end of

Hello

When I open index.php, the following error appears, since I upgraded 2.0.1 to 2.3:
Code:
Parse error: syntax error, unexpected '<', expecting end of file in /srv/http/l1.kakvo.be/htdocs/twg23/mapping.php on line 43


The error also appears on a fresh unzip of the complete gallery zip file (not the patch).

I believe this started happening since I updated my server to php7. Is TWG php7-friendly? Before the upgrade I got an error regarding ereg_replace(), which seems to be deprecated and provoked updating to 2.3

Thanks!
Oggy

Author:  TinyWebGallery [ 19. Jan 2016, 16:55 ]
Post subject:  Re: Parse error: syntax error, unexpected '<', expecting end

I have to try with php 7 this weekend.
But in the mapping.php was really a ?> missing. Seems before php 7 there was a auto close...

I have fixed the file mapping.php. Please update your installation or replace the </script> with ?> in this file.

Best, Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/