You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.
I grepped the source. The failed to load keyfile comes from php/newsletter/config.php. The failed to enumerate {directory}, no such directory comes from php/newsletter/common/common.php. Still digging...
By the way, you don't need to end scripts with ?> if you're not emitting any HTML in them. The official PHP website also mentions this as a proper practice, too, although I can't recall the link for that right now. There's another reason why this is important, too. Just add a space after one of those ?> statements and sometimes you can trigger strange bugs to happen that can be maddening to find.
The whole project needs work. You can go a long way if you would add this when doing your development, and then comment it out before posting into production:
I'm finding several issues. Missing file by file paths. I had to create a /php/newsletter/settings/server.json and /php/newsletter/settings/keyfile, although I had no clue what to put in them yet because your docs don't cover this. I also had to add dirname(__FILE__) (newer PHP can utilize __DIR__ before the paths so that the file_get_contents() could know what path you're talking about in your code.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: