As of 1.0beta1 Fotorama_XH requires PHP 5.3; apparently, you're running an older version. I would generally suggest that you update to something newer, because PHP 5.2 reached it's end of life more than 5 years ago.Korvell wrote:I'm getting this error with the new version:
Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /home/sv_houhavnefestdk/plugins/fotorama/classes/required_classes.php on line 23
[ANN] Fotorama_XH
Moderator: Tata
Re: [ANN] Fotorama_XH
Christoph M. Becker – Plugins for CMSimple_XH
Re: [ANN] Fotorama_XH
Ah - that makes sense. Will contact my provider and ask for upgrade. What version is preferable? My provider offers v.5.3, 5.4, 5.5, 5.6 and 7.0...
Re: [ANN] Fotorama_XH
I'd go for PHP 5.6 for better compatibility or 7.0 for best performance. While CMSimple_XH 1.6.7 is supposed to be PHP 7.0 compatible, some plugins may not (I have tested only very few of my plugins under PHP 7.0, for example).
Christoph M. Becker – Plugins for CMSimple_XH
Re: [ANN] Fotorama_XH
Hallo,
ich möchte auch mal Fotorama testen. Die alpha1 ist bereits installiert inkl. einige Galerien. Nur habe ich nirgendwo eine Anleitung zum Update gefunden. Was braucht man behalten und was soll ich überschrieben
EDIT
Ich habe neue Installation von CMSimple_XH 1.6.7 mit Fotorama_XH,1.0beta2. Also eine "gallerie" unter /userfiles/images/. Nachdem ich eine neue Gallerie definieren will, bekomme ich nur weise Seite mit
Fatal error: Uncaught Error: Class 'finfo' not found in C:\localweb\SZUS Vojcice\plugins\fotorama\classes\GalleryService.php:171 Stack trace: #0 C:\localweb\SZUS Vojcice\plugins\fotorama\classes\GalleryService.php(157): Fotorama\GalleryService->isImageFile('./userfiles/ima...') #1 C:\localweb\SZUS Vojcice\plugins\fotorama\classes\CreateGalleryCommand.php(44): Fotorama\GalleryService->findImagesIn('dod-2016') #2 C:\localweb\SZUS Vojcice\plugins\fotorama\classes\Controller.php(98): Fotorama\CreateGalleryCommand->execute() #3 C:\localweb\SZUS Vojcice\plugins\fotorama\classes\Controller.php(73): Fotorama\Controller->createGallery() #4 C:\localweb\SZUS Vojcice\plugins\fotorama\classes\Controller.php(60): Fotorama\Controller->handleMainAction() #5 C:\localweb\SZUS Vojcice\plugins\fotorama\classes\Controller.php(33): Fotorama\Controller->handleAdministration() #6 C:\localweb\SZUS Vojcice\plugins\fotorama\index.php(35): Fotorama\Controller->dispatch() #7 C:\localweb\SZUS Vojcice\cmsimple\cms.php(1153): include('C:\\localweb\\SZU. in C:\localweb\SZUS Vojcice\plugins\fotorama\classes\GalleryService.php on line 171
ich möchte auch mal Fotorama testen. Die alpha1 ist bereits installiert inkl. einige Galerien. Nur habe ich nirgendwo eine Anleitung zum Update gefunden. Was braucht man behalten und was soll ich überschrieben
EDIT
Ich habe neue Installation von CMSimple_XH 1.6.7 mit Fotorama_XH,1.0beta2. Also eine "gallerie" unter /userfiles/images/. Nachdem ich eine neue Gallerie definieren will, bekomme ich nur weise Seite mit
Fatal error: Uncaught Error: Class 'finfo' not found in C:\localweb\SZUS Vojcice\plugins\fotorama\classes\GalleryService.php:171 Stack trace: #0 C:\localweb\SZUS Vojcice\plugins\fotorama\classes\GalleryService.php(157): Fotorama\GalleryService->isImageFile('./userfiles/ima...') #1 C:\localweb\SZUS Vojcice\plugins\fotorama\classes\CreateGalleryCommand.php(44): Fotorama\GalleryService->findImagesIn('dod-2016') #2 C:\localweb\SZUS Vojcice\plugins\fotorama\classes\Controller.php(98): Fotorama\CreateGalleryCommand->execute() #3 C:\localweb\SZUS Vojcice\plugins\fotorama\classes\Controller.php(73): Fotorama\Controller->createGallery() #4 C:\localweb\SZUS Vojcice\plugins\fotorama\classes\Controller.php(60): Fotorama\Controller->handleMainAction() #5 C:\localweb\SZUS Vojcice\plugins\fotorama\classes\Controller.php(33): Fotorama\Controller->handleAdministration() #6 C:\localweb\SZUS Vojcice\plugins\fotorama\index.php(35): Fotorama\Controller->dispatch() #7 C:\localweb\SZUS Vojcice\cmsimple\cms.php(1153): include('C:\\localweb\\SZU. in C:\localweb\SZUS Vojcice\plugins\fotorama\classes\GalleryService.php on line 171
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: [ANN] Fotorama_XH
Schau mal hier.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“ Ludwig's XH-Templates for MultiPage & OnePage
Re: [ANN] Fotorama_XH
Die extension gibt (bei mir) unter PHP 7.0.0. in php.ini nicht. Habe ich beides in PHP 7.0.0 php.ini modifiziert, started der Lokalserver nicht mehr
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: [ANN] Fotorama_XH
Die fileinfo Extension braucht die mb_string extension, und zwar muss letztere noch vor der fileinfo in der php.ini stehen und aktiviert sein. Schau aber auf jeden Fall bitte auch mal auf Deinem Server nach, ob die fileinfo Extension dort verfügbar ist. Ich habe nämlich leider keine Ahnung wie weit diese Extension verbreitet ist – falls sie auf vielen Servern nicht verfügbar ist, dann lasse ich mir etwas anderes einfallen.Tata wrote:Die extension gibt (bei mir) unter PHP 7.0.0. in php.ini nicht. Habe ich beides in PHP 7.0.0 php.ini modifiziert, started der Lokalserver nicht mehr
Eigentlich sollte bei Updates meiner Plugins, die sich noch in der Alpha/Beta/RC-Phase befinden, immer alles ausgetauscht werden. Es kann aber klappen, wenn man config.php, die Sprachdateien und stylesheet.css beibehält.Tata wrote:Nur habe ich nirgendwo eine Anleitung zum Update gefunden. Was braucht man behalten und was soll ich überschrieben
Christoph M. Becker – Plugins for CMSimple_XH
Re: [ANN] Fotorama_XH
Ich bin früher aufgestanden, um noch bisschen testen.
Gefunden c:\MAMP\bin\php\php7.0.0\ext\php_fileinfo.dll
In php.ini - extension= "ext" definiert und extension=php_fileinfo.dll aktiviert.
Debug zeigt weiterhin das selbe. Die vorige version läuft gut.
Genau so habe ich es versucht, aber dann dachte ich, dass das hat die Probleme verursacht. So habe ich einfach alles gelôscht und neu installiert.cmb wrote: Es kann aber klappen, wenn man config.php, die Sprachdateien und stylesheet.css beibehält.
Gefunden c:\MAMP\bin\php\php7.0.0\ext\php_fileinfo.dll
In php.ini - extension= "ext" definiert und extension=php_fileinfo.dll aktiviert.
Debug zeigt weiterhin das selbe. Die vorige version läuft gut.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: [ANN] Fotorama_XH
Genau. (Vergiss das mit der mbstring Extension; da hatte ich was verwechselt). Wichtig ist, dass nach dieser Änderung der Server neu gestartet wird.Tata wrote:In php.ini - extension= "ext" definiert und extension=php_fileinfo.dll aktiviert.
Christoph M. Becker – Plugins for CMSimple_XH
Re: [ANN] Fotorama_XH
Ich werde es abends weiter testen.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.