Comments (3)
PS. I saw on your forum that you suggested enabling debugging and clearing the cache. Debug mode doesn't help because the site doesn't even resolve a page due to the 500 error and php flarum cache:clear
doesn't help either.
from flarum-ext-embed-video.
Your issue is that you are trying to load a 6.5MB JS map file which is actually not very smart for a site that is in production. Loading .map
files are fine when you're debugging your code but not for dist
releases. This should remain in your src
folder and should not end up in dist.
$ ls -lh vendor/nearata/flarum-ext-embed-video/js/dist/forum.js.map
-rw-r--r-- 1 www-data www-data 6.5M Oct 26 15:30 vendor/nearata/flarum-ext-embed-video/js/dist/forum.js.map
Doing this:
$ rm vendor/nearata/flarum-ext-embed-video/js/dist/forum.js.map
-rw-r--r-- 1 www-data www-data 6.5M Oct 26 15:30 vendor/nearata/flarum-ext-embed-video/js/dist/forum.js.map
Fixed the 500 error which makes sense because now PHP is no longer trying to load 6.5MB into memory.
Please consider removing the .map for your production releases.
from flarum-ext-embed-video.
Sorry for the late response and thank you for your tests and solution. I'll publish a new release as soon as possible.
from flarum-ext-embed-video.
Related Issues (8)
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 flarum-ext-embed-video.