:( ../gui/templates_c directory is writable: Failed :(

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
neta12
TestLink user
Posts: 8
Joined: Tue Aug 29, 2006 2:56 pm

:( ../gui/templates_c directory is writable: Failed :(

Post by neta12 »

Hi all,

"./gui/templates_c directory is writable: Failed "

I've just started the installation. At the Checking part, I got the failure above.
Please let me know what should I do in order to fix this,
Thank you a lot!!!
Neta
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

You need to allow php access the directory.

Login to server via telnet or ssh.
Navigate to <testlink_root>/gui/ directory.
#chmod a+w templates_c
neta12
TestLink user
Posts: 8
Joined: Tue Aug 29, 2006 2:56 pm

Worked, Thanks a lot ! one more little question -->

Post by neta12 »

About the DB - if i want to use both Bugzilla and Testlink, should I still create a different DB for the Testlink ? (I guess yes but wanna make sure), Thank you again!
:wink:
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

Yes. That's two independent products with possible cooperation.
neta12
TestLink user
Posts: 8
Joined: Tue Aug 29, 2006 2:56 pm

Thank you a lot, and now I have a new problem -->

Post by neta12 »

(I added my last reply as a new topic by mistake, sorry :oops: )

While trying to install TestLink, I got:
"TestLink couldn't write the config file. Please copy the following into the ../config_db.inc.php file:"

Using the "find" command, I cannot filnd this config_db.inc.php file.
Is there a chance that there is no such file in my system? (FC4, MYSQL, Apache2)

Thanks a lot again, your help is so apprecriated !
neta12
TestLink user
Posts: 8
Joined: Tue Aug 29, 2006 2:56 pm

OK, I created it by my self,

Post by neta12 »

I don't use the manual installation but I did view its instructions and decided to create this file by my self.
I hope it was a correct thing to do, any way, the TestLink home page is up :)
Thank you all :roll:
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

You have not right access to testlink_root dir for php.
neta12
TestLink user
Posts: 8
Joined: Tue Aug 29, 2006 2:56 pm

How do I define access for PHP ?

Post by neta12 »

Thanks again.
Is chmod +w for testlink_root_folder is enough?
Is there a specific command to enable access for the php ?
Thank you!
neta12
TestLink user
Posts: 8
Joined: Tue Aug 29, 2006 2:56 pm

Warning appears in the JTree View:

Post by neta12 »

Hi,
I've just finish the installation and trying to build my new TestLink :roll:
After adding new components / TC / etc... I see the warning below:

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /usr/local/apache2/htdocs/testlink/lib/functions/treeMenu.inc.php on line 290 :

I added permissions to all the TestLink folders (chmod 777) in order to let the program an access to add and modify vatiables there.

It seem to not be the right thing to do case the warning is still there. each adding to the tree, trigger aother warning. How do I fix it?

Thank you 8)
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

Some users with amount of testcases need more time than is default for work. You could disable this line without harm.
You can also modify your php settings to disappear this warning. Ask Dr. Google for more.
ken
TestLink user
Posts: 2
Joined: Thu Dec 21, 2006 7:58 am

Post by ken »

Refer to your step:
chmod a+w gui/templates_c added OK.

running the auto install, it still reply errors as below:

Testlink Setup

Testlink Setup has carried out a number of checks to see if everything's ready to start the setup.

Checking PHP version: OK! (4.1.0 <= 4.3.9[your version] < 5.0.0 [not tested yet] )
Checking if Register Globals = OFF: OK!
Checking PHP DB extensions OK!
Checking if sessions are properly configured: OK!
Checking if ../gui/templates_c directory exists: OK!
Checking if ../gui/templates_c directory is writable: Failed!

Unfortunately, TestLink setup cannot continue at the moment, due to the above error . Please correct the error, and try again. If you need help figuring out how to fix the problem, please read the documentation in the TestLink Wiki, or visit the TestLink Forums.
ken
TestLink user
Posts: 2
Joined: Thu Dec 21, 2006 7:58 am

------------Install fails :-(, help!

Post by ken »

ken wrote:Refer to your step:
chmod a+w gui/templates_c added OK.

running the auto install, it still reply errors as below:

Testlink Setup

Testlink Setup has carried out a number of checks to see if everything's ready to start the setup.

Checking PHP version: OK! (4.1.0 <= 4.3.9[your version] < 5.0.0 [not tested yet] )
Checking if Register Globals = OFF: OK!
Checking PHP DB extensions OK!
Checking if sessions are properly configured: OK!
Checking if ../gui/templates_c directory exists: OK!
Checking if ../gui/templates_c directory is writable: Failed!

Unfortunately, TestLink setup cannot continue at the moment, due to the above error . Please correct the error, and try again. If you need help figuring out how to fix the problem, please read the documentation in the TestLink Wiki, or visit the TestLink Forums.
Could you help ~~~~ Thanks.
TurboPT
Member of TestLink Community
Posts: 343
Joined: Sun Dec 10, 2006 4:51 am

Post by TurboPT »

Ken,

We set ours to have all permissions: chmod 777 /gui/templates_c

see if that works.
Post Reply