Hello List. My name is Pietro, and I have tried the whole day to install mediawiki without success. The main problem is that I don't have root access to the mysql.
I am being hosted by: http://www.pchighway.com/ Which have some cool caratteristics (or so it seem at my inexperienced eyes): http://www.pchighway.com/hosting.htm and http://www.pchighway.com/plan_starter.htm
PHP 4.3.3 (With Zend Optimizer 2.1.0) MySQL 4.0.15 (2 databases) OS Version FreeBSD 4.9
So, in theory I should have the cards to make the mediawiki work (which was the reason why I bought the account in the first place!)
I'll explain all the relevant actions I did, so it is easier for you to help me: I downloaded mediawiki-1.2.3.tar.gz Untarred, and unzipped in my computer. ftp-ed in the directory /wiki (that is: http://www.mysite.org/wiki )
I changed the chmod so that anybody could do everything everywhere (is called trust), and I went to the directory /wiki
You'll have to set the wiki up first! sure.
MediaWiki 1.2.3 installation Checking environment... PHP 4.3.3 ok PHP server API is apache; ok, using pretty URLs (index.php/Page_Title) Have zlib support; enabling output compression. Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads. Installation directory: /usr/home/ourpieee/public_html/wiki Script URI path: /wiki
I complete the form, except for the sqlroot that I don't have, and he does not like it. I go on the site and I create the database, and the user, and the password. SO now those things are created from outside. I go back to my form... and he stills asks me for the root password. I try to give him my user password, but he trats it as a random password (unpleasent after all the time I needed to think that up!)
So I decide that I cannot use the install from the web, and I go to the file.
And if before I had problem, now... wow! I take the AdminSettings.sample and LocalSetting.sample, change what I think is right:
$wgDBadminuser = "pietrosperoni"; $wgDBadminpassword = "..." ;)
Now, it seems that the problem comes here: I tried both: $IP = "/wiki"; $IP = "/wiki/includes";
And I got:
-------------------------------
Warning: main(): open_basedir restriction in effect. File(/wiki/includes/DefaultSettings.php) is not within the allowed path(s): (.:/tmp:/home:/usr/local/lib/php:/usr/home:/usr/local/bin/) in /usr/home/ourpieee/public_html/wiki/LocalSettings.php on line 32
Warning: main(/wiki/includes/DefaultSettings.php): failed to open stream: Operation not permitted in /usr/home/ourpieee/public_html/wiki/LocalSettings.php on line 32
Warning: main(): Failed opening '/wiki/includes/DefaultSettings.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /usr/home/ourpieee/public_html/wiki/LocalSettings.php on line 32
Warning: main(Setup.php): failed to open stream: No such file or directory in /usr/home/ourpieee/public_html/wiki/index.php on line 49
Warning: main(): Failed opening 'Setup.php' for inclusion (include_path='/wiki/includes:.:/usr/lib/php:/usr/local/lib/php') in /usr/home/ourpieee/public_html/wiki/index.php on line 49
Fatal error: Call to undefined function: wfprofilein() in /usr/home/ourpieee/public_html/wiki/index.php on line 51
----------------------
As soon as I entered in the wiki directory. What should I do?
BTW, the frontend panel of the sql has all sort of privileges that can be granted to users:
User: ourpieee_wikiuse Db: ourpieee_wikidb Privileges: ALL ALTER CREATE TEMPORARY TABLES CREATE DELETE DROP SELECT INSERT UPDATE REFERENCES INDEX LOCK TABLES
I am very perplexed.
Sorry if it was long, but I thought you probably needed all those data, to help me. MANY thanks for who ever can answer.
Pietro
__________________________________ Do you Yahoo!? Yahoo! Tax Center - File online by April 15th http://taxes.yahoo.com/filing.html
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Monday 12 April 2004 21:27, Pietro Speroni di Fenizio wrote:
you could try this: http://meta.wikipedia.org/wiki/Documentation:Installation look for the sourceforge installation, this matches your situation altough it's not called sourceforge in your case ;-)
also have a look here: http://lmuse.sourceforge.net/wiki/index.php/Login_problem i wrote down some problems i had with my installation.
also you don't need the register globals from 1.2++ not anymore!
good luck, keep trying mediawiki ist probably the best thing i ever used online ;-)
Hello List. My name is Pietro, and I have tried the whole day to install mediawiki without success. The main problem is that I don't have root access to the mysql.
I am being hosted by: http://www.pchighway.com/ Which have some cool caratteristics (or so it seem at my inexperienced eyes): http://www.pchighway.com/hosting.htm and http://www.pchighway.com/plan_starter.htm
PHP 4.3.3 (With Zend Optimizer 2.1.0) MySQL 4.0.15 (2 databases) OS Version FreeBSD 4.9
So, in theory I should have the cards to make the mediawiki work (which was the reason why I bought the account in the first place!)
I'll explain all the relevant actions I did, so it is easier for you to help me: I downloaded mediawiki-1.2.3.tar.gz Untarred, and unzipped in my computer. ftp-ed in the directory /wiki (that is: http://www.mysite.org/wiki )
I changed the chmod so that anybody could do everything everywhere (is called trust), and I went to the directory /wiki
You'll have to set the wiki up first! sure.
MediaWiki 1.2.3 installation Checking environment... PHP 4.3.3 ok PHP server API is apache; ok, using pretty URLs (index.php/Page_Title) Have zlib support; enabling output compression. Found GD graphics library built-in, image thumbnailing will be enabled if you enable uploads. Installation directory: /usr/home/ourpieee/public_html/wiki Script URI path: /wiki
I complete the form, except for the sqlroot that I don't have, and he does not like it. I go on the site and I create the database, and the user, and the password. SO now those things are created from outside. I go back to my form... and he stills asks me for the root password. I try to give him my user password, but he trats it as a random password (unpleasent after all the time I needed to think that up!)
So I decide that I cannot use the install from the web, and I go to the file.
And if before I had problem, now... wow! I take the AdminSettings.sample and LocalSetting.sample, change what I think is right:
$wgDBadminuser = "pietrosperoni"; $wgDBadminpassword = "..." ;)
Now, it seems that the problem comes here: I tried both: $IP = "/wiki"; $IP = "/wiki/includes";
And I got:
Warning: main(): open_basedir restriction in effect. File(/wiki/includes/DefaultSettings.php) is not within the allowed path(s): (.:/tmp:/home:/usr/local/lib/php:/usr/home:/usr/local/bin/) in /usr/home/ourpieee/public_html/wiki/LocalSettings.php on line 32
Warning: main(/wiki/includes/DefaultSettings.php): failed to open stream: Operation not permitted in /usr/home/ourpieee/public_html/wiki/LocalSettings.php on line 32
Warning: main(): Failed opening '/wiki/includes/DefaultSettings.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /usr/home/ourpieee/public_html/wiki/LocalSettings.php on line 32
Warning: main(Setup.php): failed to open stream: No such file or directory in /usr/home/ourpieee/public_html/wiki/index.php on line 49
Warning: main(): Failed opening 'Setup.php' for inclusion (include_path='/wiki/includes:.:/usr/lib/php:/usr/local/lib/php') in /usr/home/ourpieee/public_html/wiki/index.php on line 49
Fatal error: Call to undefined function: wfprofilein() in /usr/home/ourpieee/public_html/wiki/index.php on line 51
As soon as I entered in the wiki directory. What should I do?
BTW, the frontend panel of the sql has all sort of privileges that can be granted to users:
User: ourpieee_wikiuse Db: ourpieee_wikidb Privileges: ALL ALTER CREATE TEMPORARY TABLES CREATE DELETE DROP SELECT INSERT UPDATE REFERENCES INDEX LOCK TABLES
I am very perplexed.
Sorry if it was long, but I thought you probably needed all those data, to help me. MANY thanks for who ever can answer.
Pietro
Do you Yahoo!? Yahoo! Tax Center - File online by April 15th http://taxes.yahoo.com/filing.html _______________________________________________ MediaWiki-l mailing list MediaWiki-l@Wikimedia.org http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
- -- gruss, joachim schiele
On Apr 12, 2004, at 12:27, Pietro Speroni di Fenizio wrote: [snip]
I complete the form, except for the sqlroot that I don't have, and he does not like it. I go on the site and I create the database, and the user, and the password.
How exactly did you do that? What privileges did you grant to the user account?
SO now those things are created from outside. I go back to my form... and he stills asks me for the root password. I try to give him my user password, but he trats it as a random password (unpleasent after all the time I needed to think that up!)
Could you please give the exact error message?
Now, it seems that the problem comes here: I tried both: $IP = "/wiki"; $IP = "/wiki/includes";
$IP must be the complete pathname on the filesystem that you are installing to. For instance, "/usr/local/www/data/wiki" or "/usr/home/ourpieee/public_html/wiki".
Also, if you use the command-line installer, you MUST NOT install to the directory you are installing FROM.
BTW, the frontend panel of the sql has all sort of privileges that can be granted to users:
User: ourpieee_wikiuse Db: ourpieee_wikidb Privileges: ALL ALTER CREATE TEMPORARY TABLES CREATE DELETE DROP SELECT INSERT UPDATE REFERENCES INDEX LOCK TABLES
That's probably ok. What was the error message when you tried to use this account with the web install?
-- brion vibber (brion @ pobox.com)
mediawiki-l@lists.wikimedia.org