Git Product home page Git Product logo

Comments (14)

causefx avatar causefx commented on April 27, 2024

what version php do you have? can you send some screenshots to see how it looks please?

from organizr.

grokdesigns avatar grokdesigns commented on April 27, 2024

First time loading the page:
screen shot 2017-01-03 at 21 51 35

After trying to register the admin user:
screen shot 2017-01-03 at 21 51 56

PHP Info:
screen shot 2017-01-03 at 21 53 03

from organizr.

causefx avatar causefx commented on April 27, 2024

can you open up check.php and post that please? I was pretty sure this would work with php 5.5

from organizr.

grokdesigns avatar grokdesigns commented on April 27, 2024

Side note, typo on "permissions" ;)
screen shot 2017-01-03 at 21 59 55

from organizr.

causefx avatar causefx commented on April 27, 2024

Damn these chubby fingers of mine! lol....

this is odd as it supposed to show 2 directories. the folder the index.php is in and the parent directory of that folder.

from organizr.

grokdesigns avatar grokdesigns commented on April 27, 2024

I put the 'users' folder and 'users.db' file in a subdirectory one level above the web root. I edited the check.php to reflect these directories and get this:
screen shot 2017-01-03 at 22 11 14

Perhaps check.php should pull the variables from user.php to ensure it's checking the right locations?

*Note: I also got these errors with the folder and DB directly in the directory above with www-data having correct permissions.

And this is what my user.php looks like:
screen shot 2017-01-03 at 22 13 47

from organizr.

causefx avatar causefx commented on April 27, 2024

I wonder if it has to do with php 5.6 then... I will try installing that version of php later and try installing it. I have php 7 right now

from organizr.

grokdesigns avatar grokdesigns commented on April 27, 2024

Awesome, thanks! If you can't reproduce, I'll install PHP 7 tomorrow and see how it goes.

from organizr.

causefx avatar causefx commented on April 27, 2024

Thanks for understanding.

from organizr.

grokdesigns avatar grokdesigns commented on April 27, 2024

Update: I updated to PHP7 this morning and I'm still getting identical errors.
capture

from organizr.

grokdesigns avatar grokdesigns commented on April 27, 2024

Disregard. This was my own dumb issue. When setting it up, I 'touch'ed the users.db file to make sure the permissions on the file were correct. So there was an empty users.db file that your script was trying to loop through (line 25). I deleted the users.db file and all was well upon first launch. I don't know if there is any way to check for something like this, but maybe some error handling if looping through the database returns null.

from organizr.

causefx avatar causefx commented on April 27, 2024

Crap. I wonder what the difference is between your setup and the rest.

from organizr.

grokdesigns avatar grokdesigns commented on April 27, 2024

I think we posted at the same time. See my update for what the issue is!

from organizr.

causefx avatar causefx commented on April 27, 2024

Awesome! i did not know you created a temp file. Yea the webapp creates that file upon launch.

from organizr.

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.