Skip to content

[6.x] Fix wrong paths for old guided tours files in script.php#3659

Merged
tecpromotion merged 1 commit intojoomlagerman:6.0-devfrom
richard67:6.0-dev-script-php-fix-deleted-files-path
Dec 21, 2025
Merged

[6.x] Fix wrong paths for old guided tours files in script.php#3659
tecpromotion merged 1 commit intojoomlagerman:6.0-devfrom
richard67:6.0-dev-script-php-fix-deleted-files-path

Conversation

@richard67
Copy link
Copy Markdown
Contributor

Pull Request für Issue #

Zusammenfassung der Änderungen

Fehlende führende Slashes in zu löschenden, alten Guided-Tours-Sprachdateien in script.php hinzugefügt.

Am einfachsten zu testen mit einer Open-Basedir-Restriktion in der php.ini und Loggen von Fehlern.

Derzeit beim Update des deutschen 6.0-er Sprachpakets:

PHP Warning:  is_file(): open_basedir restriction in effect. File(/htdocs/test4administrator/language/de-DE/guidedtours.joomla_whatsnew_5_2.ini) is not within the allowed path(s): (/htdocs/test4/:/htdocs/sitemedia/:/htdocs/shariff-backend-php/:/htdocs/shariff-backend-php-test/:/usr/lib/php8.4/) in /htdocs/test4/libraries/src/Installer/InstallerScript.php on line 325
PHP Warning:  is_file(): open_basedir restriction in effect. File(/htdocs/test4administrator/language/de-DE/guidedtours.joomla_whatsnew_5_2_steps.ini) is not within the allowed path(s): (/htdocs/test4/:/htdocs/sitemedia/:/htdocs/shariff-backend-php/:/htdocs/shariff-backend-php-test/:/usr/lib/php8.4/) in /htdocs/test4/libraries/src/Installer/InstallerScript.php on line 325
PHP Warning:  is_file(): open_basedir restriction in effect. File(/htdocs/test4administrator/language/de-DE/guidedtours.joomla_whatsnew_5_3.ini) is not within the allowed path(s): (/htdocs/test4/:/htdocs/sitemedia/:/htdocs/shariff-backend-php/:/htdocs/shariff-backend-php-test/:/usr/lib/php8.4/) in /htdocs/test4/libraries/src/Installer/InstallerScript.php on line 325
PHP Warning:  is_file(): open_basedir restriction in effect. File(/htdocs/test4administrator/language/de-DE/guidedtours.joomla_whatsnew_5_3_steps.ini) is not within the allowed path(s): (/htdocs/test4/:/htdocs/sitemedia/:/htdocs/shariff-backend-php/:/htdocs/shariff-backend-php-test/:/usr/lib/php8.4/) in /htdocs/test4/libraries/src/Installer/InstallerScript.php on line 325
PHP Warning:  is_file(): open_basedir restriction in effect. File(/htdocs/test4administrator/language/de-DE/guidedtours.joomla_whatsnew_5_4.ini) is not within the allowed path(s): (/htdocs/test4/:/htdocs/sitemedia/:/htdocs/shariff-backend-php/:/htdocs/shariff-backend-php-test/:/usr/lib/php8.4/) in /htdocs/test4/libraries/src/Installer/InstallerScript.php on line 325
PHP Warning:  is_file(): open_basedir restriction in effect. File(/htdocs/test4administrator/language/de-DE/guidedtours.joomla_whatsnew_5_4_steps.ini) is not within the allowed path(s): (/htdocs/test4/:/htdocs/sitemedia/:/htdocs/shariff-backend-php/:/htdocs/shariff-backend-php-test/:/usr/lib/php8.4/) in /htdocs/test4/libraries/src/Installer/InstallerScript.php on line 325

Man beachte das /test4administrator/ im Pfad. Joomla-Root ist hier (leicht anonymisiert /htdocs/test4).

Wo wird der Sprachstring angezeigt / Wie kann getestet werden

  • Backend
  • Frontend
  • API
  • Installation
  • Sonstiges (bitte beschreiben) s.o.

@tecpromotion
Copy link
Copy Markdown
Member

Danke @richard67

@tecpromotion tecpromotion added this to the 6.0.2v1 milestone Dec 21, 2025
@tecpromotion tecpromotion merged commit dfa3508 into joomlagerman:6.0-dev Dec 21, 2025
@richard67 richard67 deleted the 6.0-dev-script-php-fix-deleted-files-path branch December 21, 2025 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants