Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error thrown with current Textile #1851

Closed
petecooper opened this issue Dec 6, 2022 · 5 comments
Closed

Error thrown with current Textile #1851

petecooper opened this issue Dec 6, 2022 · 5 comments

Comments

@petecooper
Copy link
Member

petecooper commented Dec 6, 2022

Using the auto-installer on the dev demo:

PHP Fatal error:  Uncaught Error: Class "Netcarver\Textile\Parser" not found in /var/www/servers/textpattern.co/dev-demo/live/dev/textpattern/vendors/Textpattern/Import/TxpXML.php:143
Stack trace:
#0 /var/www/servers/textpattern.co/dev-demo/live/dev/textpattern/vendors/Textpattern/Import/TxpXML.php(124): Textpattern\Import\TxpXML->importXmlArticles()
#1 /var/www/servers/textpattern.co/dev-demo/live/dev/textpattern/setup/setup_lib.php(170): Textpattern\Import\TxpXML->importXml()
#2 /var/www/servers/textpattern.co/dev-demo/live/dev/textpattern/setup/setup.php(106): setup_db()
#3 {main}
  thrown in /var/www/servers/textpattern.co/dev-demo/live/dev/textpattern/vendors/Textpattern/Import/TxpXML.php on line 143

Fatal error: Uncaught Error: Class "Netcarver\Textile\Parser" not found in /var/www/servers/textpattern.co/dev-demo/live/dev/textpattern/vendors/Textpattern/Import/TxpXML.php:143
Stack trace:
#0 /var/www/servers/textpattern.co/dev-demo/live/dev/textpattern/vendors/Textpattern/Import/TxpXML.php(124): Textpattern\Import\TxpXML->importXmlArticles()
#1 /var/www/servers/textpattern.co/dev-demo/live/dev/textpattern/setup/setup_lib.php(170): Textpattern\Import\TxpXML->importXml()
#2 /var/www/servers/textpattern.co/dev-demo/live/dev/textpattern/setup/setup.php(106): setup_db()
#3 {main}
  thrown in /var/www/servers/textpattern.co/dev-demo/live/dev/textpattern/vendors/Textpattern/Import/TxpXML.php on line 143

https://github.com/textpattern/textpattern/blob/dev/textpattern/vendors/Textpattern/Import/TxpXML.php#L143

@petecooper
Copy link
Member Author

@phiw13
Copy link

phiw13 commented Dec 7, 2022

Is the auto-updater confused by the changes in this commit: cdf4a2f (and discussions here:e581873#commitcomment-92153877)

The location change is basically renaming /Textile/ to /textile/.

I never saw the problem locally, but I use a case-insensitive file system (/Textile/ == /textile/). I guess the server runs a case sensitive filesystem.

@philwareham
Copy link
Member

Probably an error on my part - missed the uppercase when I did the revert. Will fix this morning.

@philwareham
Copy link
Member

Should be fixed now - please report.

@petecooper
Copy link
Member Author

Fixed. Thanks @philwareham!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants