Mailing List Archive

Another user who can't install mediawiki
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
Re: Another user who can't install mediawiki [ In reply to ]
-----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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAevBTyzk1c1T5Os4RAiaBAJ9Dho9zaN8kCZYuE37Gq6tRge9JiwCfSbsb
Eq5oUTuqWlJHvcsWazB2qhA=
=S8zY
-----END PGP SIGNATURE-----
Re: Another user who can't install mediawiki [ In reply to ]
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)
Re: Another user who can't install mediawiki [ In reply to ]
It worked.
I still have the email with all the settings I was
going to send, and if you want I'll send it (and all
the answers). But I don't need it anymore. THANKS TO
ALL.
The problem was:
I had created the user,
and created the database,
BUT I DID not add the user to the database.
Makes sense, of course... now!

The site is called ouranswer.org
and will be up very very soon.
Pietro

Interestingly, after it was up, I deleted everything,
to recreate it with the right passwords.
And it would always give me trouble... (I don't
remember what kind of trouble) Even if I deleted the
database, and recreated again. I then deleted the db
and recreated with another name, and it was alright. I
suspect that there might be a bug in the host.

Many thanks to all,
Pietro




__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway
http://promotions.yahoo.com/design_giveaway/