This topic is locked
[SOLVED]

 PHPR 6.1 import

5/9/2012 6:26:58 AM
PHPRunner General questions
hfg author

I upgraded a project from 6.0 to 6.1 and now get an error when I try to import

Technical information

Error type 2

Error description file(): Filename cannot be empty

URL 10.0.0.8/apps/fileindex/autosidescans_import.php?

Error file C:\inetpub\wwwroot\apps\fileindex\include\import_functions.php

Error line 112

SQL query
More info
Call stack

File: line Function Arguments

0. include\import_functions.php:112 runner_error_handler 1. 2;

  1. file(): Filename cannot be empty;
  2. C:\inetpub\wwwroot\apps\fileindex\include\import_functions.php;
  3. 112;
  4. Array ( [uploadfile] => ) ;

    1. (null):0 file 1. ;

    2. include\import_functions.php:112 getImportCVSFields 1. ;

    3. autosidescans_import.php:204 ImportFromCSV 1. ;

    4. autosidescans_import.php:583 Global scope N/A



Sergey Kornilov admin 5/9/2012

Post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program. Attach import file in question along with instructions on reproducing the issue.

hfg author 5/10/2012

I uploaded the project and then tested it and it worked on the demo server. I think my issue has something to do with permissions as this is a new server. It is a server 2008 running IIS. I have changed the permissions on the template_c folder but that has not helped. What are the proper settings for at 2008/IIS setup?

Sergey Kornilov admin 5/10/2012

Make sure that PHP on the server is configured to upload files. If import file is large - make sure IIS and PHP file size upload limits are set high enough or test it with smaller CSV file first.
No adidtional permissions on PHPRunner directories are required.

hfg author 5/10/2012

Thanks for pointing me in the right directions, it was a PHP temp dir setting and related permissions. It is working now.