File picker won't browse uploads folder

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
chillifish
Forum Members
Forum Members
Posts: 92
Joined: Wed Jul 27, 2011 9:26 am

File picker won't browse uploads folder

Post by chillifish »

I'm trying to link to a pdf in the uploads folder. The link browser in micro tiny won't go any further up than the images folder, though the image browser does. This seems the wrong way round. ???
Last edited by chillifish on Tue Oct 07, 2014 1:19 pm, edited 2 times in total.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1922
Joined: Mon Jan 29, 2007 4:47 pm

Re: File picker won't browse uploads folder

Post by Jo Morg »

In CMSMS 1.11.11 it works for me. Just tested.
http://forum.cmsmadesimple.org/viewtopi ... =40&t=2661
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
chillifish
Forum Members
Forum Members
Posts: 92
Joined: Wed Jul 27, 2011 9:26 am

Re: File picker won't browse uploads folder

Post by chillifish »

Interesting, it doesn't work for me in 1.11.11.
----------------------------------------------

Cms Version: 1.11.11

Installed Modules:

CMSMailer: 5.2.2
CMSPrinting: 1.0.5
FileManager: 1.4.5
MenuManager: 1.8.6
MicroTiny: 1.2.7
ModuleManager: 1.5.8
News: 2.14.4
Search: 1.7.11
ThemeManager: 1.1.8
CGExtensions: 1.42.2
FrontEndUsers: 1.24.1
CustomContent: 1.10
SelfRegistration: 1.8.2
Captcha: 0.4.6
FormBuilder: 0.7.4
CGUserDirectory: 1.4.5
SEOTools2: 1.2.1


Config Information:

php_memory_limit:
process_whole_template:
max_upload_size: 64000000
url_rewriting: mod_rewrite
page_extension: .html
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true


Php Information:

phpversion: 5.3.28
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 60
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 64M
upload_max_filesize: 64M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)


Server Information:

Server Api: cgi-fcgi
Server Db Type: MySQL (mysqli)
Server Db Version: 5.5.35
Server Db Grants: Could not find a suitable "GRANT ALL" permission. This may mean you could have problems installing or removing modules. Or even adding and deleting items, including pages
Server Time Diff: No filesystem time difference found


----------------------------------------------
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1922
Joined: Mon Jan 29, 2007 4:47 pm

Re: File picker won't browse uploads folder

Post by Jo Morg »

I have this when creating/editing a link:
link.png
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
chillifish
Forum Members
Forum Members
Posts: 92
Joined: Wed Jul 27, 2011 9:26 am

Re: File picker won't browse uploads folder

Post by chillifish »

Me too, and when I click on it nothing happens. It does when browsing for images, but not when browsing for links.
Attachments
Screen Shot 2014-10-07 at 12.29.02.png
Screen Shot 2014-10-07 at 12.28.28.png
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1922
Joined: Mon Jan 29, 2007 4:47 pm

Re: File picker won't browse uploads folder

Post by Jo Morg »

The only reasons I see for it not working (as I said, it works on my side) are file corruption on upload/install/upgrade, or modsecurity restrictions.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
chillifish
Forum Members
Forum Members
Posts: 92
Joined: Wed Jul 27, 2011 9:26 am

Re: File picker won't browse uploads folder

Post by chillifish »

Brilliant, thanks it's now working. I purchased a new router recently and it was struggling with passive FTP before a firmware upgrade. It was upgrading this very site that pointed out the problem, I thought it had been solved.

Just re-applied the upgrade to 1.11.11 and all seems to be working.
chillifish
Forum Members
Forum Members
Posts: 92
Joined: Wed Jul 27, 2011 9:26 am

Re: File picker won't browse uploads folder

Post by chillifish »

Looks like I was a bit premature there. Now the problem is the opposite way round. It won't work for the image browser, but does work for the link browser.

It opens in uploads/resources/articles, but doesn't show the contents of the folder – understandable as they're pdfs. If I click up one directory, it takes me to uploads/resources, but won't go up any further directories. If I then click on articles to go back to articles, I get an error:
Error: at line 137 in file /home/sites/champagnesparklingwwc.co.uk/public_html/modules/FileManager/lib/class.filemanager_utils.php:

Cannot set current working directory to an invalid path
If I click "Show full trace" I get the following:
#0 /home/sites/champagnesparklingwwc.co.uk/public_html/modules/MicroTiny/action.filepicker.php(75): filemanager_utils::set_cwd('uploads/article...')
#1 /home/sites/champagnesparklingwwc.co.uk/public_html/lib/classes/class.CMSModule.php(1727): include('/home/sites/cha...')
#2 /home/sites/champagnesparklingwwc.co.uk/public_html/lib/classes/class.CMSModule.php(1795): CMSModule->DoAction('filepicker', '', Array, '')
#3 /home/sites/champagnesparklingwwc.co.uk/public_html/admin/moduleinterface.php(112): CMSModule->DoActionBase('filepicker', '', Array)
#4 {main}
hexdj
Power Poster
Power Poster
Posts: 415
Joined: Sat Mar 24, 2007 8:28 am

Re: File picker won't browse uploads folder

Post by hexdj »

Did you find a solution for this issue?

I am having the same issue at the moment, I'm able to browse with File Manager, Image Manager and TinyMCE, but not with MicroTiny. All modules up to date.

I even reinstalled CMSMS 1.11.11 on top of my previous install, just to make sure there was not a corrupt file or something.
hexdj
Power Poster
Power Poster
Posts: 415
Joined: Sat Mar 24, 2007 8:28 am

Re: File picker won't browse uploads folder

Post by hexdj »

This issue seems to be related to this bug:
http://dev.cmsmadesimple.org/bug/view/10170

Thanks to calguy1000 it's now fixed in SVN.
svn: cmsmadesimple - branches/1.11.x (rev: 9742) calguy1000: Fixes #10170
User avatar
DaRichMan
Forum Members
Forum Members
Posts: 64
Joined: Mon Oct 20, 2008 11:31 am
Location: Netherlands

Re: File picker won't browse uploads folder

Post by DaRichMan »

But how to solve this issue?
Apparently, my English is not good enough :-[
Locked

Return to “CMSMS Core”