PDA

View Full Version : Anyone know how to get phpwiki/mysql to work


jbmurphy
01-12-2004, 08:35 AM
Trying to get phpwiki to work in DASP environment. Anyone know how to do this? I can't get it to connect to mysql.

jbmurphy
01-13-2004, 02:38 AM
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?

bruce
01-13-2004, 06:35 AM
What is the mySQL server name are you using?

[b]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">

jbmurphy
01-13-2004, 06:49 AM
the ip address? is that what you are asking?
mysql01.discountasp.net

bruce
01-13-2004, 12:01 PM
Please post the url of phpwiki

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

[b]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">

jbmurphy
01-13-2004, 12:34 PM
http://phpwiki.sourceforge.net/

I can't get it tp work with a mySQL server

jbmurphy
01-14-2004, 04:02 AM
thanks, i really want to get a wiki up and running. do you know of any others that will work with DASP?

bruce
01-14-2004, 11:47 AM
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.

[b]quote:Originally posted by jbmurphy

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

bruce
01-15-2004, 05:14 AM
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#.


[b]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">

jbmurphy
01-16-2004, 09:52 AM
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?

bruce
01-21-2004, 03:30 AM
Sorry. i checked w/ the sa. we cannot install PEAR.

[b]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">

jbmurphy
01-25-2004, 08:05 AM
I got it working. Thanks for all your help. yes it does work in your environment.

bruce
01-26-2004, 11:21 AM
Very cool..

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

[b]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">

jbmurphy
02-02-2004, 11:59 AM
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

bruce
02-02-2004, 12:56 PM
Thanks.

[:)]
[b]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">