• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

RESOLVED Include not working

bratpak

New member
Messages
4
Likes
0
Points
1
#1
My site was working fine, then I updated wordpress and your plugin and I now have an issue, please help...

In woody Snippet I have the code:
include("Vitalink Training Center - Online Re-Education");
This code works fine if you paste in the url...

I even tried to simplify the code publicAd.php to just echo "123";

and it will still not display anymore...

Thanks
 

bratpak

New member
Messages
4
Likes
0
Points
1
#3
the include link will not display properly.... just mouse over or click to see the proper URL...
 

Temyk

Developer & Support
Messages
1,129
Likes
42
Points
48
#4
PHP throws an error:
include(): https:// wrapper is disabled in the server configuration by allow_url_include=0

You need to change the allow_url_include=On property in the file php.ini on the srver
OR
use the function
PHP:
file_get_contents('https://classes.vitalinktraining.com/publicAd.php?count=3&page=home');