Skip to content

Tracy .phar files for 2.11.0 and 2.10.10 are missing JS assets #610

@costasovo

Description

@costasovo

Version: 2.11.0 and 2.10.10

Bug Description

A Tracy phar file should bundle all necessary assets (JavaScript) inside the archive. When Tracy's DeferredContent::buildJsCss() method runs, it reads these assets from inside the phar and combines them into a single JavaScript response for the ?_tracy_bar=content.xxx AJAX requests.

In versions 2.10.10 and 2.11.0, the asset files inside the phar are not actual JavaScript/CSS files - they're 404 HTML error pages:

<html><head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>404 Page not found</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: Page not found</h1>
<h2>The requested URL was not found on this server.</h2>
</body></html>
Image

Steps To Reproduce

Try to use Tracy via .phar

Expected Behavior

The assets are present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions