Obama '08

               
   

Go Back   Mike Simonds > Salesforce > Salesforce Coding Discussions

This is a discussion on IIS/PHPToolkit??? within the Salesforce Coding Discussions forums, part of the Salesforce category; Hi: Well finally got my IIS to work and also my PHP

Reply
 
LinkBack Thread Tools Rate Thread
  #1  
Old 04-11-2008, 01:40 PM
Junior Member
 
Join Date: Mar 2008
Posts: 12
Question IIS/PHPToolkit???

Hi:
Well finally got my IIS to work and also my PHP to work with IIS... but now I installed the PHP toolkit and am getting this error:

Error in my_thread_global_end(): 3 threads didn't exit PHP Warning: session_start() [cPanelŽ]: open(C:\DOCUME~1\razzaz\LOCALS~1\Temp\php\session\ sess_js0c0metjq8p2ia8sgt8fuqr63, O_RDWR) failed: Permission denied (13) in C:\Inetpub\wwwroot\sfdc_php\samples\login.php on line 27 PHP Warning: Unknown: open(C:\DOCUME~1\razzaz\LOCALS~1\Temp\php\session\ sess_js0c0metjq8p2ia8sgt8fuqr63, O_RDWR) failed: Permission denied (13) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (C:\DOCUME~1\razzaz\LOCALS~1\Temp\php\session) in Unknown on line 0

I have no idea where to start with this one...
Please advise anyone
Thanks
Zishan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #2  
Old 04-11-2008, 06:00 PM
Junior Member
 
Join Date: Feb 2008
Location: Sydney, Australia
Posts: 3

Hi,

The variable session.save_path in the php.ini file needs to point to a folder where the user under which IIS runs has write access. You can find out the user from IIS Admin.
More about session.save_path in PHP: Runtime Configuration - Manual.

Regards,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 04-12-2008, 02:09 PM
Administrator
 
Join Date: May 2007
Posts: 248
Send a message via AIM to mike Send a message via MSN to mike Send a message via Yahoo to mike Send a message via Skype™ to mike

Thanks toivo for answering that, I would have had no idea that is what needs/needed to be done to correct that error
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 04-12-2008, 08:19 PM
Junior Member
 
Join Date: Mar 2008
Posts: 12

Awesome thanks for the tip... So I fixed the session path and now I get the following issue:
Error in my_thread_global_end(): 3 threads didn't exit
Any ideas... I really can not find a defined solution?
Thanks
Zishan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 04-14-2008, 11:14 AM
Junior Member
 
Join Date: Mar 2008
Posts: 12

Hi:
Now I got everything to work and now I get this message:
POST /services/Soap/u/8.0 HTTP/1.1 Host: CRM Software On Demand, Online CRM Solutions - salesforce.com Connection: Keep-Alive User-Agent: PHP-SOAP/5.2.6-dev Accept-Encoding: gzip, deflate Content-Type: text/xml; charset=utf-8 SOAPAction: "" Content-Length: 316
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 04-16-2008, 03:40 PM
Administrator
 
Join Date: May 2007
Posts: 248
Send a message via AIM to mike Send a message via MSN to mike Send a message via Yahoo to mike Send a message via Skype™ to mike

Quote:
Originally Posted by zishan876 View Post
Hi:
Now I got everything to work and now I get this message:
POST /services/Soap/u/8.0 HTTP/1.1 Host: CRM Software On Demand, Online CRM Solutions - salesforce.com Connection: Keep-Alive User-Agent: PHP-SOAP/5.2.6-dev Accept-Encoding: gzip, deflate Content-Type: text/xml; charset=utf-8 SOAPAction: "" Content-Length: 316
Zishan

This setup seems more like a pain that it is worth! Are you trying to setup PHP on a local computer running XP Professional?

If so man, I would not use IIS, I would use another server for windows or a WAMP

You can get a complete package at:

Install PHP 5 Apache MySQL on Windows : WampServer

OR

apache friends - xampp


I use XAMPP and it works perfectly for building applications against Salesforce's API on a localhost. I tried with IIS and it was just too much a pain in the ass to be honest.

If it is windows server, then forget that I posted this
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump



Powered by vBulletin


SEO by vBSEO 3.2.0 RC8 ©2008, Crawlability, Inc.

1 2 3 4 5