thedigicraft / Atom.CMS

Atom.CMS
56 stars 52 forks source link

Part 19:(10:15) $debug = data_setting_value($dbc, 'debug-status'); CAUSES mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given in... data.php #57

Closed Chriswilldo closed 9 years ago

Chriswilldo commented 10 years ago

After re-doing a lot of the coding again. I found that when -> $debug = data_setting_value($dbc, 'debug-status'); <- (arrows not included) was added in, that was when -> $data = mysqli_fetch_assoc($r); <- gave me the warning expecting there to be a mysqli result. Whenever I comment out $debug on setup.php, everything works. Any suggestions? Also, my debug button still shows up, but I'm still getting the warning error...