[ANN] Fotorama_XH

Third Party Plugins to CMSimple - how to install, use and create plugins

Moderator: Tata

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: [ANN] Fotorama_XH

Post by cmb » Mon Jun 06, 2016 9:53 am

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
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.
Christoph M. Becker – Plugins for CMSimple_XH

Korvell
Posts: 93
Joined: Thu May 22, 2008 10:33 pm

Re: [ANN] Fotorama_XH

Post by Korvell » Thu Jun 09, 2016 8:59 pm

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...

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: [ANN] Fotorama_XH

Post by cmb » Thu Jun 09, 2016 10:53 pm

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

Tata
Posts: 3587
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: [ANN] Fotorama_XH

Post by Tata » Thu Jun 16, 2016 6:23 pm

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
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.

lck
Posts: 2967
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: [ANN] Fotorama_XH

Post by lck » Thu Jun 16, 2016 8:13 pm

Schau mal hier.
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

Tata
Posts: 3587
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: [ANN] Fotorama_XH

Post by Tata » Thu Jun 16, 2016 8:46 pm

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.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: [ANN] Fotorama_XH

Post by cmb » Thu Jun 16, 2016 10:24 pm

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 :-(
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:Nur habe ich nirgendwo eine Anleitung zum Update gefunden. Was braucht man behalten und was soll ich überschrieben
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.
Christoph M. Becker – Plugins for CMSimple_XH

Tata
Posts: 3587
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: [ANN] Fotorama_XH

Post by Tata » Fri Jun 17, 2016 4:23 am

Ich bin früher aufgestanden, um noch bisschen testen.
cmb wrote: Es kann aber klappen, wenn man config.php, die Sprachdateien und stylesheet.css beibehält.
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.
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.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: [ANN] Fotorama_XH

Post by cmb » Fri Jun 17, 2016 9:30 am

Tata wrote:In php.ini - extension= "ext" definiert und extension=php_fileinfo.dll aktiviert.
Genau. (Vergiss das mit der mbstring Extension; da hatte ich was verwechselt). Wichtig ist, dass nach dieser Änderung der Server neu gestartet wird.
Christoph M. Becker – Plugins for CMSimple_XH

Tata
Posts: 3587
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: [ANN] Fotorama_XH

Post by Tata » Fri Jun 17, 2016 9:51 am

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.

Post Reply