Error while assiging reuirements to test cases

1.8 related questions and discussions.
Please upgrade to LATEST 1.9.x.
No more fixes for 1.8.

Moderators: Amaradana, TurboPT, TL Developers

Locked
Amaradana
Member of TestLink Community
Posts: 398
Joined: Mon Feb 16, 2009 11:19 am
Contact:

Error while assiging reuirements to test cases

Post 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
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

You are using modified code. There is no tlAttachmentRepository.class.php in original code.
Amaradana
Member of TestLink Community
Posts: 398
Joined: Mon Feb 16, 2009 11:19 am
Contact:

Post by Amaradana »

I have not modified any of the code, can you please tell me in which file do i have to modify.
peque
TestLink user
Posts: 3
Joined: Wed Apr 01, 2009 12:39 pm

Post 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
Amaradana
Member of TestLink Community
Posts: 398
Joined: Mon Feb 16, 2009 11:19 am
Contact:

Post 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,
xenita
TestLink user
Posts: 4
Joined: Mon Mar 30, 2009 11:57 am

error while assigning

Post 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.
pradeepks2003
TestLink user
Posts: 1
Joined: Wed Apr 01, 2009 1:59 pm

Post 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
Amaradana
Member of TestLink Community
Posts: 398
Joined: Mon Feb 16, 2009 11:19 am
Contact:

Post 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.
xenita
TestLink user
Posts: 4
Joined: Mon Mar 30, 2009 11:57 am

Post 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.
phoenix120
TestLink user
Posts: 1
Joined: Fri Apr 03, 2009 1:05 am

Post 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");
peque
TestLink user
Posts: 3
Joined: Wed Apr 01, 2009 12:39 pm

Post by peque »

This is great news.
Thank you all who contributed to find this fix.

/p
Locked