[BAD CONFIGURATION] Attachment not found after upgrade

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Locked
arielgott
TestLink user
Posts: 14
Joined: Mon Oct 28, 2013 8:24 pm

[BAD CONFIGURATION] Attachment not found after upgrade

Post by arielgott »

Hi
Iv'e upgrade my Testink from version 1.9.3 to version 1.9.9 in the slow and safe way (version after version).
Iv'e notice that after the upgrade to version 1.9.5 the attachment directory was not found at all. the testlink look for the path /var/testlink/upload_area while my files were in the following path: /var/www/html/testlink/upload_area.
I copied the directory to the new path and now I can see in the test cases that I have a file attach, but when i'm trying to download it, it open a new page with the following error:
"Error: Attachment not found!"

please help,
arielgott
TestLink user
Posts: 14
Joined: Mon Oct 28, 2013 8:24 pm

Re: Attachment not found after upgrade

Post by arielgott »

SOLVED by changing in the Config.inc.php changes the /var/upload_area to upload area.

$g_repositoryPath = TL_ABS_PATH . "upload_area" . DIRECTORY_SEPARATOR;
$tlCfg->log_path = TL_ABS_PATH . 'logs' . DIRECTORY_SEPARATOR ;


we've also change the logs to be in the same directory.
Locked