GithubHelp home page GithubHelp logo

Comments (2)

MarshallBrinn avatar MarshallBrinn commented on August 10, 2024

Here's the error from the portal_error.log:

[Mon Nov 11 16:35:33 2013] [error] [client 128.89.81.222] PHP Fatal error:  Uncaught exception 'Exception' with message 'Unknown value for DB boolean: 1' in /usr/share/geni-ch/lib/php/db_utils.php:306\nStack trace:\n#0 /var/www/secure/omni-bundle.php(45): convert_boolean(true)\n#1 /var/www/secure/omni-bundle.php(121): project_is_expired(Array)\n#2 {main}\n  thrown in /usr/share/geni-ch/lib/php/db_utils.php on line 306

The issue seems to be that the code is getting back an 'f'/'t' from the database and isn't happy turning that into a boolean. I'll keep digging.

Trac comment by mbrinn (github user: MarshallBrinn) on 11-11-2013 at 16:37

from geni-ch.

MarshallBrinn avatar MarshallBrinn commented on August 10, 2024

Put a fix in db-utils.php to accept either 'f' or (numeric) 0 as false and 't' or (numeric) 1 as true to be compatible with both chap returns and direct database returns.

Trac comment by mbrinn (github user: MarshallBrinn) on 11-11-2013 at 17:00

from geni-ch.

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.