Announcement

#1 2023-02-14 13:25:04

ianmac
Member
2016-07-30
31

Using Samsung S7 mobile and Samsung tablet Error frpm Smarty compiler

Hello,

A user writes ...

As far as I can see most of the web pages and links work well from my phone, but error messages occur in the Piwigo Galleries:

Entering the Galleries I can see the menus on all levels each with a small image, but at the bottom of each menu page this following message is shown:

error: Uncaught --> Smarty Compiler: Syntax error in template "file:/home/swanland/public_html/piwigo/themes/smartpocket/template/footer.tpl" on line 20 "document.cookie = 'screen_size='+jQuery(document).width()+'x'+jQuery(document).height()+';path={isset($COOKIE_PATH) ? $COOKIE_PATH : ''}';" - Unexpected " ? ", expected one of: "}" <-- thrown in /home/swanland/public_html/piwigo/include/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 20

I cannot view the images within each menu, although the text is displayed and again the above is shown at the bottom of each page.

........................  end of user's submission   ...............

User was using: Samsung S7 mobile and Samsung tablet

These errors do not occur when using the website on a desktop computer.

The website URL is ... https://swanlandheritage.info/piwigo/

    Environment  (desktop computer)

    Piwigo 13.1.0 Check for upgrade
    Installed on 21 June 2016, 6 years 7 months 3 weeks 1 day ago
    Operating system: Linux
    PHP: 7.3.33 (Show info) [2023-02-14 12:11:36]
    MySQL: 8.0.32 [2023-02-14 12:11:36]
    Graphics Library: External ImageMagick 6.9.12-70
    Cache size 2237 Mo   calculated 4 months ago Refresh

Activated plugin list 13

    Admin Tools
    Comments on Albums
    Crypto Captcha
    Exif View
    File Uploader
    Image Preview
    Language Switch
    LocalFiles Editor
    Mobile Theme for Tablets
    OpenStreetMap
    Smilies Support
    Take A Tour of Your Piwigo
    Theme Switch

Thanks for reading this and for your time.

Offline

 

#2 2023-02-14 16:22:55

k5
Member
2017-11-05
68

Re: Using Samsung S7 mobile and Samsung tablet Error frpm Smarty compiler

hello
try this
it has since been corrected versus 13.1.0.1 smartpocket. please update

Thanks for reading this and for your time.

Last edited by k5 (2023-02-14 16:24:28)

Offline

 

#3 2023-02-17 12:20:44

ianmac
Member
2016-07-30
31

Re: Using Samsung S7 mobile and Samsung tablet Error frpm Smarty compiler

Thanks.  Updated the Piwigo system to version 13.5.0 and this has sorted the problem out.

Offline

 

Board footer

Powered by FluxBB

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