silverstripe / silverstripe-framework

Silverstripe Framework, the MVC framework that powers Silverstripe CMS
https://www.silverstripe.org
BSD 3-Clause "New" or "Revised" License
721 stars 821 forks source link

issue on server with /assets/admin.types.graphql #9810

Closed sunnysideup closed 3 years ago

sunnysideup commented 3 years ago

Affected Version

asyncphp/doorman                          3.1.0              Child process management
bramus/ansi-php                           3.0.3              ANSI Control Functions and ANSI Control Sequences (Colors, Erasing, etc.) for PHP CLI Apps
bramus/monolog-colored-line-formatter     2.0.3              Colored Line Formatter for Monolog
composer/ca-bundle                        1.2.8              Lets you find a path to the system CA bundle, and includes a fallback to the Mozilla CA bundle.
composer/installers                       v1.9.0             A multi-framework Composer library installer
embed/embed                               v3.4.12            PHP library to retrieve page info using oembed, opengraph, etc
guzzlehttp/psr7                           1.7.0              PSR-7 message implementation that also provides common utility methods
intervention/image                        2.5.1              Image handling and manipulation library with support for Laravel integration
jeremeamia/superclosure                   2.4.0              Serialize Closure objects, including their context and binding
league/csv                                9.6.2              CSV data manipulation made easy in PHP
league/flysystem                          1.1.3              Filesystem abstraction: Many filesystems, one API.
league/mime-type-detection                1.5.1              Mime-type detection for Flysystem
m1/env                                    2.2.0              Env is a lightweight library bringing .env file parser compatibility to PHP. In short - it enables you to read .env files with PHP.
marcj/topsort                             2.0.0              High-Performance TopSort/Dependency resolving algorithm
monolog/monolog                           1.26.0             Sends your logs to files, sockets, inboxes, databases and various web services
nikic/php-parser                          v4.10.4            A PHP parser written in PHP
psr/cache                                 1.0.1              Common interface for caching libraries
psr/container                             1.0.0              Common Container Interface (PHP FIG PSR-11)
psr/http-message                          1.0.1              Common interface for HTTP messages
psr/log                                   1.1.3              Common interface for logging libraries
psr/simple-cache                          1.0.1              Common interfaces for simple caching
ralouphie/getallheaders                   3.0.3              A polyfill for getallheaders.
silverstripe/admin                        1.7.0              SilverStripe admin interface
silverstripe/asset-admin                  1.7.0              Asset management for the SilverStripe CMS
silverstripe/assets                       1.7.0              SilverStripe Assets component
silverstripe/campaign-admin               1.7.0              SilverStripe campaign admin interface
silverstripe/cms                          4.7.0              The SilverStripe Content Management System
silverstripe/config                       1.1.0              SilverStripe configuration based on YAML and class statics
silverstripe/errorpage                    1.7.0              ErrorPage component for SilverStripe CMS
silverstripe/framework                    4.7.0              The SilverStripe framework
silverstripe/graphql                      3.4.0              GraphQL server for SilverStripe models and other data
silverstripe/mimevalidator                2.1.0              Checks uploaded file content roughly matches a known MIME type for the file extension.
silverstripe/recipe-cms                   4.7.0              SilverStripe recipe for fully featured page and asset content editing
silverstripe/recipe-core                  4.7.0              SilverStripe framework-only core recipe
silverstripe/recipe-plugin                1.5.0              Helper plugin to install SilverStripe recipes
silverstripe/reports                      4.7.0              Reports module for SilverStripe CMS
silverstripe/segment-field                2.2.3              A reusable approach to segment-generating fields
silverstripe/siteconfig                   4.7.0              Site wide settings administration.
silverstripe/userforms                    5.8.1              UserForms enables CMS users to create dynamic forms via a drag and drop interface and without getting involved in any PHP code
silverstripe/vendor-plugin                1.5.1              Allows vendor modules to expose directories to the webroot
silverstripe/versioned                    1.7.0              SilverStripe Versioned component
silverstripe/versioned-admin              1.7.0              SilverStripe versioned admin interface
sminnee/callbacklist                      0.1.1              PHP class that manages a list of callbacks
sminnee/silverstripe-verbosefields        dev-master eb40cd5 Silverstripe admin fields that let you provide more description content
sunnysideup/email_address_database_field  dev-master d2dc9ea E-mail address database field for the Silverstripe CMS
sunnysideup/googleanalyticsbasics         dev-master e47f6d9 add google analytics to your Silverstripe website
sunnysideup/health-check-provider         dev-master 530178e Provides data to the check.silverstripe-webdevelopment.com site
sunnysideup/metatags                      dev-master abb0ac6 simplify your metatags - a ton of tools to increase SEO visibility, including file name adjustments
sunnysideup/phone_field                   dev-master bc67a14 Silverstripe Module that adds a phone field to your database field options, such as Varchar and HTMLText
sunnysideup/simple-template-caching       dev-master 820f5ac Basic functions for caching content in your SS templates.
sunnysideup/staticpublishqueue            dev-master c4871a7 Static publishing queue to create static versions of pages for enhanced performance and security
sunnysideup/sunnysideup-theme             dev-master 9ebc4e7 SilverStripe theme used in-house by Sunny Side Up
sunnysideup/sunnysideup-theme-backend     dev-master 6c4bc3a Supporting module for the Sunny Side Up Theme.
sunnysideup/under-construction-or-offline dev-master 6d3c363 Set up a one page offline / Under Construction html page that you can point to with .htaccess file if required.
sunnysideup/webpack_requirements_backend  dev-master 8b87c41 Silverstripe Module that provides an alternative to the standard Silvertripe Requirements Backend class so that your application can run webpack.
swiftmailer/swiftmailer                   v5.4.12            Swiftmailer, free feature-rich PHP mailer
symbiote/silverstripe-gridfieldextensions 3.2.4              A collection of useful grid field components
symbiote/silverstripe-queuedjobs          4.6.2              A framework for defining and running background jobs in a queued manner
symfony/cache                             v3.4.47            Symfony Cache component with PSR-6, PSR-16, and tags
symfony/config                            v4.4.18            Symfony Config Component
symfony/filesystem                        v5.2.1             Symfony Filesystem Component
symfony/finder                            v4.4.18            Symfony Finder Component
symfony/polyfill-apcu                     v1.20.0            Symfony polyfill backporting apcu_* functions to lower PHP versions
symfony/polyfill-ctype                    v1.20.0            Symfony polyfill for ctype functions
symfony/polyfill-mbstring                 v1.20.0            Symfony polyfill for the Mbstring extension
symfony/polyfill-php56                    v1.20.0            Symfony polyfill backporting some PHP 5.6+ features to lower PHP versions
symfony/translation                       v4.4.18            Symfony Translation Component
symfony/translation-contracts             v2.3.0             Generic abstractions related to translation
symfony/yaml                              v4.4.18            Symfony Yaml Component
webonyx/graphql-php                       v0.12.6            A PHP port of GraphQL reference implementation

Description

Local site works fine, but on the server the graphql links are all broken:

When I load admin/pages locally it looks for: /admin/graphql/types (and works fine), but on the server when I open the CMS to edit a page, it tries to retrieve /assets/admin.types.graphql, which obviously does not exist. I do see it mentioned here: https://github.com/silverstripe/silverstripe-graphql/issues/156.

Steps to Reproduce

Not sure how it can be reproduced. It is a super simple project. I can give you access to the code and / or CMS if that helps for the project (it is our own site!).

sunnysideup commented 3 years ago

We removed a folder called cache in the public dir, and we removed the static cache module and now it works again!