Change default Include folder
Posted by: dcb0284 (---.dhcp.insightbb.com)
Date: January 06, 2008 04:42PM

I just installed WampServer 2 and I am having an issue with the default includes folder that is set up. I have put one of my projects in the www folder. I am getting an error because it can't find any of my files that I have in the includes folder. Currently my default includes folder is set to .;C:\php5\pear. Considering I don't have that file I think that is why I might be getting the error.

I was thinking that if it didn't find the file in the default folder it would search the other folder but I could be wrong.

Below is an example of how I have it in my file...

require_once($config['basepath'] . '/include/login.inc.php')

Has anyone else ran into this problem?

Options: ReplyQuote
Re: Change default Include folder
Posted by: yfastud (Moderator)
Date: January 06, 2008 04:54PM

Quote

C:\php5\pear
I don't think it's the problem w/ include path but it seems your script looking for pear db which you have to install yoursefl

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Change default Include folder
Posted by: dcb0284 (---.dhcp.insightbb.com)
Date: January 06, 2008 05:34PM

From my understanding Pear DB is Deprecated. I'm new to PHP so i'm not quite sure why I would need it. Can I change my path instead.

Options: ReplyQuote
Re: Change default Include folder
Posted by: yfastud (Moderator)
Date: January 06, 2008 09:22PM

Maybes I did NOT make it clear enough

I meant that the script you're using requires PEAR DB, and I'm not sure if you can change it; you might have to change the whole script if you don't want to use PEAR

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote


Sorry, only registered users may post in this forum.