ezyang / ezyang/htmlpurifier

`HTMLPurifier_ConfigSchema::makeFromSerial()` fails because `service.ser` is missing

Open
#376 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
3.4k
Forks
361
Avg merge
3d 41m
Merged PRs (30d)
2

Description

I have installed the lib with composer. It throws the following error:
file_get_contents(HTMLPurifier/ConfigSchema/schema.ser): Failed to open stream: No such file or directory

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at HTMLPurifier_ConfigSchema::makeFromSerial() and inspect how the Composer-installed package resolves HTMLPurifier/ConfigSchema/schema.ser. Check whether the serialized schema is included in the package and whether the reported service.ser name is a typo. Done means a Composer installation can load the schema without the missing-file error.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.