how to fix this eror ?
Warning: Cannot modify header information
how to fix this eror ?
Warning: Cannot modify header information
Had conflicting database instances. Working now.
Last edited by Tanis230; 11-03-19 at 09:45 AM.
It seems like there's been a lot of people struggling with reCaptcha, or deleting it all together.
I've released v1.3 (https://github.com/greenelfx/MapleBit/releases/tag/v1.3) which bumps recaptcha to v3 to be less intrusive.
I've also updated the instructions to obtain keys to be clearer. Let me know if you have issues! please don't delete recaptcha!
Hey, so I downloaded the latest version of your cms and I just can't get it to work.
Problem 1:
I get this, it even started in the installation process:
I really tried to look thru everyone else's posts to see if they already asked but couldn't find it.
Problem 2:
---------------
My problem with reCAPTCHA is that it doesn't appear in the registration process, thus when you try to register, I get the recaptcha field is invalid. I see that it appears bottom right corner with an error message saying "Error for site owner: Invalid domain for site key"
Problem 3:
---------------
I created an account in mysql, but when I try to log in using the website it doesn't connect.
Any ideas to how to solve my problems? Thank you so much for your source and thanks for taking your time to look and help noobs like me.
Last edited by Andazu; 06-04-20 at 11:38 AM.
amazing work in maplebit 1.3 in bicrypt password wok great !!!!
I have 3 main problem in maplebit cms
1.in v1.3 the gd not working (in maplebit 1.2 it work fine)
2. if i fully offline i cannot connect to the user panel it even not say"wrong username and password"after i log in to internet it let me log in or if i put wrong pasword its say "wrong username or pasword" (kind of suspicious maplebit track after your passwords??)
3. the ranking section allways say "ranking not available yet" in 1.2 version and the 1.3 version it never work i use heavenMs source.
I hope the maker release option in admin panel to cancel te rechapa in registeresion
Please maplebit creator fix all of that
Problem 1 try xampp not wamp and tell me about this error or try to change php version in wamp
Problem 2 try to get the code from google like the istruction say you sepose to get privet code and public one put them in admin panel
I try myself to code register.php to remove rechaptcha
But i not so good in php
Problem 3 what kind of source you have in your maplestory privet server?
Ok i fix the problem 3 all my cheracter was gm!
I turn them to normal cheracter and the ranking was available
But still the gd not work in 1.30 version onli in 1.20
And still i cant log in to my user if i use onli wamp server i still need a working internet connection (wierd?!?)
I started working on a v2 branch for fun. It combines a lot of the ideas I had in my old stormcaster project, but is significantly more maintainable due to test driven development and some nice CI/CD tooling. If you're interested, check out the following links:
- MapleBit SwaggerUI
- v2 branch: https://github.com/greenelfx/MapleBit/tree/v2
I don't know if I'll end up completing this either this time around, but I guess we'll find out :)
The end goal is to have something similar to stormcaster but more feature complete / user-friendly and achieve core feature parity with MapleBit. Maybe will utilize react+SSR to be able to use React but not require users to mess around with serving a static site themselves.
currently, there is support for:
- stateless authentication, registration and session management
- roles and permissions
- Article CRUD operations
- basic user account support for disconnecting loggedin status, updating password
planned:
- comments, likes on Articles
- dynamically create static page content (kinda like MapleBit's page creator, but integrate it with "first party" pages like Download)
Great question! The tldr; of the answer is, I've learned a lot in the last couple years, and Laravel has gotten significantly better alongside me :)
For a bit more context - I think stormcaster had a lot of good ideas, and was generally well executed for where I was at as a developer four years ago. It's stateless, utilized JWT, implicit model binding and a bunch of other Laravel Things to make the code succinct and generally easy to understand. My main issues with stormcaster today includes:
- JWT is not great or ideal for session authentication for a variety of reasons. With L7.x, we now have the Sanctum package which makes token based authentication a first class citizen within Laravel. Upgrading stormcaster to 7.x just to ditch JWT is not trivial or worth it.
- stormcaster is not well tested. There's a lot of holes in the tests, and I wasn't comfortable picking up an old codebase without complete test coverage. I'm attempting to maintain 100% (or near 100%) coverage for controllers and model logic to fix this issue, should I drop this project again for a bit
- lack of documentation. with v2, swagger specs are self-documenting and makes it easier for me (or others) to understand available endpoints and develop frontends.
In general though, Laravel is Laravel, and at the view layer there hasn't been a ton of breaking changes in the last few years. This is great because I can just copy and paste (as I have in some spots) the methods and bits of code I still like today, so there isn't a ton of duplication in the "business" logic - I'm mainly just rewriting the core of the app.
Lastly, my goals for v2 are a bit different than stormcaster. The main distinction is that I want to render a frontend within the same Laravel app (instead of just being an API), making it just as easy to setup and get running as it is with MapleBit v1. If I had to guess, people use MapleBit purely because it's incredibly easy to download and run anywhere, and ideally v2 should be the same. hope this answers your question!
PS: I'm just kind of developing this stuff for fun, I don't really care if it's never completed. Having a well paying job as a developer means that I just write code in my free time when I'm bored and want to explore new ideas - this is my outlet for some of that energy :D (I don't really care to make any money out of MS now or in the future). I've also considered just writing this in my lang of choice rather than PHP, but to be honest, Laravel is such a delightful experience to write web apps with!
-----------------------
added some react views today:
https://i.imgur.com/bvJivVb.png
Last edited by greenelfx; 17-07-20 at 08:28 PM.
had some free time to work on this this weekend, here's where I'm at for v2: https://i.imgur.com/8JPTQ4F.mp4
doesn't look like much :D, but has some stuff going on under the hood like:
- boilerplate code to handle authentication
- boilerplate code to handle routing (and active links in the nav, finally)
- making (authed or not) api calls
- templating to match MapleBit v1
- exposing backend yaml config values to the frontend
if you wanna give it a spin, check out https://maplebit.herokuapp.com. Lots of UI-niceties are missing of course. working on getting all the boilerplate/bootstrapping work out of the way, then will think about making UX better. Also, code quality on the frontend isn't great admittedly, but again, just focusing on getting all the tedious work out of the way then will get things a bit more organized and cleaned up.
If you're interested in contributing (lol, unlikely, I know), feel free to shoot me a DM or submit a PR!
The ?> at the end of the PHP file is optional.
https://www.php.net/manual/en/langua...separation.php
EDIT: Got it working just fine, so can confirm the code is fine.
![]()
Last edited by SharpAceX; 20-07-20 at 12:35 AM.
Wouldn't hurt to have a very basic installation guide, at the very least with the bare minimum commands required to set it up. I obviously knew about composer but I get the feeling unless you work with PHP a lot, you might not even know what it is, much less that you need it. Could save you from people asking similar questions in the future.
Fair, I wasn't expecting folks to try out v2 this early! I've added a readme that guides manual installation: https://github.com/greenelfx/MapleBit/blob/v2/README.md
Why are you even trying to run this in the first place, especially if you clearly have zero technical skills or abilities? This isn't even close to being ready for production use. If you're this helpless and are unable to do basic Google searches, you're probably out of luck
Having a problem where after typing in id n password, pressed login and nothing happened, but after press F5 ( refresh ) im logged inanyone got similar issue?
Anyone have advise for getting a server to work with a custom domain instead of with your machine's WAN IP?