Giter Club home page Giter Club logo

Comments (20)

giuscris avatar giuscris commented on May 28, 2024 1

Yes, you are right. The page needs to be routable.

Now I have a new problem and I just found out earlier. Yesterday I only tried formwork from xampp only and because I like this project, then I tried installing it on one of my domains. Once installed, I was surprised by not being able to access the admin page, every time I go to the domain page, I always return to the home page.

@ncopz for security reasons you can register a new user only from localhost because in remote hosting the first one who can access the admin panel can register itself.

from formwork.

Wemago avatar Wemago commented on May 28, 2024

You can change it on config file.
Look at formwork/defaults.php and you'll see admin -> root.

from formwork.

ncopz avatar ncopz commented on May 28, 2024

How to align center images in markdown?
And I also don't see any align center/left/ right icon in the editor.

Preview (eye icon) not working, does not match the edited/new post.

from formwork.

Wemago avatar Wemago commented on May 28, 2024

Honestly I'm don't have big knowledge on markdown, maybe project owner @giuscris can have an answer for that.

The preview icon does work, the page needs to be routable.

from formwork.

ncopz avatar ncopz commented on May 28, 2024

Yes, you are right. The page needs to be routable.

Now I have a new problem and I just found out earlier. Yesterday I only tried formwork from xampp only and because I like this project, then I tried installing it on one of my domains. Once installed, I was surprised by not being able to access the admin page, every time I go to the domain page, I always return to the home page.

from formwork.

Wemago avatar Wemago commented on May 28, 2024

I've only worked with formwork on local, so I haven't got a clue about that, but it should work since I'm using local domains with SSL. Your error can be related to a config url or something like that. Did you modify the htaccess?

Do you know laragon? It's a really good alternative for xampp.

from formwork.

ncopz avatar ncopz commented on May 28, 2024

I know Laragon but have never tried it.

I didn't modify anything in it, after I took it from composer (composer create-project getformwork/formwork) then I uploaded it.

This is the domain that I installed Formwork but the admin page can't be accessed.
https://aquarius.click

from formwork.

Wemago avatar Wemago commented on May 28, 2024

Do you have admin set for true on the config file?
I'm trying to figure out a way to debug it.

from formwork.

ncopz avatar ncopz commented on May 28, 2024

Yes and after uploading it then accessing the admin page I just need to create a new username and password?

I've also tried other hosting but the results are still the same.

from formwork.

Wemago avatar Wemago commented on May 28, 2024

You only create the user if it's a fresh installation.
I need to check if I have a spare space on one of my domains to do some testing.

On your domain is it a fresh installation?

from formwork.

ncopz avatar ncopz commented on May 28, 2024

Of course, I do it from ..

With Composer
If you prefer to install the latest stable release of Formwork with Composer you can use this command:

$ composer create-project getformwork/formwork
Composer_ will create a formwork folder with a fresh ready-to-use Formwork installation.

from formwork.

ncopz avatar ncopz commented on May 28, 2024

Yes, you are right. The page needs to be routable.
Now I have a new problem and I just found out earlier. Yesterday I only tried formwork from xampp only and because I like this project, then I tried installing it on one of my domains. Once installed, I was surprised by not being able to access the admin page, every time I go to the domain page, I always return to the home page.

@ncopz for security reasons you can register a new user only from localhost because in remote hosting the first one who can access the admin panel can register itself.

You mean, I create a new user + password from localhost and then upload it to my hosting?

from formwork.

ncopz avatar ncopz commented on May 28, 2024

Now I can access the admin page.
What can I do now if I delete a registered user from localhost? Or are there two people left in it?

Thank you @giuscris

work

from formwork.

wsokc avatar wsokc commented on May 28, 2024

Yes, you are right. The page needs to be routable.
Now I have a new problem and I just found out earlier. Yesterday I only tried formwork from xampp only and because I like this project, then I tried installing it on one of my domains. Once installed, I was surprised by not being able to access the admin page, every time I go to the domain page, I always return to the home page.

@ncopz for security reasons you can register a new user only from localhost because in remote hosting the first one who can access the admin panel can register itself.

How to do this without localhost capabilities ?

from formwork.

Imerion avatar Imerion commented on May 28, 2024

I also wonder how to do this without running from localhost. I have seen a solution in other similar CMS systems where the first user registering after installation gets to download a file which should be uploaded to the server and only after that will it be possible to log in with that user. That will ensure only a person with access to the server can create a new user.

from formwork.

wsokc avatar wsokc commented on May 28, 2024

@ncopz

can you share a dummy file for us to use please ?

from formwork.

ncopz avatar ncopz commented on May 28, 2024

I also wonder how to do this without running from localhost. I have seen a solution in other similar CMS systems where the first user registering after installation gets to download a file which should be uploaded to the server and only after that will it be possible to log in with that user. That will ensure only a person with access to the server can create a new user.

It can, and I've done it and it works. And I also modified the script code according to my wishes. (nirvanaholic.com)

from formwork.

ncopz avatar ncopz commented on May 28, 2024

Yes, you are right. The page needs to be routable.
Now I have a new problem and I just found out earlier. Yesterday I only tried formwork from xampp only and because I like this project, then I tried installing it on one of my domains. Once installed, I was surprised by not being able to access the admin page, every time I go to the domain page, I always return to the home page.

@ncopz for security reasons you can register a new user only from localhost because in remote hosting the first one who can access the admin panel can register itself.

How to do this without localhost capabilities ?

Using two users during the first installation and I'm using it successfully till now for nirvanaholic.com

from formwork.

giuscris avatar giuscris commented on May 28, 2024

Hello everyone,

I'm considering different options to let user register from remote, obviously I want to keep it secure.

@Imerion it's a good idea what you've mentioned about other systems, I think I'll make an implementation like this.

Since also @wsokc asked, currently you can first register in localhost, then you can copy to remote the file admin/acoounts/<yourusername>.yml at the same location.

Thank you for your interest in Formwork.

from formwork.

Imerion avatar Imerion commented on May 28, 2024

@giuscris Sounds great! And thanks for your work on this project - it looks very interesting and I would really like to try it out some more.

from formwork.

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.