Announcement

#1 2018-12-07 15:29:28

pe
Member
2018-12-07
2

Parse error: syntax error, unexpected '<',

Hello/Hi/Greetings,
After installition of piwigo i get this
Parse error: syntax error, unexpected '<', expecting end of file in /customers/f/c/b........./httpd.www/photo/plugins/TakeATour/language/sv_SE/tour_first_contact.lang.php on line 67

Piwigo version: 2.9.4
PHP version: 7.2
MySQL version:
Piwigo URL: http://http://www.pesvahn.com/photo/

Offline

 

#2 2018-12-07 20:01:20

flop25
Piwigo Team
2006-07-06
7037

Re: Parse error: syntax error, unexpected '<',

Hello
please start by re uploading all files by overwriting them


To get a better help : Politeness like Hello-A link-Your past actions precisely described
Check my extensions : more than 30 available
who I am and what I do : http://fr.gravatar.com/flop25
My gallery : an illustration of how to integrate Piwigo in your website

Offline

 

#3 2018-12-07 22:22:17

pe
Member
2018-12-07
2

Re: Parse error: syntax error, unexpected '<',

I found the fault on line 67 it was this two signs ( ' ; ) to on the end off line that give me the fault.

Offline

 

#4 2019-04-23 22:34:27

miyago
Member
Sweden
2019-04-23
1

Re: Parse error: syntax error, unexpected '<',

I installed piwigo today using docker and I experienced the same thing. Removing '; on line 67 in the file

/config/www/gallery/plugins/TakeATour/language/sv_SE/tour_first_contact.lang.php

resolved the issue.

Offline

 

#5 2019-04-23 23:29:51

erAck
Only trying to help
2015-09-06
2027

Re: Parse error: syntax error, unexpected '<',

Just looked that up in 2.9.5 and there in the same file and line is

Code:

<br>Du kan lägga till foton i caddien från den publika fotosidan när du är inloggad som en admin, eller genom åtgärden "Lägg till i caddien" i Batch Managern.';

That looks wrong, as there is no
$lang['first_contact_stp...'] =
preceding the line but a <br> instead. Looks the Swedish translation is broken at that place and the string actually belongs to the previous translation unit first_contact_stp10 but somehow was split off.

My guess: there should be a newline in the text, but the tooling can't cope with it.


Running Piwigo at https://erack.net/gallery/

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact