Author Topic: Foldergallery: Support & News  (Read 83369 times)

Offline jacobi22

  • Posts: 5836
  • Gender: Male
  • Support also via PM or EMail
    • Jacobi22
Re: Foldergallery: Support & News
« Reply #300 on: November 15, 2017, 01:40:04 AM »
at first: sorry, i did not read the old postings   :oops: :oops: :oops:

solution:
go into modules / foldergallery / admin / modify_settings.php

and search for this line's here (~LN 138)

Code: [Select]
    // WB Systemordner sollen nicht angezeigt werden
    $invisibleFileNames = array_merge($invisibleFileNames, $wbCoreFolders);

add behind this code in a new line

Code: [Select]
    $invisibleFileNames = array_filter($invisibleFileNames);
this remove the empty array element.
to explain it: the script read's the folder structure from WB and merge this array with the invisible folders in foldergallery-settings. the script know's, there is a folder with name "media", but know's also, "media" is a allowed folder, so it remove the foldername "media" from the array, but leave the key inside.
this filter remove the empty key
P.S.: works also, if you work with pages directory's

the dev's work nearly around the clock on the new wb-version, so normalize no time to build every time a new version for a module, if i have a fix.
i'll read now read the latest postings again, maybe, there are some more problem's
Probleme sind da, um sie zu lösen, nicht, um nach Ausreden zu suchen.

Offline jacobi22

  • Posts: 5836
  • Gender: Male
  • Support also via PM or EMail
    • Jacobi22
Re: Foldergallery: Support & News
« Reply #301 on: November 16, 2017, 01:35:16 AM »
One example:

/gallery.php?cat=/2015/Music_in_the_bush_2016&section_id=25

Nowadays users and Google demand clean, usefull related urls like:

/gallery/music_in_the_bush_2016

the follow solution build links like this
/gallery.php?cat=/2015/Music_in_the_bush_2016
for all other things, it needs a complete new structure, to control the links for a sub-category, maybe a extra alias, but it must be unique

two little changes ( i note it also on my todo-list)

Step #1
view.php Ln 43

Originalcode
Code: [Select]
$iQuerySectionId = (isset($aRequestVars['section_id'])?$aRequestVars['section_id']:0);
change to

Code: [Select]
$iQuerySectionId = (isset($aRequestVars['section_id'])?$aRequestVars['section_id']:$section_id);
Step #2
view.php  Ln 106


Originalcode

Code: [Select]
$catLink = $link.'?cat='.$catCrumb.'&section_id='.$section_id;
change to

Code: [Select]
$catLink = $link.'?cat='.$catCrumb;
thats all

P.S.: i remember, it was possible with the Version 1.x to show also hidden gallery's, if you change the adrees-line
, maybe on a registered page, thats why we have the section_id there
Probleme sind da, um sie zu lösen, nicht, um nach Ausreden zu suchen.

Offline Roych

  • Betatester
  • **
  • Posts: 573
  • Gender: Male
Re: Foldergallery: Support & News
« Reply #302 on: November 24, 2017, 11:36:56 AM »
Hello, there is a problem with uploading some new images in already created gallery or am I missing something?

And one question: In the image upload popup there is only cancel button after you upload images, it is a little wierd because one is not realy sure what to do. cancel or what. It would be nicer if there would be a button like finnish that would finnishs and synch the whole thing, just an idea...

thank you
R

Offline hgs

  • Betatester
  • **
  • Posts: 1102
    • EFG MG
Re: Foldergallery: Support & News
« Reply #303 on: November 24, 2017, 01:32:02 PM »
The module supervisor knows and will take care of the problem after publishing the new WB version
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

Offline jacobi22

  • Posts: 5836
  • Gender: Male
  • Support also via PM or EMail
    • Jacobi22
Re: Foldergallery: Support & News
« Reply #304 on: November 24, 2017, 01:46:03 PM »
if you have the time, no problem, not i am... :|

@Roych: can you confirm, that the upload works? means: this file is uploaded to the server in the correct folder?
Probleme sind da, um sie zu lösen, nicht, um nach Ausreden zu suchen.

Offline Roych

  • Betatester
  • **
  • Posts: 573
  • Gender: Male
Re: Foldergallery: Support & News
« Reply #305 on: November 26, 2017, 11:24:16 PM »
@Roych: can you confirm, that the upload works? means: this file is uploaded to the server in the correct folder?


The link seem's to be ok, but the file is not uploaded even thou it is colored green (success) after clicking upload and after extra synch.


Edit: When I go in the folder through Media the image is there it just won't show in gallery, not even after clicking synch.


sry edit again: The synch link when in folder does not work right, but the synch button in root of gallery works.


R
« Last Edit: November 26, 2017, 11:29:57 PM by Roych »

Offline jacobi22

  • Posts: 5836
  • Gender: Male
  • Support also via PM or EMail
    • Jacobi22
Re: Foldergallery: Support & News
« Reply #306 on: December 20, 2017, 01:15:14 PM »
Has somebody a old backup from foldergallery 1.21 or older?

what we need, is the database table "mod_foldergallery_settings.sql"
Probleme sind da, um sie zu lösen, nicht, um nach Ausreden zu suchen.

Offline evaki

  • Posts: 2627
Re: Foldergallery: Support & News
« Reply #307 on: December 20, 2017, 01:27:10 PM »
Jep, 1.1.8
Aber mit 256kb -hä?- upload wird das nix

und 768kb wars wohl auch nicht, denn meine ist 530KB
MfG. Evaki
p.s. Wer ist denn auf die glorreiche Idee gekommen?

Eine klärende Antwort wäre hilfreich!
« Last Edit: December 20, 2017, 01:34:13 PM by evaki »
Einmal Pizza Quattro Stagioni bitte, aber ohne Herbst.

