Announcement

  •  » Themes
  •  » PHP version for Bootstrap defult theme???

#1 2017-01-12 17:56:31

daareek
Member
2017-01-12
20

PHP version for Bootstrap defult theme???

Hello/Hi/Greetings,

I had a problem installing pwigio with PHP 5.4.432.0 which was generating this error:

"Fatal error: Cannot redeclare transliterate() in /photoalbum/include/functions.inc.php on line 340"

when downgraded using .htaccess on the application folder to 5.2.17 works however Bootstrap theme does not work, generating this error:
"
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /photoalbum/themes/bootstrapdefault/admin/admin.inc.php on line 22

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /photoalbum/themes/bootstrapdefault/admin/admin.inc.php on line 22

Parse error: syntax error, unexpected T_STRING in /photoalbum/themes/bootstrapdefault/admin/admin.inc.php on line 22"


as I have found on the forum it requires at least PHP 5.3? How to run those two togheter???

Piwigo version: 2.8.5
PHP version: 5.2.17 or 5.4.432.0
MySQL version: 5.5.51-38
Piwigo URL: http://none yet :-(

Offline

 

#2 2017-02-07 14:21:08

philb
Member
2014-07-22
30

Re: PHP version for Bootstrap defult theme???

Hmm seems like you might have hid a PHP in 5.4 as you absolutely shouldn't get that error.

You do need 5.3 to use the theme and although it would be simple to support older versions, at this point 5.3 is some 8 years old and really you shouldn't be using it as you may hit bugs and security issues.

If your hosting provider has made no attempt to update in the last half a decade or so, then you should perhaps consider an alternative that has.

Offline

 
  •  » Themes
  •  » PHP version for Bootstrap defult theme???

Board footer

Powered by FluxBB

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