[Resolved] getting SQL error. See 'logs/mysql.log' when using include
I’m trying to add an include to a mini-calendar in my sidebar. My theme is called “scoop” and this is the correct path to the php file that runs the mini-calendar but when I enter this:
include (ABSPATH . '/wp-content/themes/scoop/calendar/lcsbar.php');
I get this result:
SQL error. See 'logs/mysql.log'
However if I enter the URL to the entire path with my domain name where ABSPATH is I can see the mini-calendar is there.
How can I get the include to work?
- The topic ‘[Resolved] getting SQL error. See 'logs/mysql.log' when using include’ is closed to new replies.