Offline jacobi22

  • Posts: 5836
  • Gender: Male
  • Support also via PM or EMail
    • Jacobi22
Re: Foldergallery: Support & News
« Reply #308 on: December 20, 2017, 02:19:18 PM »
ich vermute mal....  Hintergrund war wohl der Gedanke, Anhänge nur noch extern zu hosten, nachdem beim Upgrade des Forums in Sommer 2015 alle alten Anhänge zerschossen waren
und das allgemeine Ziel, das z.b. zu einem bestimmten Addon eher ein Link ins Repository erfolgt statt hier eine z.b. gefixte Version zu posten, wie es früher Gang und gebe war

der Community ist es nicht gerade hilfreich, wie der aktuelle Fall gerade zeigt  :|

bei der FG hat sich wohl ein Fehler eingeschlichen im Modulupgrade. Früher standen die unsichtbaren Ordner in der info.php, ab Version 2 in der Settingstabelle. Es sollen aber mögliche "private" Einträge übernommen werden, nur müßte man halt wissen, wie die settings-Tabelle da aufgebaut war und was drin stand
Ab Vers 1.21 waren es 8 Einträge pro Section, was in den Versionen davor war, weiß keiner.

P.S.: hast doch meine Mailadresse  :wink:
Probleme sind da, um sie zu lösen, nicht, um nach Ausreden zu suchen.

Offline evaki

  • Posts: 2627
Re: Foldergallery: Support & News
« Reply #309 on: December 20, 2017, 02:36:11 PM »
>>hast doch meine Mailadresse
War erstaunt, ja, hab sie
Mail ist draußen
Einmal Pizza Quattro Stagioni bitte, aber ohne Herbst.

Offline jacobi22

  • Posts: 5836
  • Gender: Male
  • Support also via PM or EMail
    • Jacobi22
Re: Foldergallery: Support & News
« Reply #310 on: December 20, 2017, 02:40:11 PM »
DANKE

Mail ist angekommen
Probleme sind da, um sie zu lösen, nicht, um nach Ausreden zu suchen.

Offline jacobi22

  • Posts: 5836
  • Gender: Male
  • Support also via PM or EMail
    • Jacobi22
Re: Foldergallery: Support & News
« Reply #311 on: December 20, 2017, 02:49:53 PM »
Problem is solved -

thx to Ruud & Evaki for the help   (Y)
Probleme sind da, um sie zu lösen, nicht, um nach Ausreden zu suchen.

Offline nico89

  • Posts: 5
  • Gender: Male
  • Nico89.com
    • Nico89.com
Re: Foldergallery: Support & News
« Reply #312 on: March 18, 2018, 04:19:22 PM »
Hi,
When I try to upgrade FG from version 1.21 to version 2.2.0 I receive this error:
[166] It is not possible to upgrade or install from a WebsiteBaker Versions before 2.11.0

PHP-Version: 5.6.33
WebsiteBaker-Version: 2.11.0 -r79

I already tried with PHP 7.0 , 7.1 & 7.2 with the same result.

Can some one tel me how to fix it?

Tks
Nico
Nico89.com

Offline dbs

  • Betatester
  • **
  • Posts: 7907
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: Foldergallery: Support & News
« Reply #313 on: March 18, 2018, 04:54:21 PM »
Hi, seems in FG 1.21 in info.php is the module_platform = 2.80 and this is totally wrong.
Please change it to:
Code: [Select]
$module_platform = '2.8.0';and try the module upgrade again

Offline mikejd

  • Posts: 221
Re: Foldergallery: Support & News
« Reply #314 on: June 25, 2018, 01:28:02 PM »
I have a website originally set up in 2013 using WB v2.8 and foldergalleryv1.34. It was working after launch but now trying to access the gallery produces an error message :
Fatal error: Call to a member function fetchRow() on null in /homepages/44/d467008776/htdocs/wb/modules/foldergallery/view.php on line 138

I don't know when this first occurred as I haven't viewed the site in some years. I suspect the problem may be associated with an incorrect php function call and is due to not being updated for the current version of php which I think is v7. The latest version of foldergallery requires WB2.11 so just updating the module may not be possible.

Can anyone advise how to sort this please?

Offline hgs

  • Betatester
  • **
  • Posts: 1102
    • EFG MG
Re: Foldergallery: Support & News
« Reply #315 on: June 25, 2018, 02:00:19 PM »
Important is an update of the much too old version of WebsiteBaker.
For the right steps we need the exact details of the version of WebsiteBaker used and the current version of php used.
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

Offline mikejd

  • Posts: 221
Re: Foldergallery: Support & News
« Reply #316 on: June 25, 2018, 02:08:47 PM »
Where do I find details of the exact WB version please?

Offline dbs

  • Betatester
  • **
  • Posts: 7907
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: Foldergallery: Support & News
« Reply #317 on: June 25, 2018, 02:29:37 PM »
Hi, ... after login somewhere in the top right corner.
Upgrade of WB and modules is recommanded.

A first fast help can be to set your PHP version to 5.6 in your hosting account. But upgrades you should do in near future.

Offline mikejd

  • Posts: 221
Re: Foldergallery: Support & News
« Reply #318 on: June 25, 2018, 02:46:05 PM »
WB v2.8.3 SP1
php v5.6

Offline dbs

  • Betatester
  • **
  • Posts: 7907
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: Foldergallery: Support & News
« Reply #319 on: June 25, 2018, 04:20:45 PM »
Is it possible, that you are using some special chars in your category-names?
https://forum.WebsiteBaker.org/index.php/topic,28034.msg195701.html#msg195701