Menu

Install on Hosted Linux Server Running PHP Version 5.4.17

2014-02-01
2014-02-14
  • Mark  Dewart

    Mark Dewart - 2014-02-01

    I have had Online Grades up and running on Machighway's Linux servers. I changed servers at Machighway and the new server is running a more recent version of PHP (Version 5.4.17) and Online Grades quit working. So completely reinstalled Online Grades, created a new MYSQL database, repopulated the database with tables, checked permissions and still can't get Online Grades working again. Can Online Grades 3.25 work with this version of PHP? I have seen some PHP error messages that warn of deprecated code in Online Grades 3.25. Will Online Grades 3.25 work with the server running PHP 5.4.17? If the answer is yes, then I will keep working on the problem and send more specifics about the error messages.

    This is a really helpful program. I hope I can get it going and post the solution to the problem I am currently having as there are others that will be installing Online Grades into a similar server environment.

     

    Last edit: Mark Dewart 2014-02-01
  • Mark  Dewart

    Mark Dewart - 2014-02-02

    I think I can describe the difficulty I am having doing a fresh install on Online Grades 3.25 on a Linux Server hosted at MacHighway. I seem to run into the same problem as was discussed in this thread. (sourceforge.net)

    1. Fresh OG 3.25 install onto remote server running PHP 5.4.17 and MySQL 5.1.72-cli.
    2. I can go to http://bioluminescence.org/onlinegrades/admin but I get a blank page.
    3. I can go to http://bioluminescence.org/onlinegrades and I get a student login screen stating that no school has been set up. So.......parts of this are working.
    4. Checking the server error logs doesn't turn up any errors.
    5. In the thread above, the problem was solved this way:

    "I looked at the error log and found it was unable to find the files in the Include folder. I edited the php.ini file of the server and added an include line to the path of the include folder of OnlineGrades."<<<

    I am not getting server errors as the OP experienced in the thread above so I am not convinced the cause of his problem is the cause of my problem. However, I could add a php.ini file, I just don't know the syntax to use.

    I think it is acting like a permissions problem. The onlinegrades folder permission is set to 755. If I set the permissions of the folder to 750 or more restrictive, then I don't get to the admin login page. The seems to call for permissions that won't allow me to reach the admin login page or generates server error messages about groups having write privileges.

    I have switched browsers and scrolled down the blank page to make sure there aren't hidden menu buttons at the bottom.

    Is there enough here for anyone to suggest what I should try next? I am not getting the error messages about deprecated code that I was getting in earlier attempts and mentioned in my original post above.

    Thanks!

     

    Last edit: Mark Dewart 2014-02-04
    • Mark  Dewart

      Mark Dewart - 2014-02-14

      OK, I have a little more information. When I initially log in as admin:admin and get the blank page, an error log file appears in the admin folder with this error message:

      [13-Feb-2014 22:00:52 America/Chicago] PHP Fatal error: Call to undefined function session_register() in /home/pathto/public_html/onlinegrades/admin/admin_login.php on line 55

      Is there a solution to for this error?

       

Log in to post a comment.

MongoDB Logo MongoDB