Config setting for PHP Include function

General project discussion. NOT for help questions.
Post Reply
User avatar
CWebguy
Forum Members
Forum Members
Posts: 139
Joined: Thu Jul 24, 2008 3:31 am

Config setting for PHP Include function

Post 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
CMSMS Made
viebig

Re: Config setting for PHP Include function

Post by viebig »

I didnt understand..  can you explain better?
User avatar
CWebguy
Forum Members
Forum Members
Posts: 139
Joined: Thu Jul 24, 2008 3:31 am

Re: Config setting for PHP Include function

Post 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!
Last edited by CWebguy on Wed Jul 30, 2008 1:56 am, edited 1 time in total.
CMSMS Made
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Config setting for PHP Include function

Post by Nullig »

Clear your cache in Admin.

Nullig
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Config setting for PHP Include function

Post by Nullig »

Or should I answer here???
User avatar
CWebguy
Forum Members
Forum Members
Posts: 139
Joined: Thu Jul 24, 2008 3:31 am

Re: Config setting for PHP Include function

Post 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!
CMSMS Made
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Config setting for PHP Include function

Post by Nullig »

I do too!
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Config setting for PHP Include function

Post by Nullig »

That's it! I'm leaving. You jus' can't get any appreciation around here...
viebig

Re: Config setting for PHP Include function

Post by viebig »

check include_path variable in php.ini configuration
User avatar
CWebguy
Forum Members
Forum Members
Posts: 139
Joined: Thu Jul 24, 2008 3:31 am

Re: Config setting for PHP Include function

Post 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
CMSMS Made
Post Reply

Return to “General Discussion”