PHP Login System with Admin Features

This forum was created to talk about the PHP Login System with admin features created by jpmaster77 on evolt's website

    session.php breaking homepage


    Number of posts : 2
    Registration date : 2010-12-27

    session.php breaking homepage

    Post  rmilanov on Wed Dec 29, 2010 2:29 am

    I have my home page that needs to do some checks for login (session.php) and it also has the most recent post from our wordpress blog. The wordpress lines need to be at top of index.php as well as the session.php include.

    When I add in the session command I get several errors on the homepage. I think this may have to do with the wordpress open DB colliding with the normal mysql open DB via session.php. Has anyone run into this situation?

    Do I need to trim down session.php specifically for the homepage and maybe not open the site db? Or so I handle the dual DB differently?


    The error i get is similar to:
    Warning: mysql_numrows() expects parameter 1 to be resource, boolean given in C:\wamp\www\Beta\includes\database.php on line 205

      Current date/time is Sat Feb 16, 2019 10:26 pm