redguy12 / perfect-pearls Goto Github PK
View Code? Open in Web Editor NEWHome Page: http://perfect-pearls.glitch.me/
License: Creative Commons Zero v1.0 Universal
Home Page: http://perfect-pearls.glitch.me/
License: Creative Commons Zero v1.0 Universal
https://perfect-pearls.glitch.me/index turns into https://perfect-pearls.glitch.me/index.php but https://perfect-pearls.glitch.me/index/ turns into https://perfect-pearls.glitch.me/index/.php
Obviously, only the first works.
Last night, 8 hours ago, my project was working fine. But now, it’s just saying “waking up” without actually ever “waking up”! This happens pretty often to me. How can I fix this?
It says, “starting” for a second, then “waking up” Up until then, my favicon was showing up. Then it reloads and my favicon disappears. It says “starting” for a few seconds again, then changes to “waking up” again and never changes again.
How can I permanently fix the loading issue? When I edited glitch.json earlier, it started working again, but now it’s broken again.
{
"install": "echo 'We Are Ready!'",
"start": "php -S 0.0.0.0:3000 -t ."
}
But you aren’t really supposed to use it for production apps.
var phpExpress = require('php-express')({
// Set bin path of PHP
binPath: 'php'
});
// We're assuming your express app variable is called 'app'
// Apply PHP manager
app.engine('php', phpExpress.engine);
app.set('view engine', 'php');
app.all(/.+\.php$/, phpExpress.router);
https://support.glitch.com/t/loading-forever-problem
UPDATE:
Partially fixed, yay!!
This is caused when the page is open for a suspended period at a time. I solved this by making the page redirect when focus is removed from the page. It redirects to a page hosted on GitHub Pages (because I only used Glitch for the PHP). See the code on the gh-pages branch of this repository. When the focus is returned to the page, it redirects back to the page the user was on before.
<input>
, <textarea>
, and <select>
values stay the sameA declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.