Scan dispatch problem-mkdir returned:1

arnabnaha wrote on Thursday, October 28, 2010:

Hi
I changed the scanner_output_directory in globals.php to a  folder in my documents. now i scanned in few documents and pictures to the said folder. In openemr, when i click on the Miscellaneous->fax/Scan, it shows the file under the scanner in tab nicely. now the problem is:

PROBLEM 1

when i click on dispatch, i get a popup window with a white page and " mkdir returned 1:" written on it. i did post it before, and got a reply about changing apache file permission. can you please help me with that?

PROBLEM 2

If i scan in an image in jpg format and click on the image name in the fax/scan window, it shows a white page. but in case of documents, it works fine with pdf (though i have tested pdf only). what image format are supported? i have tried with jpg and tiff.

Arnab

arnabnaha wrote on Friday, October 29, 2010:

PLEASE HELP!!!..…PLEASE ITS A REQUEST……

arnabnaha wrote on Friday, October 29, 2010:

looked into one of the similar problem discussed in the forums….

http://sourceforge.net/projects/openemr/forums/forum/202505/topic/2042874

but, the problem persists…please help…

arnabnaha wrote on Friday, October 29, 2010:

On installing the form scanned_notes from contrib/forms…and on saving that form from the encounter, it also shows the similar mkdir returned 1: error……Please help….what to do???

sunsetsystems wrote on Friday, October 29, 2010:

A mkdir error means that it failed to create a directory.  Very likely a permissions problem.  PHP scripts run as the user associated with the web server, so make sure that user has the needed permissions.

A white page usually indicates a PHP error.  You’ll need to look in your PHP error log to find out what it is.

Rod
www.sunsetsystems.com

arnabnaha wrote on Friday, October 29, 2010:

thanks rod,

please help me in accessing the user permission area in php. how to reach it? where to find it? i am new to php so, just need a bit help…please help!!!

sunsetsystems wrote on Friday, October 29, 2010:

Well you did ask in the Developers forum.  :slight_smile:

I take it you are using Linux?  You need to read up on basics of system administration, that’s really beyond the scope of this forum.  Concerning permissions in the filesystem, this may be helpful (especially if using Ubuntu): https://help.ubuntu.com/community/FilePermissions

Rod
www.sunsetsystems.com

arnabnaha wrote on Friday, October 29, 2010:

thanks rod,

i did ask it on the forum, but it was of no help…no one told me where to reach…i am using windows, xampp and openemr 4.0

sunsetsystems wrote on Friday, October 29, 2010:

I don’t use Windows, perhaps someone else has a guess?

Rod
www.sunsetsystems.com

arnabnaha wrote on Saturday, October 30, 2010:

Anybody on windows…please help me out…

bradymiller wrote on Monday, November 01, 2010:

hey,
What version OpenEMR you using (if using 4.0 development version, what date was it from)?
Any windows users out there also having problems with this function?
-brady

arnabnaha wrote on Monday, November 01, 2010:

Hi brady…
Using openemr 4.0. I update my openemr regularly from the github code. just now did it for the new payment module change of distribution amount.  The problem is still there. both the above problems….please help with this. how to chage the file permissions of php/apache in windows. please help…