![]() |
|
Ajax file manager problem - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Ajax file manager problem (/thread-7911.html) |
Ajax file manager problem - WhiteChrys - 29-11-2010 Hello - I migrated a Zenphoto 1.3.1.2 install to a GoDaddy server, and now I am having problems with the Ajax File Manager in the HTML editor. When I try to upload a new image or create a folder, it pops up an error saying "The folder path is not allowed." I noticed that there are two javascript errors as well: and "currentFolder.friendly_path is undefined" on /zp-core/zp-extensions/tiny_mce/plugins/ajaxfilemanager/jscripts/ajaxfilemanager_c.js Any clues as to how to fix this? It worked fine on the previous server. Ajax file manager problem - WhiteChrys - 29-11-2010 I forgot to mention - I think the Ajax File Manager is looking at the correct folder ("uploaded") because it lists all of the existing files just fine. Ajax file manager problem - acrylian - 30-11-2010 I have no real idea right now but check the permissions on the filemanager folders/files. Ajax file manager problem - dezign - 02-08-2011 under the "news" tab after clicking "new article" when I click insert/edit image and select the option to upload an image (small - just a few Kbytes in size) after a few seconds, I get this error message ... "File too large. (max: 10M b)" In my php.ini I have from another post on your forum: I found that //UPLOAD OPTIONS CONFIG -- it works, I can upload, when I change it to this ... //UPLOAD OPTIONS CONFIG (I'm assuming that is 50MBytes maximum) I saw in a previous post that " The next nightly ties the upload size now to the ' upload_max_filesize' " If possible I'd like to change it back to that ... any suggestions as to the cause of the error message? thank you your comments or advice would be greatly appreciated when you get time to reply. dezi Ajax file manager problem - sbillard - 02-08-2011 Well, the filemanager realy will need to obey the limits placed by the PHP ini file. However, the ini_get returns a number like 10M, so the define needs to be changed to convert this into bytes. We will make that change. Ajax file manager problem - if07087 - 31-07-2012 The solution for this problem : search in the ajax_file_upload.php $ manager = new Manager ($ upload-> GetFilePath (), false); Change in: $ manager = new Manager (dirname ($ upload-> GetFilePath ()), false); reference-url Ajax file manager problem - if07087 - 31-07-2012 ajax_file_upload.php location "tiny_mce/plugins/ajaxfilemanager/ajax_file_upload.php" |