Hey guys, I thought I'd followed the tutorials pretty exactly, but I keep getting the following error(s) when I try and load localhost/series/dynamic/AtomCMS/:
Warning: mysqli_connect(): (HY000/1045): Access denied for user 'dev'@'localhost' (using password: YES) in C:\server\htdocs\series\dynamic\AtomCMS\config\setup.php on line 5
Warning: mysqli_error() expects exactly 1 parameter, 0 given in C:\server\htdocs\series\dynamic\AtomCMS\config\setup.php on line 5
Could not connect because:
(there is no message after 'could not connect because:')
'setup.php' (changed the database password from 'thepassword1' to 'password'. Line 5 is the one which defines $dbc):
<?php
// Setup file
a database connection here (part 6 of series)
$dbc = mysqli_connect('localhost', 'dev', 'password', 'atomcms') OR die('Could not connect because: '.mysqli_error());
Hey guys, I thought I'd followed the tutorials pretty exactly, but I keep getting the following error(s) when I try and load localhost/series/dynamic/AtomCMS/:
'setup.php' (changed the database password from 'thepassword1' to 'password'. Line 5 is the one which defines $dbc):
Pre-HTML portion of 'index.php':
Thanks for any tips and advice. Thanks, too, for the tutorials themselves -- they've been wonderfully helpful and very beginner-friendly!