๐Ÿ‡บ๐Ÿ‡ธUnited States @kdomenick

Pennsylvania
Account created on 29 May 2015, about 9 years ago
#

Recent comments

๐Ÿ‡บ๐Ÿ‡ธUnited States kdomenick Pennsylvania
๐Ÿ‡บ๐Ÿ‡ธUnited States kdomenick Pennsylvania

Unfortunately, after enabling the Project Browser module, it is not able to Add and Install modules. Suspect file system permissions issues.

Expected result (Add and Install button)

Actual result (View Commands buton)

Opened thread in Drupal Slack
https://drupal.slack.com/archives/C01UHB4QG12/p1718991635577659

๐Ÿ‡บ๐Ÿ‡ธUnited States kdomenick Pennsylvania

Project Browser Install Notes

There are multiple ways to manage a Drupal site and module installation on Drupal. These instructions assume no previous Drupal experience or experience with Composer, repo management or local development.

Install with URL

On Hostinger, the easiest way to install Project Browser is through the module tarball URL. Visit the Project Browser page on Drupal.org, scroll to the Releases section and click on the latest release.

  1. Right-click on either of the download options and Copy Link Address.
  2. In your Drupal site, navigate to /admin/modules/install
  3. Paste the URL and click Continue
  4. After the module is added, the following screen will appear. Click the link to Enable newly added modules.
  5. On the /admin/modules screen, Search for Project Browser, Check the box next to it, click Install.
  6. After successful installation, a new Browse tab will appear on the /admin/modules screen.
  7. Click Browse to begin browsing and installing additional modules.

Install with Upload or File Manager

NOTE: Use this option only if you are familiar with Drupalโ€™s architecture.

Hostinger allows you to manage the file system of your website directly through the File Manager tool. The File Manager tool may be helpful for other tasks, as well.

Access File Manager by first selecting the Manage button on the Home tab of your Hostinger dashboard, located to the right of your selected hosting plan.
Expand the Files section on the left sidebar and click File Manager.
This opens a new window with direct access to the file system of your website. Your installation location and directories may vary.
Upload and unzip the module tarball to the modules directory.
In your Drupal site, navigate to /admin/modules. Locate and Enable the Project Browser module.

Install/Manage with Git

NOTE: Use this option only if you have a Github account, and are familiar with Git version management and Drupalโ€™s architecture.

Hostinger provides instructions for connecting to an existing Github repository.

This process works for existing repositories that already contain a Drupal site. It allows you to deploy that existing site to your Hostinger account. However, the opposite does not seem to apply (you cannot take a Drupal site installed through Hostinger and push that to a repo).

(Needs further review)

Install with Composer

Hostinger provides instructions for using Composer with their Web Premium, Web Business, and Cloud plans.

This requires SSH access, which may not be available on lower-tier plans.

Detailed Instructions with Images

https://kimdomenick.github.io/projectbrowser/InstallProjectBrowser/

๐Ÿ‡บ๐Ÿ‡ธUnited States kdomenick Pennsylvania

Steps to Install

Drupal Install Notes

When setting up a hosting account on Hostinger, a series of prompts guides you through selecting a CMS. They promote Wordpress and their own website builder, but other options are available, one of which is Drupal.

  1. Use the Auto Installer tool from the Websites tab to start the Drupal installation.
  2. Click Select on the Other card.
  3. Search for Drupal and then click Select.
  4. Type a Website Title, Admin email, username and password. Under the Advanced section, optionally specify an installation path and database options.
  5. Choose a Drupal version, language, PHP version and Application Update settings. Click Install.
  6. After the installation completes, access your Drupal site on the Websites tab of your hosting Dashboard.

Detailed Instructions with Images

https://kimdomenick.github.io/projectbrowser/InstallDrupal/

๐Ÿ‡บ๐Ÿ‡ธUnited States kdomenick Pennsylvania

kdomenick โ†’ created an issue.

๐Ÿ‡บ๐Ÿ‡ธUnited States kdomenick Pennsylvania

@phenaproxima โ€“ I don't see Config Page in the sandbox codebase, either in the modules/contrib directory or in composer.json. Weird one.

๐Ÿ‡บ๐Ÿ‡ธUnited States kdomenick Pennsylvania

On the GraphQL moduleโ€ฆ I worked with GraphQL 3.x on both Drupal 9 and 10. It is compatible with those core versions; however, I think the issue here may be that GraphQL 3.x has a different project architecture than GraphQL 4.x.

3.x has a sub module called โ€œGraphQL Coreโ€ that does not exist in the 4.x version. (In 3.x, the sub module shows up separately in the Extend UI and in core.extension.yml.)

If youโ€™re running GraphQL 4.x and try to install the GraphQL Responsive Image module (which relies on 3.x), it makes sense that it fails, because it canโ€™t find that GraphQL Core sub module.

@jonycp - Are you running GraphQL 4.x?

๐Ÿ‡บ๐Ÿ‡ธUnited States kdomenick Pennsylvania

But the issue is describing a situation where composer can't resolve the dependencies and it is failing ungracefully. Do we have a way to reproduce this with a different module?

@sime โ€“ Yes. On a clean install of Drupal with Gitpod, I had an ungraceful failure with the installation of Config Pages:
StageEventException: Problem detected in lock file during stage operations. There appear to be no pending Composer operations because the active lock file (/var/www/html/composer.lock) and the staged lock file (/tmp/.package_manager9d13a6a4-2b13-4d12-a842-06aa7b39c4a8/pF8CYYRk6EtjiRw3UCKJSTXcbtrAJwZX/composer.lock) are identical.

Although, this probably constitutes a separate issue ^^, it's an example of a failure that a non-developer would likely not be able to resolve.

๐Ÿ‡บ๐Ÿ‡ธUnited States kdomenick Pennsylvania

I have a Drupal site on Hostinger. I will test Project Browser there. I can open a new child issue and assign it to myself, if that's the preferred flow?

We definitely want to test on Hostinger, if no one has done so already, because they are listed on the Drupal.org/hosting page.

๐Ÿ‡บ๐Ÿ‡ธUnited States kdomenick Pennsylvania

After upgrading to D10, we had the same issue and error with JSONAPI endpoints that contained Duration fields. Endpoints with Duration fields were unavailable and this error displayed in the error logs when trying to access them:
TypeError: Drupal\serialization\Normalizer\PrimitiveDataNormalizer::normalize(): Return value must be of type ArrayObject|array|string|int|float|bool|null, DateInterval returned in Drupal\serialization\Normalizer\PrimitiveDataNormalizer->normalize() (line 36 of /var/www/html/web/core/modules/serialization/src/Normalizer/PrimitiveDataNormalizer.php).

Just confirming that the patch resolved the issue for us.

Production build 0.69.0 2024