Last modified: 2010-05-15 15:33:00 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 3247 - where can i add the right url for picture upload
where can i add the right url for picture upload
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
1.4.x
PC Windows XP
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://andrologie.crazy-hosting.de/an...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-08-23 23:35 UTC by Michael Mellinger
Modified: 2010-05-15 15:33 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Michael Mellinger 2005-08-23 23:35:16 UTC
my page is hosted by a free hoster ander this url:
http://andrologie.crazy-hosting.de/
my client name ist web32,

the database (mysql) ist on
http://www.youspace.de
my client name there ist web115

a get access to the database on youspace.
1. but i can't get access to the uploaded pictures there
2. i can't upload new images - you can try it ones

i get the following onscreen faultmessages:
<b>Warning</b>:  mkdir(web115.confixx.youspace.de/zyklus/images/4): No such file
or directory in <b>/srv/www/htdocs/web32/html/andro/includes/Image.php</b> on
line <b>724</b><br />
<b>Warning</b>:  mkdir(web115.confixx.youspace.de/zyklus/images/4/4f): No such
file or directory in <b>/srv/www/htdocs/web32/html/andro/includes/Image.php</b>
on line <b>726</b><br />
<b>Warning</b>: 
move_uploaded_file(web115.confixx.youspace.de/zyklus/images/4/4f/Fragezeichen.png):
failed to open stream: No such file or directory in
<b>/srv/www/htdocs/web32/html/andro/includes/SpecialUpload.php</b> on line
<b>316</b><br />
<b>Warning</b>:  move_uploaded_file(): Unable to move
'/srv/www/htdocs/web32/phptmp/php6nClsI' to
'web115.confixx.youspace.de/zyklus/images/4/4f/Fragezeichen.png' in
<b>/srv/www/htdocs/web32/html/andro/includes/SpecialUpload.php</b> on line
<b>316</b><br />
Comment 1 Antoine "hashar" Musso (WMF) 2005-08-24 11:11:32 UTC
Changed subject to reflect the issue.

The script attempt to create a directory in
web115.confixx.youspace.de/zyklus/images/
although mediawiki seems to be in /srv/www/htdocs/web32/html/andro

You should check your LocalSettings.php variables such as
$wgUploadDirectory which should be "$IP/images" where $IP is probably
already set to /srv/www/htdocs/web32/html/andro .
Comment 2 Michael Mellinger 2005-08-24 23:14:30 UTC
this is the first idea i try.

I set the following arguments, no one match.
$wgUploadDirectory   = "web115.confixx.youspace.de/zyklus"
$wgUploadDirectory   = "web115.youspace.de/zyklus"
$wgUploadDirectory   = "web115.confixx.youspace.de"
$wgUploadDirectory   = "web115.confixx.youspace.de/zyklus/images"
$wgUploadDirectory   = "youspace.de/zyklus"
I think this is the right adress to my webspace:
web115.confixx.youspace.de/

in the warning message can you see the argument:
web115.confixx.youspace.de is it show because i set it in local.php

if i call specialpages, then "special:Newimages"
i should see my uploaded pictuers, but there is only
shown the spaceholder. if i click on the picturepage
is there no picture, there is only the messeg 
picture not available. After this i click on the link
is show. i new browserwindow is open with the following
url. 
http://andrologie.crazy-hosting.de/index.php/web115.confixx.youspace.de/zyklus/images/9/9b
-------------^my host^----------------------.-----------^my
database^-------------------
Comment 3 Michael Mellinger 2005-08-24 23:19:21 UTC
this is the first idea i try.

I set the following arguments, no one match.
$wgUploadDirectory   = "web115.confixx.youspace.de/zyklus"
$wgUploadDirectory   = "web115.youspace.de/zyklus"
$wgUploadDirectory   = "web115.confixx.youspace.de"
$wgUploadDirectory   = "web115.confixx.youspace.de/zyklus/images"
$wgUploadDirectory   = "youspace.de/zyklus"
I think this is the right adress to my webspace:
web115.confixx.youspace.de/

in the warning message can you see the argument:
web115.confixx.youspace.de is it show because i set it in local.php

if i call specialpages, then "special:Newimages"
i should see my uploaded pictuers, but there is only
shown the spaceholder. if i click on the picturepage
is there no picture, there is only the messeg 
picture not available. After this i click on the link
is show. i new browserwindow is open with the following
url. 
http://andrologie.crazy-hosting.de/index.php/web115.confixx.youspace.de/zyklus/images/9/9b
-------------^my host^----------------------.-----------^my database^----
Comment 4 JeLuF 2005-08-27 13:25:56 UTC
The $wgUploadDirectory is a host directory, not a URL path. It has to be either
absolute or relative to your index.php file.
Comment 5 Michael Mellinger 2005-08-27 14:23:00 UTC
(In reply to comment #4)
> The $wgUploadDirectory is a host directory, not a URL path. It has to be either
> absolute or relative to your index.php file.
Which is the right parameter i have to change?
Comment 6 Michael Mellinger 2005-09-02 19:16:32 UTC
(Add reply to comment #5)
Is the answer from JeLuF right. Where can i add/change the right url for the
picture adress?
Comment 7 Rob Church 2005-12-15 19:43:22 UTC
MediaWiki ships with an images directory, which contains a readme file by
default. What you'll most likely need to do is set $wgUploadDirectory =
"{$wgScriptPath}/images"; in LocalSettings.php, and make that directory writable
by the web server (CHMOD 777); then enable uploads by setting $wgEnableUploads =
true; (also in LocalSettings.php).

Resolving INVALID.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links