Comments (7)
Hello?
from microblog.
I'm sorry, I can't really look into this right now. You could try removing (or commenting out) all of the htaccess, to see if it runs, and add the lines back in one by one, which is what I would do. I don't have a MAMP setup right now, but I'll leave this issue open. In case you find out what caused the issue, I'll gladly update the htaccess to reflect your changes. Sorry I can't be of more help right now. I'll look into it when I can.
from microblog.
Found it. templates/timeline.inc.php line 18 to 21 causes redirect loop. For some reason there is a check to redirect to home page if there are no posts. That obviously causes a loop.
if(empty($posts)) {
header('Location: '.$config['url']);
die();
}
from microblog.
Ah, thanks for the info though. This looks like a much more reasonable change to take on. I guess the initial setup process has not been revisited for a while now. I'll keep it in mind!
from microblog.
No probs!
Also, I'm having problems with login/logout on Mamp. For som reason it does not want to set/unset the cookie time. The it out of the sudden logges in but does not want to logout. Weird. I've checked the cookie value and it somehow gets stuck. No idea why. Checked PHP setup and there's nothing out of the ordinary.
from microblog.
Ok I've figured that one out as well. FYI
Cookie does not get set because of this check (found in 3 files)
$domain = ($_SERVER['HTTP_HOST'] != 'localhost') ? $_SERVER['HTTP_HOST'] : false;
localhost should be edited to match your setup. in my case it was localhost:8888
from microblog.
Ok I've figured that one out as well. FYI Cookie does not get set because of this check (found in 3 files)
$domain = ($_SERVER['HTTP_HOST'] != 'localhost') ? $_SERVER['HTTP_HOST'] : false;
localhost should be edited to match your setup. in my case it was localhost:8888
It should be changed to:
$domain = ($_SERVER['SERVER_NAME'] != 'localhost') ? $_SERVER['HTTP_HOST'] : false;
from microblog.
Related Issues (20)
- License? HOT 1
- Localhost installation HOT 5
- autolink
- Autolink - beware! HOT 1
- Implement ActivityPub
- RSS/Atom Feed HOT 1
- XMLRPC Interface HOT 4
- Micropub support HOT 2
- Threaded posts HOT 1
- Replace SHA1 for password hashing HOT 1
- Add support for attaching images to posts
- Provide a favicon
- Login with WebAuthn/Passkeys
- [not an issue] Youtube links to Embed player
- Check my fork! HOT 5
- Better and more organized themes HOT 2
- Atom vs RSS 2.0 in a Microblog Context HOT 2
- Add support for .bar export HOT 1
- Honeypot for password reset form
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 microblog.