Test Case import issue with PHP5

The release 1.6 is going to be unsupported by Community. Because our effort moves ahead. However there are still valuable informations for you.

Test Case import issue with PHP5

Postby Xgrind » Fri May 11, 2007 5:56 am

Hi,

I just upgraded to PHP5 from PHP4 and now I can't import test cases using csv files. I am able to do that before the upgrade. Nothing had been modified on the testlink code.

Can anyone help on this? Greatly appreciated.
Xgrind
Advanced user
 
Posts: 25
Joined: Mon Dec 18, 2006 2:24 am

Postby timbo » Thu Jul 26, 2007 3:34 pm

Hi there,

Did you ever get this fixed as i think i have the same issue. I migrated TestLink from a RH4 to RH5 server and PHP is the the only difference that i can see is causing me issues!


Thanks


Tim
timbo
TestLink user
 
Posts: 9
Joined: Thu Jul 19, 2007 2:46 pm

Postby Xgrind » Fri Jul 27, 2007 11:28 am

Hi Tim,

No, I did not get it solved. I rolled back to PHP4 at the moment
Xgrind
Advanced user
 
Posts: 25
Joined: Mon Dec 18, 2006 2:24 am

Postby timbo » Mon Jul 30, 2007 2:49 pm

I have now got this fixed. I found this by looking through the bugs on http://testlink.org/mantis.

You need to set the following in your php.ini file and restart apache.

register_long_arrays = On
timbo
TestLink user
 
Posts: 9
Joined: Thu Jul 19, 2007 2:46 pm

Postby Xgrind » Tue Aug 28, 2007 8:40 am

Thanks Timbo!

I checked in Mantis and found this:

add this line into tcImport.php and reqimport.php

Code: Select all
$HTTP_POST_FILES = isset($_FILES) ? $_FILES : $HTTP_POST_FILES;


Afterwhich I can import the test cases :)
Xgrind
Advanced user
 
Posts: 25
Joined: Mon Dec 18, 2006 2:24 am

import test cases

Postby zeus » Thu Oct 11, 2007 10:51 pm

Both of the above solutions worked for importing requirements, but importing test cases still doesn't work.

Is there anything else I can try?

I know the real answer is to upgrade to 1.7, but I don't have time for that at the moment.

Any help is greatly appreciated.

Thanks!
zeus
TestLink user
 
Posts: 9
Joined: Wed Jan 17, 2007 12:06 am


Return to TestLink 1.6 (closed)



Who is online

Users browsing this forum: No registered users and 3 guests

cron