Giter VIP home page Giter VIP logo

Comments (7)

nitinthewiz avatar nitinthewiz commented on July 22, 2024

Just curious... Is your password made of one capital letter, at least one number... like -

Abcdks45

from unmark.

see8ch avatar see8ch commented on July 22, 2024

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.

nitinthewiz avatar nitinthewiz commented on July 22, 2024

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.

cdevroe avatar cdevroe commented on July 22, 2024

@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.

maplepixel avatar maplepixel commented on July 22, 2024

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.

RichardHyde avatar RichardHyde commented on July 22, 2024

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.

phpfunk avatar phpfunk commented on July 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.