Page 1 of 1

Config setting for PHP Include function

Posted: Tue Jul 29, 2008 11:54 pm
by CWebguy
Ok, this is a branch off my previous post.  Does anyone know what the config setting is for getting the Include function working?

Thanks!
Lance

Re: Config setting for PHP Include function

Posted: Wed Jul 30, 2008 12:32 am
by viebig
I didnt understand..  can you explain better?

Re: Config setting for PHP Include function

Posted: Wed Jul 30, 2008 1:46 am
by CWebguy
It says that the Include function is locked in the config.  (Same for Require).

Warning: include() [function.include]: URL file-access is disabled in the server configuration in C:\wamp\www\cms3\tmp\templates_c\%%D9^D9B^D9BE697E%%preview%3Acms130.tmp.php on line 9

Looks like I need to change a config setting somewhere.

Thanks!

Re: Config setting for PHP Include function

Posted: Wed Jul 30, 2008 1:52 am
by Nullig
Clear your cache in Admin.

Nullig

Re: Config setting for PHP Include function

Posted: Wed Jul 30, 2008 2:02 am
by Nullig
Or should I answer here???

Re: Config setting for PHP Include function

Posted: Wed Jul 30, 2008 2:02 am
by CWebguy
Nullig wrote: Clear your cache in Admin.

Nullig
Ok, I tried that.  Don't I need to update the config file first?  Seems like a setting issue that is throwing up the error  :-\

Thanks!

Re: Config setting for PHP Include function

Posted: Wed Jul 30, 2008 2:05 am
by Nullig
I do too!

Re: Config setting for PHP Include function

Posted: Wed Jul 30, 2008 2:08 am
by Nullig
That's it! I'm leaving. You jus' can't get any appreciation around here...

Re: Config setting for PHP Include function

Posted: Wed Jul 30, 2008 3:48 am
by viebig
check include_path variable in php.ini configuration

Re: Config setting for PHP Include function

Posted: Wed Jul 30, 2008 4:47 am
by CWebguy
Thanks I got it running, it was on my end.  Thanks to everyone (in both threads) for all your help (and you too Nullig!)!  God bless!

Lance