Testlink in XAMPP installieren

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

Testlink in XAMPP installieren

Postby Helmchen99 » 08. September 2023 09:58

Hallo,
ich bin neu hier und habe ein Problem. Ich möchte einmal Testlink austesten und da ich keine eigenen Server habe wollte ich es einmal mit Xampp ausprobieren. Dazu befolgte ich die Anleitung von dieser:
https://www.tutorialspoint.com/testlink/testlink_installation.htm
und bis Step 7 passt auch alles.
Wenn ich dann allerdings zustimme und auf Continue klicke, erhalte ich folgende Fehlermeldung:

Fatal error: Uncaught Error: Undefined constant "‘C" in C:\xampp\htdocs\Testlink\config.inc.php:311 Stack trace: #0 C:\xampp\htdocs\Testlink\install\installCheck.php(17): require_once() #1 {main} thrown in C:\xampp\htdocs\Testlink\config.inc.php on line 311

Diese Fehlermeldung erhalte ich da ich wie in Step 4 die Variablen $tlCfg→log_path und $g_repositoryPath angepasst habe. Wie ich das getan habe sehen sie hier:

$tlCfg->log_path = ‘C:/xampp/htdocs/Testlink/logs/’;

und hier:

$g_repositoryPath = ‘C:/xampp/htdocs/Testlink/upload_area/’;

Der aufmerksame Leser wird vielleicht fragen ob der Fehler nicht daher kommt, dass ich den : nach C weggelassen habe. Doch dies funktioniert jedoch nicht und führt zu folgender Fehlermeldung:

Parse error: syntax error, unexpected token ":" in C:\xampp\htdocs\Testlink\config.inc.php on line 311

Ich bin leider inzwischen mit meinem Latein am Ende und weiß nicht mehr weiter. Wenn mir jemand sagen könnte wie ich dieses Problem lösen könnte wäre ich sehr dankbar.
Helmchen99
 
Posts: 2
Joined: 08. September 2023 08:22
XAMPP version: 8.2.4-0
Operating System: Windows

Re: Testlink in XAMPP installieren

Postby Nobbie » 08. September 2023 23:51

So wie es aussieht verwendest Du die falschen Quotes. Es gibt ja verschiedene Quotes auf der Tastatur, entweder benutze die Double Quotes (da gibt es nur die einen), oder eben genau den anderen Single Quote (der Quote am Anfang muss genauso aussehen wie der am Ende). Also konkret so:

$tlCfg->log_path = 'C:/xampp/htdocs/Testlink/logs/';

oder so:

$tlCfg->log_path = "C:/xampp/htdocs/Testlink/logs/";

Bei Dir steht aber das hier und das ist falsch (schaue genau hin, notfalls vergrößere die Ansicht):

$tlCfg->log_path = ‘C:/xampp/htdocs/Testlink/logs/’;
Nobbie
 
Posts: 13176
Joined: 09. March 2008 13:04

Re: Testlink in XAMPP installieren

Postby Helmchen99 » 11. September 2023 08:32

Hallo Nobbie,
danke für die Antwort und ich habe versucht deine Vorschläge umzusetzen. Doch sie haben leider andere Fehlermeldungen hervorgebracht.
Bei $g_repositoryPath = 'C:/xampp/htdocs/Testlink/upload_area/ ';
$tlCfg->log_path = 'C:/xampp/htdocs/Testlink/logs/';

Deprecated: Function strftime() is deprecated in C:\xampp\htdocs\Testlink\config.inc.php on line 2022

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\common.php on line 427

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\common.php on line 427

Deprecated: Return type of ADODB_Iterator_empty::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\Testlink\vendor\adodb\adodb-php\adodb.inc.php on line 3154

Deprecated: Return type of ADODB_Iterator_empty::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\Testlink\vendor\adodb\adodb-php\adodb.inc.php on line 3158

Deprecated: Return type of ADODB_Iterator_empty::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\Testlink\vendor\adodb\adodb-php\adodb.inc.php on line 3150

Deprecated: Return type of ADODB_Iterator_empty::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\Testlink\vendor\adodb\adodb-php\adodb.inc.php on line 3146

Deprecated: Return type of ADODB_Iterator_empty::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\Testlink\vendor\adodb\adodb-php\adodb.inc.php on line 3144

Deprecated: Return type of ADORecordSet_empty::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\Testlink\vendor\adodb\adodb-php\adodb.inc.php on line 3209

Deprecated: Return type of ADODB_Iterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\Testlink\vendor\adodb\adodb-php\adodb.inc.php on line 3281

Deprecated: Return type of ADODB_Iterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\Testlink\vendor\adodb\adodb-php\adodb.inc.php on line 3285

Deprecated: Return type of ADODB_Iterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\Testlink\vendor\adodb\adodb-php\adodb.inc.php on line 3277

Deprecated: Return type of ADODB_Iterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\Testlink\vendor\adodb\adodb-php\adodb.inc.php on line 3273

Deprecated: Return type of ADODB_Iterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\Testlink\vendor\adodb\adodb-php\adodb.inc.php on line 3269

Deprecated: Return type of ADORecordSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\Testlink\vendor\adodb\adodb-php\adodb.inc.php on line 3361

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 291

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 291

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 292

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 292

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 293

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 293

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 294

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 294

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 296

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 297

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 297
Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 297

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 299

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 299

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 299

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 517

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 517

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 519

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 519

Deprecated: Creation of dynamic property tlLogger::$logLevelFilter is deprecated in C:\xampp\htdocs\Testlink\lib\functions\logger.class.php on line 142

Deprecated: Creation of dynamic property tlLogger::$db is deprecated in C:\xampp\htdocs\Testlink\lib\functions\logger.class.php on line 363

