PDA

View Full Version : PHP Path Error


Fission
04-10-2008, 04:30 PM
I installed the calendar successfully and I can see it on the main page. I can even go to the setup manager and work that fine. The second I click the event manager I get these errors:

Warning: main(license.php) [function.main (http://localhost/calendar/events/function.main)]: failed to open stream: No such file or directory in C:\wamp\www\calendar\events\index.php on line 25

Fatal error: main() [function.require (http://localhost/calendar/events/function.require)]: Failed opening required 'license.php' (include_path='.;C:\php5\pear') in C:\wamp\www\calendar\events\index.php on line 25

The problem is, I use wamp and my PHP is not located in c:\php5\pear but rather the wamp directory. I've been trying everything and I'm about to rip my hair out. Can anyone help?

Brian
04-10-2008, 04:33 PM
Paths FAQ:

https://www.easyphpcalendar.com/support/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=51

Fission
04-11-2008, 12:29 PM
I checked that out already and I still can't seem to understand it. I'm dying over here :(

ve9gra
04-11-2008, 01:50 PM
Make sure you can see /calendar/license.php and that the web service has access to it.

That "include_path" has nothing to do with your problem.

Fission
04-14-2008, 11:38 AM
I can access the calendar on Windows it looks like. I'm using my own local server to test this. If anyone else has any suggestions, please help :)

Brian
04-14-2008, 04:23 PM
I'm not sure what you mean?

Are your paths in the calendar.php file correct and are all of the calendar files in the path location?

Fission
04-16-2008, 03:39 PM
Brian and everyone, thank you so much for the help I fixed it. I have one last question. On the full version of the calendar, is the Ion loader required or can I just use the Zend Optimizer? Thanks again everyone!

ve9gra
04-16-2008, 04:39 PM
It's either/or. Zend is preferred, but ionCube is made available in case Zend is not available on your server.