• On the website I am working on there are 3 syntax errors listed on my page that are all related to same blackrider-front.php file on lines 92 & 93. The DB works fine in phpmyadmin, wp-config.php configured correctly, file permissions are standard on ftp but it looks like a syntax error both originating on lines 92 & 93 in the blackrider-front.php file. The errors are as follows:

    Warning: mysql_query(): Access denied for user ‘root’@’localhost’ (using password: NO) in /home/nesss831/public_html/wp-content/themes/blackridertheme/functions/blackrider-front.php on line 92

    Warning: mysql_query(): A link to the server could not be established in /home/nesss831/public_html/wp-content/themes/blackridertheme/functions/blackrider-front.php on line 92

    Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/nesss831/public_html/wp-content/themes/blackridertheme/functions/blackrider-front.php on line 93

    Here is the pastebin for the blackrider-front.php file: https://pastebin.com/V897GfQh

    the url for the site is: https://www.nesssecurity.ca/ and it is using the LITE version of the black rider theme

    I appreciate any assistance in this matter. Thank you ??

    – Dan

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author inkthemescom

    (@inkthemescom)

    Hello,

    I would like to suggest you to please update the latest version of the theme.

    Hope it will resolve your issue

    Do let me know if you need more assistance,

    Thanks!

    Thread Starter dan_c

    (@dan_c)

    So I have updated the theme as you suggested, the problem is it erased some of the original design changes of the header color. From what I can see, there’s no available feature for me to update the header color from within the customize options. I inspected the header using chrome developer tools and found the file ‘bg-header.png’ under ‘/themes/images/’. I tried modifying the color of that file and re uploading it to the ftp server in the same location. I haven’t changed any css properties but the ‘background-color: #2955a7’ was only applied to half of the header. I will leave the page the way it is so you can see what I’m describing. Is there a way to change the entire header_container background color without upgrading to the PRO version?

    website: https://nesssecurity.ca

    bg-header.png: https://imgur.com/TdJj4at

    Thank you,

    Dan

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘sql error in functions/blackrider-front.php on line 92’ is closed to new replies.