Anyone know how to get phpwiki/mysql to work

Discussion in 'HTML / PHP / JavaScript / CSS' started by jbmurphy, Jan 12, 2004.

  1. Trying to get phpwiki to work in DASP environment. Anyone know how to do this? I can't get it to connect to mysql.
     
  2. I am new to php but I get the following error:

    PearDB.php:32: Fatal[256]: Can't connect to database: wikidb_backend_mysql: fatal database error

    DB Error: connect failed
    ( [nativecode=Can't create TCP/IP socket (10106)]

    Looks like it is trying to use PEAR. is that installed?

    Any ideas how to get this to work?
     
  3. Bruce

    Bruce DiscountASP.NET Staff

    What is the mySQL server name are you using?

    quote:Originally posted by jbmurphy

    I am new to php but I get the following error:

    PearDB.php:32: Fatal[256]: Can't connect to database: wikidb_backend_mysql: fatal database error

    DB Error: connect failed
    ( [nativecode=Can't create TCP/IP socket (10106)]

    Looks like it is trying to use PEAR. is that installed?

    Any ideas how to get this to work?
    </blockquote id="quote"></font id="quote">
     
  4. the ip address? is that what you are asking?
    mysql01.discountasp.net
     
  5. Bruce

    Bruce DiscountASP.NET Staff

    Please post the url of phpwiki

    We test a lot of application on our server. I do not see phpwiki on the list

    quote:Originally posted by jbmurphy

    Trying to get phpwiki to work in DASP environment. Anyone know how to do this? I can't get it to connect to mysql.
    </blockquote id="quote"></font id="quote">
     
  6. thanks, i really want to get a wiki up and running. do you know of any others that will work with DASP?
     
  7. Bruce

    Bruce DiscountASP.NET Staff

    This should be correct...

    I am not an expert in php, i'll ask one of the guy whose more familiar w/ PHP to test this if he gets a chance.

    quote:Originally posted by jbmurphy

    the ip address? is that what you are asking?
    mysql01.discountasp.net
    </blockquote id="quote"></font id="quote">
     
  8. Bruce

    Bruce DiscountASP.NET Staff

    OK. PHPWiki will not work on our server because PEAR module is not installed.

    Take a look at this page, http://c2.com/cgi/wiki?WikiEngines

    Find one that's written in ASP, VB.NET, C#.


    quote:Originally posted by jbmurphy

    thanks, i really want to get a wiki up and running. do you know of any others that will work with DASP?
    </blockquote id="quote"></font id="quote">
     
  9. Would they be willing to install the PEAR module? Isn't it a common way to access mySQL with php?
    Someone else or any other appications that could use it?
     
  10. Bruce

    Bruce DiscountASP.NET Staff

    Sorry. i checked w/ the sa. we cannot install PEAR.

    quote:Originally posted by jbmurphy

    Would they be willing to install the PEAR module? Isn't it a common way to access mySQL with php?
    Someone else or any other appications that could use it?
    </blockquote id="quote"></font id="quote">
     
  11. I got it working. Thanks for all your help. yes it does work in your environment.
     
  12. Bruce

    Bruce DiscountASP.NET Staff

    Very cool..

    Can you let us know what is the 'secret' on getting this to work?

    quote:Originally posted by jbmurphy

    I got it working. Thanks for all your help. yes it does work in your environment.
    </blockquote id="quote"></font id="quote">
     
  13. Sorry I took so long to get back.

    The main issue was the server was mis-configured. If you put phpwiki behind a passworded directory and you autheniticated, the authenticated account did not have permission to create the connection. The SA correctd the issue.

    The other tip is that you have to edit the conf so that the correct paths are in it. The program tries to auto guess thepaths, but that did not work, and once I maually netered the paths, I got everthing working
     
  14. Bruce

    Bruce DiscountASP.NET Staff

    Thanks.

    [:)]
    quote:Originally posted by jbmurphy

    Sorry I took so long to get back.

    The main issue was the server was mis-configured. If you put phpwiki behind a passworded directory and you autheniticated, the authenticated account did not have permission to create the connection. The SA correctd the issue.

    The other tip is that you have to edit the conf so that the correct paths are in it. The program tries to auto guess thepaths, but that did not work, and once I maually netered the paths, I got everthing working
    </blockquote id="quote"></font id="quote">
     

Share This Page