+ Reply to Thread
Page 2 of 7 FirstFirst 1234 ... LastLast
Results 11 to 20 of 68
This is a discussion on Salesforce PHP MySQL Database Replication Tool within the Salesforce PHP Tutorials forums, part of the Salesforce category; Peter thanks for joining the site! Listen I read your posts but
  1. #11
    mike's Avatar
    mike is offline Administrator
    Join Date
    May 2007
    Location
    Wylie, Texas
    Posts
    607
    Blog Entries
    16
    Peter thanks for joining the site! Listen I read your posts but I am a little confused. Are you stating that you have something built that runs on CRON or are you asking if someone actually has this working?

    Let me know and I can try and help you from there If it is the fact that you are wondering if someone has this built, I do and it works perfectly. I also have been able to get the getUpdated and getDeleted methods working on scripts. This has realy sped up the whole process of getting our data into MySQL/Oracle


    ~Mike

  2. #12
    Peter Kemp is offline Junior Member
    Join Date
    Dec 2008
    Posts
    10
    Hi Mike,

    Thanks for the response, I should have held back until I was in the office as I haven't had the chance to run your code. What we are looking at doing is having a social network for the organisation I work for, storing user details that they can change, having events and keeping track of who is attending what etc. We've implemented it with the php SOAP toolkit, however this is too slow and we can't expect users to wait. This functionality is really easy and fast with MySQL but we would like to make sure that all our organisational information is stored in Salesforce, only using MySQL as a fast interface for the user. Then updating the MySQL data to salesforce and visa versa. I'll give it a spin and get back to you on how it's working out. Thanks for hosting this website and forum, it's invaluable!

    Pete

    Pete

  3. #13
    mike's Avatar
    mike is offline Administrator
    Join Date
    May 2007
    Location
    Wylie, Texas
    Posts
    607
    Blog Entries
    16
    Okay Pete I appreciate your statement and look forward to reading your results

  4. #14
    saariko is offline Junior Member
    Join Date
    Feb 2009
    Posts
    10
    DOH ! Error

    I am bit lost, as I downloaded the script, have it in my server, and trying to access it via my browser, but it fails on calling the
    Code:
    [Wed Feb 04 11:52:05 2009] [error] [client 212.68.132.106] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/usr/lib/php/modules/soapclient/SforcePartnerClient.php' (include_path='.:') in /var/www/vhosts/optitex.com/httpdocs/ms/salesforce_mysql_build.php on line 27
    Now, the file is there, I can VI it, it's chmoded to 755, same is it's parent dir.

    Do you have a clue?

    I tried moving the html code from the php to an external file, but again, the php fails.

    Any idea?

    thanks

  5. #15
    mike's Avatar
    mike is offline Administrator
    Join Date
    May 2007
    Location
    Wylie, Texas
    Posts
    607
    Blog Entries
    16
    Hey sorry for the delay in posting and Thanks for joining the site man

    That error is showing that you are missing a required file from the Salesforce PHP Toolkit. You have that path set in some of the other examples you have here, so double check that

    /usr/lib/php/modules/soapclient/SforcePartnerClient.php





    ~Mike

  6. #16
    Peter Kemp is offline Junior Member
    Join Date
    Dec 2008
    Posts
    10
    Hi Mike,

    I'm pleased to sere your site is back online, I was getting a little worried there. I've started hooking this code up with your replication tool (http://www.mikesimonds.com/salesforc...cess-t109.html), where people can select which objects they want to update or set them to cron tasks. I've noted the error encountered here: Community - SObjects null field attributes - Perl, PHP, Python & Ruby Development - Force.com Discussion Boards

    Any ideas what is going wrong?

    Thanks

    Pete

  7. #17
    mike's Avatar
    mike is offline Administrator
    Join Date
    May 2007
    Location
    Wylie, Texas
    Posts
    607
    Blog Entries
    16
    Quote Originally Posted by Peter Kemp View Post
    Hi Mike,

    I'm pleased to sere your site is back online, I was getting a little worried there. I've started hooking this code up with your replication tool (http://www.mikesimonds.com/salesforc...cess-t109.html), where people can select which objects they want to update or set them to cron tasks. I've noted the error encountered here: Community - SObjects null field attributes - Perl, PHP, Python & Ruby Development - Force.com Discussion Boards

    Any ideas what is going wrong?

    Thanks

    Pete
    Let me take a look at it

    Peter were you able to get my tool working on your localhost/server?

    Just curious

    ~Mike


    PS: The reason that the site was down is that we moved to a new server with a better processor and operating system, no worries, this is not going anywhere

    ~Mike

  8. #18
    mike's Avatar
    mike is offline Administrator
    Join Date
    May 2007
    Location
    Wylie, Texas
    Posts
    607
    Blog Entries
    16
    So you are trying to get your data from Salesforce into a MySQL database table? Is that what I am reading on the salesforce forums?


    Can I see your scrpit? Is it an example taken from this site?

    Sorry for all the questions, maybe we need to chat about this offline

    ~Mike

  9. #19
    mike's Avatar
    mike is offline Administrator
    Join Date
    May 2007
    Location
    Wylie, Texas
    Posts
    607
    Blog Entries
    16
    Quote Originally Posted by saariko View Post
    DOH ! Error

    I am bit lost, as I downloaded the script, have it in my server, and trying to access it via my browser, but it fails on calling the
    Code:
    [Wed Feb 04 11:52:05 2009] [error] [client 212.68.132.106] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/usr/lib/php/modules/soapclient/SforcePartnerClient.php' (include_path='.:') in /var/www/vhosts/optitex.com/httpdocs/ms/salesforce_mysql_build.php on line 27
    Now, the file is there, I can VI it, it's chmoded to 755, same is it's parent dir.

    Do you have a clue?

    I tried moving the html code from the php to an external file, but again, the php fails.

    Any idea?

    thanks
    You need to correct the path to your Salesforce PHP toolkit sir

    that is the reason you are getting that error

    ~Mike

  10. #20
    saariko is offline Junior Member
    Join Date
    Feb 2009
    Posts
    10
    Thanks Mike,

    No matter what I did, I just couldn't get the API to work from outside the web directories, so unpleasantly, I have created a symlink to it , and it works. Amazing :-/

    I will work on what data I want replicated, but only now I figured that I don't want a replication. All I really want is even a sqldump of Salesforce :-/

    ill try to make something similar like it.

+ Reply to Thread
Page 2 of 7 FirstFirst 1234 ... LastLast

LinkBacks (?)

  1. Hits: 1
    12-04-2009, 05:55 AM
  2. Hits: 1
    12-03-2009, 05:50 AM
  3. Hits: 4
    11-11-2009, 06:37 AM
  4. Hits: 11
    10-08-2009, 02:42 AM
  5. Hits: 12
    10-07-2009, 10:20 AM
  6. Hits: 6
    09-23-2009, 05:58 AM
  7. Hits: 2
    09-12-2008, 05:08 AM
  8. Hits: 1
    08-06-2008, 05:09 PM
  9. Hits: 1
    06-13-2008, 09:49 AM
  10. Hits: 14
    01-10-2008, 05:58 PM
  11. Hits: 1
    01-08-2008, 10:26 AM
  12. Hits: 1
    12-19-2007, 03:08 AM
  13. Hits: 1
    09-20-2007, 11:51 AM
  14. Hits: 1
    09-04-2007, 12:46 PM
  15. Hits: 3
    09-04-2007, 09:30 AM
  16. Hits: 1
    08-25-2007, 11:46 PM
  17. Hits: 2
    08-20-2007, 10:49 AM
  18. Hits: 101
    08-10-2007, 01:58 AM
  19. Hits: 49
    08-09-2007, 11:53 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

SEO by vBSEO 3.5.2