Page 1 of 1
Error while assiging reuirements to test cases
Posted: Tue Mar 31, 2009 5:26 am
by Amaradana
Error while assiging reuirements to test cases
Fatal error: require_once() [function.require]: Failed opening required 'tlAttachmentRepository.class.php' (include_path='.;C:\php5\pear;.;C:\wamp\www\testlink_release_rep\lib\functions\') in C:\wamp\www\testlink_release_rep\lib\functions\common.php on line 109
Please suggest what has to be assigned. I am using version 1.8.0
Posted: Tue Mar 31, 2009 9:39 am
by havlatm
You are using modified code. There is no tlAttachmentRepository.class.php in original code.
Posted: Wed Apr 01, 2009 12:25 pm
by Amaradana
I have not modified any of the code, can you please tell me in which file do i have to modify.
Posted: Wed Apr 01, 2009 12:50 pm
by peque
I have exactly the same problem, only that its hosted on *nix:
Fatal error: require_once() [function.require]: Failed opening required 'tlAttachmentRepository.class.php' (include_path='.:/usr/share/php:/usr/share/pear:.:/var/www/testlink/lib/functions/') in /var/www/testlink/lib/functions/common.php on line 109
I upgraded from 1.7.4 - >1.8, and no customizing what so ever has been done to core files.
Any ideas?
/P
Posted: Wed Apr 01, 2009 12:55 pm
by Amaradana
I even Downloaded a new file from the download and replaced the files, but still i was unable t0 find out the solution,
error while assigning
Posted: Wed Apr 01, 2009 1:34 pm
by xenita
Have any solution be found for this problem?
I installed the latest 1.8.0 version abd got this error when tried to assifg requirement to test case.
Thanks in advance.
Posted: Wed Apr 01, 2009 2:01 pm
by pradeepks2003
Even we are facing the same problem.
If anybody knows the solution for this issue, please let us know ASAP.
As it is major functionality.
Even, we tried some thing, but it went wrong.
Thanks,
Saipradeep.k
Posted: Wed Apr 01, 2009 2:40 pm
by Amaradana
I just found in mantis that an issue is logged a it is resolved on 30 march. hope this will release seen in the coming build. defect # 0002304 . I found a temperor solution. i have 1.8 Rc4 in my local box. in that version i was able to assign the test cases. i found that when i replace the file requirements.inc.php file from 1.8RC4 to 1.8.0 i was able to assign but i get a problem in generating the "requirements based testing" reports. I am working i will sure tell you when i find the solution. Though iam not a developer but will soon try to update you my next observation.
Posted: Wed Apr 01, 2009 3:08 pm
by xenita
Great, thank you a lot for suc quick responce. I was succeded now ro assign these thjngs with usage of RC 5 file version.
Lets wait for new releases.
Thank you again.
Posted: Fri Apr 03, 2009 1:10 am
by phoenix120
Thanks to Amaradana for pointing me to defect #0002304 in Tracker. It describes my problem exactly and provides a simple workaround. The workaround is: Add the following line to common.php
require_once("testproject.class.php");
Posted: Fri Apr 03, 2009 6:29 am
by peque
This is great news.
Thank you all who contributed to find this fix.
/p