(Solved) Upload with Roxy Fileman

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
9 years ago
My web site is in virtual directory example www.mysite.com/nopcommerce/

In upload image and video When i click on button for to open my folder directory i have problem errors:

page www.mysite.com report:

E_LoadinfConf
E_ActionDisable
Error loading language file

and not work.

Anyone can help me?

Thanks in advance
9 years ago
OK Solved, now work fine.

follow this istruction:

Sometimes we need to create JSON in a text file with extension .json, however by default IIS 7 or any of the IIS are not configure to handle .json extension. So below is a very simple method to do that. You can apply the method on the root of IIS so .json can be handled by every site or virtual folder in the IIS or just to the specific site.
Open IIS Manager
Display properties for the IIS Server
Click MIME Types and then add the JSON extension:
File name extension: .json
MIME type: application/json

source:
http://www.uipress.com/add-json-handler-support-in-iis-7/#.VBcvavvu2-N
9 years ago
Hi,

As a follow up to this - we don't have this problem - but the file path that is returned by the RoxyfileMan does not include the virtual directory - so the images never show up in the TinyMCE editor - something you came across ?

ie we get:
/content/images/uploaded/someimage.jpg

when we need

/shop/content/images/uploaded/someimage.jpg

There is an easy manual fix - add the /shop - but explaining that to a end user gets tricky :-)

thanks, Scott
9 years ago
rush69 wrote:
OK Solved, now work fine.

follow this istruction:

Sometimes we need to create JSON in a text file with extension .json, however by default IIS 7 or any of the IIS are not configure to handle .json extension. So below is a very simple method to do that. You can apply the method on the root of IIS so .json can be handled by every site or virtual folder in the IIS or just to the specific site.
Open IIS Manager
Display properties for the IIS Server
Click MIME Types and then add the JSON extension:
File name extension: .json
MIME type: application/json

source:
http://www.uipress.com/add-json-handler-support-in-iis-7/#.VBcvavvu2-N


Just to add a few tips to clarify what's happening:

Nop's stock web.config file dutifully declares and handles JSON files as you can see below specifically for Roxyfileman.

web.config:

    <staticContent>
      <!--Cache static content for 24 hours-->
      <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="24.00:00:00" />
      <!--Allow json file loading (used by Roxy Fileman)-->
      <remove fileExtension=".json" />
      <mimeMap fileExtension=".json" mimeType="application/json" />
    </staticContent>


However, I found that somehow after deploying to my hosting(Arvixe) the mimeMap file extension declaration was lost and so Roxyfileman was unable to properly configure itself on startup(i.e. on click to add picture from TinyMCE), and throws those errors. Roxyfileman uses a conf.json file to configure itself and if your server isn't handling .json's then Roxy craps out.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.