Unable to browse [solved]

brashquido - May 5, 2006 - 05:47
Project:Disk Node
Version:4.7.x-1.x-dev
Component:User interface
Category:bug report
Priority:critical
Assigned:Unassigned
Status:duplicate
Description

Hi All,

Had disknode working fine for me with Drupal 4.6, but am now having trouble with my test site using Drupal 4.7 and disknode. Both my production sites and test sites are on the same server, so environment wise they are identical. The sites are hosted on a Widows 2003 Server system using IIS 6, and the webserver user account has full control permissions on the files directory and everything in it.

The problem I am having is that when I go to add a file when adding a node by clicking on the "Browse" button, the screen refreshes but other than that nothing happens at all. With 4.6 I used to get another window that allowed me to navigate the file system and upload files, but I am not getting that now and nothing is showing in the watchdog logs. Any ideas?

#1

brashquido - May 5, 2006 - 06:05

Ok, I think this has to be a PHP environment or version thing. Just installed a fresh copy of Drupal 4.7 and DIsknode on my test system which is also a Windows 2003 server using IIS 6, but is running a different config and is running PHP 5.1.2 where my production server is running 4.3.10. I'll see if I can track this down.

#2

JamieR - June 18, 2006 - 15:15
Title:Unable to browse» FYI

I am also having this problem on all the systems I've tested it on:

Drupal 4.7.2
PHP 4.4.1 and PHP 5+
Linux, UNIX and OSX
Postgres as well as MySQL
In FireFox on a Mac.

Thanks!
:)
Jamie.

#3

JamieR - June 18, 2006 - 15:18
Title:FYI» Unable to browse

#4

mikewpg - July 8, 2006 - 13:10

We have also run into the same issue. DiskNode would meet our needs perfectly. Any idea when this will be resolved?

#5

lccweb - August 8, 2006 - 20:55
Title:Unable to browse» Unable to browse comment

i found that the disknode javascript and its css is not being included during paging rendering. my only clue was that a disknode function call (when clicking the browse button) triggered a javascript error in the browser console.

if i hardcode calls to the disknode files into the page template the browse button works, a small popup appears and i can select a file from the list. info button doesn't work though so something else is missing from the page. and there is no sign of the upload, etc. buttons, even with all access control permitted.

my environment is win 2003 server, drupal 4.7.3, php 5.0.18, and iis6. i'll have to check the php extensions loading but it's a pretty short list. adding mime_magic fixed a screen error.

i hope that this helps a bit.

#6

lccweb - August 9, 2006 - 00:42

followup to my comment on the info button not working.
i had to modify the four disknode .tpl.inc files (browse, info, mkdir, upload) and change the

<?=  to <?php print

before the info window variables started displaying their values and the function buttons appeared.

i hope that this helps someone out.

#7

tain - August 23, 2006 - 16:45
Title:Unable to browse comment» Unable to browse
Priority:normal» critical

The problem I am having is that when I go to add a file when adding a node by clicking on the "Browse" button, the screen refreshes but other than that nothing happens at all.

Ditto. This bug renders DiskNode completely useless (critical).

If I use the URL tips posted here: http://drupal.org/node/52344 I can manually open up the DiskNode browsing interface but it doesn't restore actual functionality.

Contrary to the Safari post (http://drupal.org/node/79387), this issue exists for me in Opera 8.54, FF 1.5 and IE 6.

My LAMP environment includes Drupal 4.7.3 and PHP 5.0.5.

#8

tain - August 23, 2006 - 17:41

I just tried this again on a new, default drupal installation. No other modules, themes etc. installed.

Same results.

#9

tain - August 23, 2006 - 17:57
Title:Unable to browse» Unable to browse [solved]

This link contains the answer: http://drupal.org/node/62018

Moving the DiskNode module to drupal/modules instead of drupal/sites/default/modules fixed this problem for me.

drupal/sites/default/modules is recommended by the drupal handbook so I consider this a bug in DiskNode.

#10

knseibert - October 26, 2006 - 20:21
Status:active» needs review

Hi,
i took a look at the activeselect module, which also includes js. Just changed 2 lines within disknode.module to make it work in every module folder.

Comments and testing appreciated.

AttachmentSize
disknode_module_path.patch.txt 952 bytes

#11

jramirez - January 3, 2007 - 10:19

I know this bug is supposed to be closed but I have patch my disknode.module and I still can't browse to add files.
Drupal 4.7.4
Apache 1.3.34
PHP 4.4.2

#12

jramirez - January 4, 2007 - 09:42

It was my fault I did'nt copy all the files to correct path.

#13

yareckon - September 21, 2007 - 16:19

The patch above (I actually applied it manually) worked. Even the current 4.7 version of disknode doesn't function if in the sites/modules folder until you patch it.

#14

mooffie - November 6, 2007 - 04:49
Status:needs review» duplicate

This is duplicate of http://drupal.org/node/178231

 
 

Drupal is a registered trademark of Dries Buytaert.