![]() |
Wordpress/PHP problem, php include not showing?
So I'm trying to add a php include inside my sidebar so that a small toplist will display.
However, it's not showing. When you load the page, it's as if the code isn't there at all. When you look at the code itself in the browser, you don't see the include. This SHOULD mean that it's working, but it displays nothing. I've checked the file it's supposed to include, and it has code in it. Any ideas? |
You probably have error messages turned off, so you don't see the error... look in the error log to see what the error is...
|
At the beginning of the php document add the following lines of code:
Code:
error_reporting(E_ALL); |
Thanks guys, I will give that a try!
|
I assume those statements have to be inside a php statement or something, because they aren't working by just inserting them anywhere into the code.
I am using wordpress and trying to insert this stuff into the index.php file. |
All times are GMT -7. The time now is 08:54 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123