Comments (5)
from tabby.
Hi there. This is an interesting bug (or at least it sounds like a bug). I think I know what might be causing it, but I'm surprised that you're running into this. Perhaps it only causes issues when using mod_fcgid or with specific PHP configuration.
Since I'm not 100% sure how to replicate this issue, it would be nice if you could perform a basic change for me in the code to see if that resolves your issue. Based on your GitHub profile, I'm hoping you'd be able to, but if not then let me know and I will try to find another way. Could you edit index.php and swap lines 149 and 150 (so the include of resources/init.php before the include of templates/header.php). Could you let me know if that fixes the issue? If not, then let me know if you get any other errors in your logs or if any behaviour changes. Thx!
from tabby.
@bertvandepoel Ah, thanks for your reply! I hadn't seen your message until just now, and I already tested the fix you suggested and have made a pull request. So please disregard my note in the PR about "whether you'd like to investigate further." :)
from tabby.
My host's PHP config is probably causing the error, by the way, it is a little unorthodox. :)
from tabby.
No problem! I'm actually surprised that on my two setups, as well as those of other users, this is not a problem. In the past (at least when I started in the day with PHP 4), you couldn't have any output (buffered) before running session_start, clearly now it's sometimes allowed.
Thx for the PR, but I would also need to adapt init.php and I want to check if there are any similar cases out there that could cause issues, so I will probably make a commit myself if you don't mind.
Have you checked if you have any other issues on other pages?
from tabby.
Related Issues (20)
- Alias support
- Recurring expenses? HOT 3
- In the US, we donβt have IBAN HOT 4
- Docker installation HOT 3
- Adding negative debt (credit) through an activity fails
- How to adapt php.ini for non-standard sendmail emailing? HOT 9
- Unable to delete activity HOT 11
- Feature Request: EPC QR-codes for bank transfer to European IBAN number
- Feature Request: Support for South African currency and bank account types HOT 6
- Feature Request Docker container HOT 14
- Switch from default mail function to PHPMailer HOT 5
- Issue: Typo in `check_any_debtors` function causing potential bug
- Today button when creating activity
- Also mention the total amount due in notification mails of new events
- Add favicon
- Change sorting for people with no debt
- Any chance for LDAP auth and SSO? HOT 11
- Debt values >1,000.00 not shown properly in record HOT 3
- 404 after install HOT 2
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 tabby.