CSV requirements import

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
davidbrett
TestLink user
Posts: 3
Joined: Tue May 10, 2011 1:04 am

CSV requirements import

Post by davidbrett »

TestLink neebie I'm afraid. Have successfully installed Testlink version 1.9.2 onto Windows Server 2003, using IIS, MYSQL, and PHP version 5.3.6 (installed using the Windows Installer).

I am unable to import a simple CSV files containing a couple of requirements, although I have tested successfully on the DEMO server running on the web with the same CSV file. On my installation, Testlink returns a warning popup: "Please choose the file to upload" after attempting to upload the file.

I have searched for hours the forum and investigated many different causes, but to no avail. I have confirmed via phpinfo that "dom" is enabled (libxml is active, version 2.7.7), iconv is enabled, xmlrpc is present (php extension version 0.51).

Really need the requirements import to work in order for TestLink to be a viable test tool in our organisation and would really appreciate some help on this please!

My PHP Info details can be found at the following: https://docs.google.com/leaf?id=0B1M1Um ... ODg5&hl=en
davidbrett
TestLink user
Posts: 3
Joined: Tue May 10, 2011 1:04 am

Re: CSV requirements import

Post by davidbrett »

OK, I've switched display_errors to 1, and receive this:

The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.

--------------------------------------------------------------------------------

Only one top level element is allowed in an XML document. Error processing resource 'http://localhost/testlink/lib/requirem...

<?xml version="1.0"?><methodResponse><fault><value><struct><member><name>faultCode...


Any help please?
davidbrett
TestLink user
Posts: 3
Joined: Tue May 10, 2011 1:04 am

Re: CSV requirements import

Post by davidbrett »

Right, made some progress by logging the errors rather than displaying them to screen (setting log_errors = On in php.ini).

Found the following error displayed in the log:

[10-May-2011 02:26:17] PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0

Changed the upload_tmp_dir setting in php.ini to be: upload_tmp_dir="C:\Inetpub\wwwroot\testlink\upload_area"

Now get the Import Done screen displaying (where it didn't before) - but no rows under the "Doc ID / Title / Result" columns.

Small steps....
Post Reply