Support Home Page › Forums › Joomla Software › Easy Folder Listing Module › Incorrect parent folder
Tagged: easy folder listing
- This topic has 13 replies, 4 voices, and was last updated 7 years, 10 months ago by stevecyr.
-
AuthorPosts
-
August 25, 2016 at 12:15 am #867tfryParticipant
Hi,
I have been using this module for a fair while, however with Joomla! 3.6.2 and IIS I am no longer able to correctly select a parent folder nor type the one needed. It try’s to load the full file path with the Windows slash convention as well as the normal URL convention (eg c:iintetsiteparentfolder/subfolder) and as a result displays folder not found. I can manually change this in the database to just the shorthand parent (eg “efl_parent”:”parentfolder”) and it works correctly. Existing modules all still work and have the old convention. I am guessing this is after I have updated to v2.9 and the select option is now a drop down box.
October 25, 2016 at 12:34 pm #2247woodhomeParticipantHello,
I have the same problem. How did you manage this problem. In which database did you change what exactly?
Before you updated to v2.9, which version did you use. At first I used v2.9 and then I downgraded to v2.8.2 but the problem was still there.
Cheers
October 26, 2016 at 11:10 am #2248Michael GilkesKeymasterOctober 26, 2016 at 10:20 pm #2249tfryParticipantHi Michael,
I am using IIS on 2012R2
October 26, 2016 at 10:22 pm #2250tfryParticipantI was going into the MySQL database, modules table and manually changing the content for each new module that was created. Note you can easily destroy your website with manual database entries so be sure of what you are doing and make sure you have a backup.
October 27, 2016 at 8:15 pm #2251woodhomeParticipantThank you for the quick response.
Right now I also use Microsoft-IIS/8.5. I opened the database and it looked quite complicated and I’m scared to change or destroy something, so I let that be. Is there a possibility to do something in backend so that it is working? Above you said something about that it worked with an older version, right? which version was that and is it possible to get that version somewhere?
Or do you know an older version or a similar version – I would even spend money on this – that would work?
thanks
October 27, 2016 at 8:45 pm #2252Michael GilkesKeymasterActually, there is no reason for any one to go into the database to edit values. I will have to run some tests on an IIS server to see if I can replicate your issue. To be honest, it is actually a bit hard for me to understand what it going on from your explanations. Could you provide a screenshot of what is happening?
To be honest, the list of folders that should show is set to the default of what Joomla determines by the folderlist field. That aspect is not my code. but rather Joomla’s built-in code. However, if you link some screenshot so that I can understand what is actually happening.
October 27, 2016 at 10:35 pm #2253tfryParticipantHi Michael,
I have created a new test module
Which results in
1{"efl_parent":"C:\inetpub\wwwroot\lbe\selfhelp\/administrator","efl_folder":"files/iOS","efl_encodeutf8":"none","efl_srcencoding":"ISO-8859-1","efl_icons":"1","efl_extensions":"0","efl_size":"1","efl_date":"1","efl_time":"1","efl_linktofiles":"1","efl_linktoblank":"1","efl_forbidden":"htm;html;php","efl_method":"table","efl_sortcolumn":"name","efl_sortdirection":"asc","efl_oddcolor":"#f0f0f6","efl_evencolor":"#ffffff","efl_headcolor":"#e6eeee","efl_bordercolor":"#cdcdcd","layout":"_:bootstrap","moduleclass_sfx":"","module_tag":"div","bootstrap_size":"0","header_tag":"h3","header_class":"","style":"0"}(obviously I haven’t selected the correct folder also, as you can’t read which one is which in the selection dialogue as the box is too small, but please not the convention of the link. Its a file path not relative URL. It also has slashes in both directions)
1{"efl_parent":"downloads","efl_folder":"files/iOS","efl_encodeutf8":"none","efl_srcencoding":"ISO-8859-1","efl_icons":"1","efl_extensions":"1","efl_size":"1","efl_date":"1","efl_time":"1","efl_linktofiles":"1","efl_linktoblank":"1","efl_forbidden":"htm;html;php","efl_method":"table","efl_sortcolumn":"name","efl_sortdirection":"asc","efl_oddcolor":"#f0f0f6","efl_evencolor":"#ffffff","efl_headcolor":"#e6eeee","efl_bordercolor":"#cdcdcd","layout":"_:bootstrap","moduleclass_sfx":"","module_tag":"div","bootstrap_size":"0","header_tag":"h3","header_class":"","style":"0"}Is a example of a working module.
Please let me know if you require further details.
October 27, 2016 at 11:44 pm #2254Michael GilkesKeymaster@tfry. It seems from your screenshot that something must have changed in the latest version of Joomla that affects the way the folderlist field works on IIS systems. This issue is not the result of my code, as I have no control of how the built-in folderlist works. The folderlist is not supposed to list an absolute path. It is supposed to look like this
And notice I am using Joomla 3.6.4 on my test server. My test server is not IIS, but my point is that this is built-in Joomla code. I would have to try and replicate the problem on an IIS server, and then post a fix on github and make a pull request for the next Joomla release.
November 9, 2016 at 4:33 am #2255Michael GilkesKeymaster@tfry. I have confirmed that this is a known issue regarding Joomla code since version 3.6. I tested on a Windows IIS server, and confirmed that folderlist doesn’t work properly on a Windows-based web server. However, the issue is with Joomla, not my or anyone else’s module/extension.
I made a pull request on the Joomla git repo: https://github.com/joomla/joomla-cms/pull/12841
Apparently there were at least two other pull requests before mine, although their solutions were different:
November 9, 2016 at 5:25 am #2256tfryParticipant@michalegilkes, Thankyou for looking into this further, hopefully the main project will add the pull request and it will be fixed in a future update.
November 19, 2016 at 2:57 am #2257Michael GilkesKeymaster@tfry. I have thought about this, and have decided to update the plugin with my own custom fix. I have posted the pull request on github, as you know, but it is not up to me to accept it. So, until they do accept it, I will post my own custom fix for my plugins. I hope to have this done by Monday. God willing.
January 31, 2017 at 1:21 am #2258tfryParticipantHi Michael,
Just wondering how you got on with this?
March 16, 2017 at 7:52 pm #2259stevecyrParticipantI just ran into this also. I can not add any new folder listings without this above problem using V 2.9.
I went to another site where I am running same Joomla 3.6.5 and an older version of EFL V 2.8 Feb 2012, and it works fine. I am able to add new folder listings and navigate to them without errors.
Can I download the older version somewhere until this is resolved?
-
AuthorPosts
- The topic ‘Incorrect parent folder’ is closed to new replies.