Comments (8)
Are you the lucky one, just to be sure?
from textpattern.
I am not sure at all, sorry. Investigating.
I am currently rebuilding my dev setup and suddenly out of the blue this error appeared. First, I blamed XDEBUG, then I found this thread and now I'm a bit confused what really happens...
My php.ini contains the line ;extension=intl
with a prefix comment. I am running XAMPP like testdeputy here.
My phpinfo() reports this no matter whether I enable or disable ;extension=intl
in the php.ini file :
intl
Internationalization support | enabled |
---|---|
ICU version | 73.2 |
ICU Data version | 73.2 |
ICU TZData version | 2023c |
ICU Unicode version | 15.0 |
Confusing... Any help very appreciated.
from textpattern.
Theoretically, txp calls strftime()
only if it has no other choice:
- the date format includes a localized string (month name etc)
intl
extension is not enabled
Have you tried to uncomment extension=intl
(and restart the server)?
from textpattern.
Yes, I have (un)commented the php.ini line regarding extension intl. Didn't help at any state.
I now changed the Archive date format in Preferences to %Y-%m-%d
, and then back to the previous pattern %b %d, %I:%M %p
which it had when the error popped up. The error vanished. Misterioso.
from textpattern.
If it's on a remote server, there is sometimes a lag after settings change. Or a cache issue. Otherwise no clue.
from textpattern.
I am working on my local machine.
And now the error has reappeared without me doing anything. It looks like it depends on the $whatever. Time to close the lid it seems. Heisenbug.
from textpattern.
Is class_exists('IntlDateFormatter')
misbehaving somehow?
from textpattern.
class_exists('IntlDateFormatter')
returns false
correctly in situations when the error pops up.
After good night's sleep and definitely uncommenting extension=intl
in php.ini
the error does not occur any more.
Looks like PEBKAC. Sorry for the confusion.
from textpattern.
Related Issues (20)
- Update HISTORY and/or README.md that Textpattern will not run as expected with PHP 8.3.0 under some circumstances. HOT 2
- Prep work and actions for MySQL 8.3 support
- Progressively get rid of MD5 HOT 2
- jQuery 4.0.0 is coming soon HOT 2
- How to customize <title></title> HOT 1
- how to install EDITOR HOT 2
- Safari 15.7 / iOS 15 preview text view not loading HOT 2
- Show spam form action (or rather page URL) is not updated on clear search HOT 6
- Textpattern 4.9.0 release flight plan HOT 17
- Incorrect layout on the plugins panel HOT 3
- RFC: Textpattern 4.9 is final 4.x release; Textpattern 5.0 next 'big' release HOT 6
- Edit file / missing file: non functional “delete” button
- Edit file / missing file: SQL error and warning when pressing ‘save’ HOT 1
- Edit file panel - some HTML & layout issues HOT 1
- utf8_en/decode() are deprecated in PHP 8.2 HOT 7
- PHP 8.4 compatibility tracking HOT 4
- Articles with status 'Hidden' do not return a `404 Not Found` response when requested but a `200 OK` HOT 1
- RFC: would `htmz` solve any problems? HOT 1
- Form names may contain hyphens or other 'strange' characters. Such form names do not work as 'txp::' shortcuts. HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from textpattern.