PHP errors on startup / login

450 views
Skip to first unread message

RickNTA

unread,
Jun 17, 2009, 6:28:13 PM6/17/09
to forceworkbench
On my local machine, I get this warning and notice on the login page:

PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program
Files\PHP\ext\php_mssql.dll' - The specified module could not be
found. in Unknown on line 0
PHP Notice: Undefined index: autoLogin in C:\Inetpub\wwwroot
\SFWorkbench\header.php on line 18

I gather from some posts here that these may not be critical. But
when I try to login, I get this (I added carr. returns to make it more
readable):

PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program
Files\PHP\ext\php_mssql.dll' - The specified module could not be
found. in Unknown on line 0
PHP Notice: Use of undefined constant SOAP_COMPRESSION_ACCEPT -
assumed 'SOAP_COMPRESSION_ACCEPT' in C:\Inetpub\wwwroot\SFWorkbench
\soapclient\SforceBaseClient.php on line 102
PHP Notice: Use of undefined constant SOAP_COMPRESSION_GZIP - assumed
'SOAP_COMPRESSION_GZIP' in C:\Inetpub\wwwroot\SFWorkbench\soapclient
\SforceBaseClient.php on line 102
PHP Fatal error: Class 'SoapClient' not found in C:\Inetpub\wwwroot
\SFWorkbench\soapclient\SforceBaseClient.php on line 115

I assume the Fatal error is the only real problem. It kinda makes
sense since SforceBaseClient.php seems to have only one class, named
SforceBaseClient. There is a call to SoapClient within
SforceBaseClient - I assume there's supposed to be a reference to it
somewhere? - but I don't know PHP at all. Any suggestions?

thx -
Rick N.

altaiojok

unread,
Jun 20, 2009, 1:33:06 PM6/20/09
to forceworkbench
Hi Rick,

So, it looks like you have three issues here:

1. Don't have php_mssql.dll installed
2. Don't have SoapClient installed
3. Have PHP notices turned on

For the first two, it could be a simple problem of not having these
uncommented in your php.ini file or you may not have the files at all.
For php_mssql.dll, Workbench doesn't use SQL at all, so shouldn't be
needed. I'm thinking that you probably have this uncommented in your
php.ini, but don't actually have the file there -- if so, try
commenting it out in php.ini by adding a semicolon at the beginning of
the line. For SoapClient, Workbench definitely needs this for
communicating with the Salesforce.com API. For this, first make sure
you actually have the php_soap.dll file installed. You might want to
look at this posting where a user had the same issues and resolved
them by using Easy PHP:
http://groups.google.com/group/forceworkbench/browse_thread/thread/5e2e94b83e3a3c9e/ac497d9c68b3ac09?lnk=gst&q=soapclient#ac497d9c68b3ac09

As for the PHP notices, please see this post to see how to turn them
off (they should really only be on during development):
http://groups.google.com/group/forceworkbench/browse_thread/thread/f67d88c4eb20c77c/aaadc5b2a3f1987a?lnk=gst&q=notices#aaadc5b2a3f1987a

Let me know if you have any other questions.

Thanks,
Ryan
Reply all
Reply to author
Forward
0 new messages