Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • S sg_cookie_optin
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 11
    • Issues 11
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • TYPO3
  • sg_cookie_optin
  • Issues
  • #133
Closed
Open
Issue created Sep 30, 2020 by Henrik@henrik.ahrens

Invalid Resources-Path when TYPO3s Base-Url is a sub directory

When TYPO3s Base URL is a sub directory (not domain-root, eg. domain.de/my-cool-website) the path to the cookieOptIn.(css|js) file is wrong. It will be fetched from /fileadmin/sg_cookie_optin/siteroot-1/cookieOptin.css instead of /folder/fileadmin/sg_cookie_optin/siteroot-1/cookieOptin.css

Error occurs in v9.5

I've solved it by prefix the css/js with the configured Site-Base Classes/UserFunction/AddCookieOptinJsAndCss.php but this won't work in older typo3-versions.

Edited Sep 30, 2020 by Henrik
Assignee
Assign to
Time tracking