Am trying to create a grid calendar using PEAR and PHP but when I preview the file in my browser I get the following:
*Warning: include(Calendar/Month/Weekdays.php) [function.include]: failed to open stream: No such file or directory in /Users/x/Sites/p/testing pages/Pear_Date.php on line 8 Warning: include() [function.include]: Failed opening 'Calendar/Month/Weekdays.php' for inclusion (include_path='.:') in /Users/x/Sites/p/testing pages/Pear_Date.php on line 8 Fatal error: Class 'Calendar_Month_Weekdays' not found in /Users/x/Sites/p/testing pages/Pear_Date.php on line 10*
I thought I'd fixed this before though. The install log for PEAR stated:
*Current include path : .: Configured directory : /Users/x/PEAR Currently used php.ini (guess) : Press Enter to continue: The 'pear' command is now at your service at /Users/x/bin/pear ** The 'pear' command is not currently in your PATH, so you need to ** use '/Users/x/bin/pear' until you have added ** '/Users/x/bin' to your PATH environment variable.*
I found an article which I thought resolved my problem - http://stackoverflow.com/questions/628838/...-x-10-5-leopard
So I edited the include_path line in my php.ini file so it read *include_path = ".:/php/includes:/Users/x/bin/pear"* I also updated my .bash_profile document so it stated export PATH=/Users/x/bin:$PATH like the article said
Hope that gives you enough information to assist.