On the Create Content>File Node page, when I click the Browse button under File, a popup window appears, showing the error "You don't have permission to access /sitename/imce&app=FileNode|url@edit-filenode-file on this server."

I am using my admin account with every permission I can find turned on. What could be causing this?

Comments

Darebear’s picture

Anybody? This is a critical stop for me.

Karlheinz’s picture

Priority: Normal » Critical

I just installed both File Node and IMCE, and I have exactly the same problem.

To make sure it isn't a problem with IMCE, I went ahead and browsed to www.example.com/imce, and I was able to browse files exactly as I should.

My system:
Drupal 6.13
File Node 6.x-1.4
IMCE 6.x-1.2
IMCE_WYSIWYG Bridge 6.x-1.0

If this is not fixed, then File Node cannot be used at all. Could it be an incompatibility with another module?

EDIT: Confirmed with File Node 6.x-1.3 as well.

Also tried IMCE via TinyMCE, and it works fine. Even tried putting the TinyMCE code ("%40src") at the end of the popup's URL, instead of "edit-filename-file". Removing everything except "&app=FileNode" will make it work, but there's no "send to File Node" (or whatever) button like there is with TinyMCE.

Karlheinz’s picture

Well, I took a chance and installed in on my live site to test. Now it seems to work fine.

My development setup was using Localhost with XAMPP, but my live site is a typical LAMP setup. I'm guessing that it's some sort of permissions gaffe between Apache and Windows.

jatindersingh93’s picture

I was having the same problem, after searching for the solution at every possible way i try it my self and its working now, here is the solution:

1. open filenode.module
2. go to line number 122 i.e. window.open('{$base_url}imce&app=FileNode|url@edit-filenode-file', '', 'width=760, height=560');
3. replace this line with:
window.open('{$base_url}index.php?q=imce&app=FileNode|url@edit-filenode-file', '', 'width=760, height=560');

all i did is just added index.php?q after{$base_url}

.....happy days :D

jatindersingh93’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.