Comments (7)
Just curious... Is your password made of one capital letter, at least one number... like -
Abcdks45
from unmark.
At least one of the password combos I tried did have caps and #s. I've tried numerous combos though and it doesn't seem to make a difference.
from unmark.
perhaps the devs will look into this and find the error. They're still actively developing the app and I'm not sure they'd sabotage their own app to not let people register. Please be patient... :)
from unmark.
@see8ch The app does have minimal password requirements - both hosted and local versions - so you'll need to follow those in order to create an account. Also, a valid email address.
However, if you previously had a Nilai account (Unmark was previously known as Nilai) you'll need to log in with that account. You can always ask to reset your password if you've forgotten it.
Let us know if you continue to have this issue.
from unmark.
Same issues with local version w/ MAMP. When trying to register new account, error message is empty.
Using valid email and follow the minimal password requirements from the pubic site.
from unmark.
I'm getting the same problem. After some debugging it seems that the json call is returning a 404 error message when I post the registration form and the user function in application/controllers/register.php is not called.
I've not been able to track down what's causing the 404 :/ The 404 error is coming from the index function in the application/controllers/json.php. Commenting out the parent::redirectIfNotInternal() call in the constructor of application/controllers/register.php allows the registration form to be posted and the user record created in the database. After that I can get to the /marks page with is completely blank, as in no HTML returned.
OK, I've found the culprit of the redirect. I'm running unmark on a non standard port so need to add the port to the URL, the isSameHost() function in application/core/Plain_Controller.php doesn't match as the $_SERVER['HTTP_HOST'] values includes the port (localhost:8181) where as $_SERVER['HTTP_REFERER'] does not (localhost). This causes the $host and $origin not to match and isSameHost() return false.
I've added a check include the port number in isSameHost() so if the site is running an separate port this is taken into account.
protected function isSameHost()
{
// Going to execute this better, need to think about it
$host = (isset($_SERVER['HTTP_HOST'])) ? strtolower($_SERVER['HTTP_HOST']) : null;
$origin = (isset($_SERVER['HTTP_REFERER'])) ? strtolower(parse_url($_SERVER['HTTP_REFERER'], PHP_URL_HOST)) : null;
return (! empty($origin) && ! empty($host) && ($host == $origin || $host == ($origin . ':' . $_SERVER['SERVER_PORT']))) ? true : false;
}
from unmark.
We have updated this to support the above. Update is in https://github.com/plainmade/unmark/releases/tag/1.2.6. Going to close this, if further issues please feel free to re-open.
from unmark.
Related Issues (20)
- Show better error when no Database tables exist HOT 1
- Add Docker instructions to Readme HOT 6
- Close tag list when adding "quick tag" from Most-used and Recently-used tag list
- Importing HTML / Unmark export redirects to a white page HOT 5
- Page not displayed correctly HOT 3
- Search Archive when on Archive
- $config['unmark_version'] update in config.php? HOT 4
- How to use PHP for simple scaffolding?
- Wrong release uploaded HOT 1
- The exported file contains deleted marks HOT 6
- Loading more marks does not work properly HOT 2
- Support importing marks with tags HOT 1
- Offical backup and restore script HOT 3
- Make Unmark available on Docker Hub HOT 2
- setup ? HOT 7
- A Database Error Occurred Error Number: 1146
- Default branch link
- openssl error when adding url
- Project status HOT 4
- Update CI to 3.1.13
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 unmark.