Fatal error: Array and string offset access syntax with curly braces is no longer supported in C:\xampp\htdocs\Testlink\third_party\kint\inc\kintParser.class.php on line 463

Und
bei $tlCfg->log_path = "C:/xampp/htdocs/Testlink/logs/";
$g_repositoryPath = "C:/xampp/htdocs/Testlink/upload_area/ ";


Deprecated: Function strftime() is deprecated in C:\xampp\htdocs\Testlink\config.inc.php on line 2022

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\common.php on line 427

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\common.php on line 427

Deprecated: Return type of ADODB_Iterator_empty::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\Testlink\vendor\adodb\adodb-php\adodb.inc.php on line 3154

Deprecated: Return type of ADODB_Iterator_empty::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\Testlink\vendor\adodb\adodb-php\adodb.inc.php on line 3158

Deprecated: Return type of ADODB_Iterator_empty::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\Testlink\vendor\adodb\adodb-php\adodb.inc.php on line 3150

Deprecated: Return type of ADODB_Iterator_empty::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\Testlink\vendor\adodb\adodb-php\adodb.inc.php on line 3146

Deprecated: Return type of ADODB_Iterator_empty::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\Testlink\vendor\adodb\adodb-php\adodb.inc.php on line 3144

Deprecated: Return type of ADORecordSet_empty::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\Testlink\vendor\adodb\adodb-php\adodb.inc.php on line 3209

Deprecated: Return type of ADODB_Iterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\Testlink\vendor\adodb\adodb-php\adodb.inc.php on line 3281

Deprecated: Return type of ADODB_Iterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\Testlink\vendor\adodb\adodb-php\adodb.inc.php on line 3285

Deprecated: Return type of ADODB_Iterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\Testlink\vendor\adodb\adodb-php\adodb.inc.php on line 3277

Deprecated: Return type of ADODB_Iterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\Testlink\vendor\adodb\adodb-php\adodb.inc.php on line 3273

Deprecated: Return type of ADODB_Iterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\Testlink\vendor\adodb\adodb-php\adodb.inc.php on line 3269

Deprecated: Return type of ADORecordSet::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\xampp\htdocs\Testlink\vendor\adodb\adodb-php\adodb.inc.php on line 3361

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 291

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 291

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 292

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 292

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 293

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 293

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 294

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 294

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 296

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 297

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 297

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 297

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 299

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 299

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 299

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 517

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 517

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 519

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in C:\xampp\htdocs\Testlink\lib\functions\string_api.php on line 519

Deprecated: Creation of dynamic property tlLogger::$logLevelFilter is deprecated in C:\xampp\htdocs\Testlink\lib\functions\logger.class.php on line 142

Deprecated: Creation of dynamic property tlLogger::$db is deprecated in C:\xampp\htdocs\Testlink\lib\functions\logger.class.php on line 363

Fatal error: Array and string offset access syntax with curly braces is no longer supported in C:\xampp\htdocs\Testlink\third_party\kint\inc\kintParser.class.php on line 463



Ich weiß leider nicht wie diese Fehler gelöst werden können.
Helmchen99
 
Posts: 2
Joined: 08. September 2023 08:22
XAMPP version: 8.2.4-0
Operating System: Windows

Re: Testlink in XAMPP installieren

Postby Nobbie » 13. September 2023 23:53

Das mußt Du den Hersteller Deines Scripts fragen, die Fehlermeldungen bedeuten, dass das Script veraltet ist und nicht mit dem neuesten PHP getestet wurde bzw. darauf angepasst wurde. Die Menge und Art der Meldungen läßt darauf schließen, dass das Script schon sehr lange nicht mehr gewartet wird.

P.S.: Ich habe mal gegoogelt, das letzte Release von Testlink ist vom Januar 2020. Also über 3,5 Jahre alt, wahrscheinlich höchstens mit PHP 7.4 getestet. Heute sind wir bei PHP 8.2.4. Das läuft da offensichtlich nicht, wahrscheinlich hat der Entwickler von Testlink seine Tätigkeit eingestellt. Das kannst Du getrost löschen.
Nobbie
 
Posts: 13176
Joined: 09. March 2008 13:04

Re: Testlink in XAMPP installieren

Postby taniyuki » 24. October 2023 09:42

Ich bin leider inzwischen mit meinem Latein am Ende und weiß nicht mehr weiter. Wenn mir jemand sagen könnte wie ich dieses Problem lösen könnte wäre ich sehr dankbar.
taniyuki
 
Posts: 1
Joined: 24. October 2023 09:34
XAMPP version: 2
Operating System: XAMPP

Re: Testlink in XAMPP installieren

Postby Nobbie » 24. October 2023 13:57

Welches Problem?
Nobbie
 
Posts: 13176
Joined: 09. March 2008 13:04

Re: Testlink in XAMPP installieren

Postby TestFire909 » 28. October 2023 19:21

Hi zusammen,

mit TestLink 1.9.20, welche man als "stable" Download findet, hat man leider in der Tat keinen Spaß mit aktuellem PHP :x
Im TestLink GitHub Repository findet man jedoch die Branches "testlink_1_9_20_fixed" oder auch "2.0.0-20220827-PHP8.1" - beide laufen unter XAMPP 8.2.4... evtl. bis auf einzelne Reports, aber zumindest ohne die Flut an Fehlermeldungen :D

https://github.com/TestLinkOpenSourceTRMS/testlink-code/branches/active

Hope that helps :)
TestFire909
 
Posts: 1
Joined: 28. October 2023 18:20
XAMPP version: 8.2.4
Operating System: Windows 10


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 102 guests