Error on page

j6w25f - January 12, 2009 - 21:49
Project:DataBase File Manager
Version:5.x-4.2
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I have been trying to get DBFM working on my Drupal site. The main directory page loads and allows me to create more directories. When I click to upload a file, I receive an error on page icon on the bottom corner of my web browser. Can you please help me to get this working.

Windows Server 2003
IIS V6.0
PHP 5.2.8
MySQL 5.0.51a

#1

j6w25f - January 12, 2009 - 22:05

additional information from IE details:

error on:

Line 635
Char 87
Object Expected
Code 0

#2

geoff_eagles - January 13, 2009 - 10:45

What happens if you press the search icon (the leftmost icon near the upload icon)? I suspect a problem with dbfmgreybox.

#3

j6w25f - January 13, 2009 - 22:22

The search icon causes the same problem, except that the error is on line 607 char 67. Also, the help icon does work.

#4

j6w25f - January 14, 2009 - 00:42

I started to look into the dbfmgreybox issue. I found some more people that had issues with it and I found out that I needed to go into dbfmgreybox settings and click save configuration.

I did that and the upload window now opens. I got a page not found issue and so I went and got clean URLs turned on to fix that and now the upload page opens properly.

Now when I select a file to upload and click upload, it says "WARNING: Unable to upload your data file into the dB

You may now close this window.
"

Any ideas on where this problem may be coming from?

#5

geoff_eagles - January 14, 2009 - 09:59

That's a strange message - there's a bit missing!
The error is caused when mySQL tries to write a new entry in the database, however before the 'You may now close this window' text you should have the mysql error message as returned from the database - you've just got a blank line.
You can obviously communicate with the database because you've said you can create directories so this is a puzzle
Are you perhaps using mysqli rather than mysql?
What are the database settings you have in your sites/default/settings.php file?

#6

j6w25f - January 17, 2009 - 15:24

Ok, I have corrected that and now I can upload files. I am sorry to keep having all these problems but the readme file didn't give me much to go off of.

Here is another porblem. I am trying to change the read/write permissions on a directory. I have three folders and three organic group created. I want to set it so that group one only has access to folder 1. I can right-click the folder in DBFM and go to the properties. I change the radio button to "Restricted, writeable by the file owner (and the roles and groups detailed below - optional)" and then select group 1 and click save. It then returns a message of
"Problems updating the database record for Company 1

You should now close this window.
"

Do you know what would cause this sort of issue?

#7

geoff_eagles - January 19, 2009 - 10:27

There are only two possibilities I can think of.
The first, I would hope you've already checked - dbfm can't currently work with mysqli.
The second, and more likely possibility, is that mysql is running in strict mode. If you google about you can find exactly what that means.
If you are running in strict mode and you're NOT in a position to turn it off please get in touch and I'll use you as a guinea-pig to try out some code that could fix the problem.

#8

j6w25f - January 31, 2009 - 23:50

it was in strict mode, and I was able to change it on my test server, I shall see what happens when i deploy my site to my web hosting server. thanks for helping me with this.

 
 

Drupal is a registered trademark of Dries Buytaert.