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

Error while assiging reuirements to test cases

Postby Amaradana » Tue Mar 31, 2009 5:26 am

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

Postby havlatm » Tue Mar 31, 2009 9:39 am

You are using modified code. There is no tlAttachmentRepository.class.php in original code.
havlatm
Member of TestLink Community
 
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Postby Amaradana » Wed Apr 01, 2009 12:25 pm

I have not modified any of the code, can you please tell me in which file do i have to modify.
Amaradana
Member of TestLink Community
 
Posts: 398
Joined: Mon Feb 16, 2009 11:19 am

Postby peque » Wed Apr 01, 2009 12:50 pm

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

Postby Amaradana » Wed Apr 01, 2009 12:55 pm

I even Downloaded a new file from the download and replaced the files, but still i was unable t0 find out the solution,
Amaradana
Member of TestLink Community
 
Posts: 398
Joined: Mon Feb 16, 2009 11:19 am

error while assigning

Postby xenita » Wed Apr 01, 2009 1:34 pm

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

Postby pradeepks2003 » Wed Apr 01, 2009 2:01 pm

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

Postby Amaradana » Wed Apr 01, 2009 2:40 pm

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

Postby xenita » Wed Apr 01, 2009 3:08 pm

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

Postby phoenix120 » Fri Apr 03, 2009 1:10 am

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

Postby peque » Fri Apr 03, 2009 6:29 am

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

/p
peque
TestLink user
 
Posts: 3
Joined: Wed Apr 01, 2009 12:39 pm


Return to TestLink 1.8 (OBSOLETE => EOL)[LOCKED]



Who is online

Users browsing this forum: No registered users and 3 guests

cron