Author Topic: Path problem trying to get set up  (Read 3416 times)

dhilke

  • Newbie
  • *
  • Posts: 3
Path problem trying to get set up
« on: October 03, 2007, 09:40:42 pm »
I started from scratch, and installed wamp, with soap and xml serializer, and went through each detail of the setup instructions... but I can't get past this error and I'm not finding the solution.  When I got the point of opening a browser and testing the login, I get the following error:

Warning: require_once(SOAP/Base.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\CalemEAM\server\include\core\CalemSoapRequest.php on line 31

Fatal error: require_once() [function.require]: Failed opening required 'SOAP/Base.php' (include_path='.;C:\php5\pear') in C:\wamp\www\CalemEAM\server\include\core\CalemSoapRequest.php on line 31

Line 31 of CalemSoapRequest.php is:
require_once 'SOAP/Base.php';

The file does indeed exist at C:\wamp\php\PEAR\SOAP\Base.php so I'm not figuring out why it's not recognized.

Any help?

Thanks,
Dan

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
Path problem trying to get set up
« Reply #1 on: October 03, 2007, 11:37:22 pm »
Check php.ini in Apache (\wamp\Apach2\bin\php.ini), the include path should include c:\wamp\php\pear, not c:\php5\pear as shown in your post.
Calem Community Forum Admin

beebox

  • Newbie
  • *
  • Posts: 1
Path problem trying to get set up
« Reply #2 on: October 04, 2007, 06:06:10 am »
Hi,

i've the same error but my both php.ini are correct.
Whereas, mu php list tell me that SOAP and serializer are not instaled.
I downloaded them but how can I installed them?

I'm on windows plateform

thanks

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
Path problem trying to get set up
« Reply #3 on: October 04, 2007, 06:24:12 am »
Use pear command to install SOAP and Serializer. See section 2 of the setup guide at http://www.calemeam.com/support_setup.html
Calem Community Forum Admin

dhilke

  • Newbie
  • *
  • Posts: 3
Path problem trying to get set up
« Reply #4 on: October 04, 2007, 06:42:14 am »
Quote from: "calemadmin"
Check php.ini in Apache (\wamp\Apach2\bin\php.ini), the include path should include c:\wamp\php\pear, not c:\php5\pear as shown in your post.


That "php5" is part of what's throwing me for a loop - I don't understand where it comes from.  Here's the statement from my php.ini file (both in the /php and /apache2/bin directories):

include_path = ".;c:\wamp\php\PEAR"

Is there anything wrong with that?

Thanks,
Dan

dhilke

  • Newbie
  • *
  • Posts: 3
Path problem trying to get set up
« Reply #5 on: October 04, 2007, 06:55:11 am »
Quote from: "beebox"

i've the same error but my both php.ini are correct.
Whereas, mu php list tell me that SOAP and serializer are not installed.
I downloaded them but how can I installed them?


beebox - this took me a little while to figure out too, but I found the answer somewhere at the pear website - you can start here if you want to dig for it yourself: http://pear.php.net/manual/en/installation.cli.php

What I learned is that you have to go to the windows Command Prompt (Start -> Accessories -> Command Prompt  -- that's one way to get there) and type:

"cd.." to move up a dir - likely twice to get to the root dir (C:\>)
"pear install -a SOAP-beta"
"pear install - XML_Serializer-beta"

When you do this, you'll see the folders created if it's successful.

Good luck,
Dan

calemadmin

  • Administrator
  • Calem Hero
  • *****
  • Posts: 300
    • http://www.calemeam.com
Path problem trying to get set up
« Reply #6 on: October 04, 2007, 07:20:46 am »
Dan, back to the php5 issue, there might be a php.ini in your windows directory. Do a search and see if there are other php.ini files in your machine.
Calem Community Forum Admin