Including php fails ...

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
erpee
Power Poster
Power Poster
Posts: 771
Joined: Sat Jul 07, 2007 9:22 am

Including php fails ...

Post by erpee »

I'm trying to include a survey I've made. I created an UDT called: "onderzoek" containing:

Code: Select all

include 'http://onderzoek.priton.nl/index.php?sid=76934&lang=nl';
In the page I call the UDT using:

Code: Select all

{onderzoek}
But then .... These messages appear:

Code: Select all

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/priton01/domains/priton.nl/public_html/testcase/lib/content.functions.php(675) : eval()'d code on line 1

Warning: include(http://onderzoek.priton.nl/index.php?sid=76934&lang=nl) [function.include]: failed to open stream: no suitable wrapper could be found in /home/priton01/domains/priton.nl/public_html/testcase/lib/content.functions.php(675) : eval()'d code on line 1

Warning: include() [function.include]: Failed opening 'http://onderzoek.priton.nl/index.php?sid=76934&lang=nl' for inclusion (include_path='.:/usr/local/lib/php') in /home/priton01/domains/priton.nl/public_html/testcase/lib/content.functions.php(675) : eval()'d code on line 1
Is there anything I'm doing wrong?  ??? ???
Waarom zou het direct goed moeten gaan? Dan is alle lol weg ...
alby

Re: Including php fails ...

Post by alby »

erpee wrote: Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/priton01/domains/priton.nl/public_html/testcase/lib/content.functions.php(675) : eval()'d code on line 1
Your provider don't permit you of include url....

Alby
User avatar
erpee
Power Poster
Power Poster
Posts: 771
Joined: Sat Jul 07, 2007 9:22 am

Re: Including php fails ...

Post by erpee »

Is there another way to get the page appear?
Waarom zou het direct goed moeten gaan? Dan is alle lol weg ...
alby

Re: Including php fails ...

Post by alby »

erpee wrote: Is there another way to get the page appear?
erpee wrote: I'm trying to include a survey I've made. I created an UDT called: "onderzoek" containing:
If is your because you don't copy your script in new site.
Second you can run this in a iframe tag (view embed plugin)

Alby
thebenz

Re: Including php fails ...

Post by thebenz »

I was able to get around it by altering my include format.

http://blog.everymanhosting.com/php-cod ... iguration/
Post Reply

Return to “CMSMS Core”