Topic on Project:Support desk

need help with installing SocialProfile extension

8
Tang Empire (talkcontribs)

I'm stuck on the part where you run the update script. I tried using PuTTy and entered

php maintenance/run.php update

but it responded with

Could not open input file: maintenance/run.php

can anyone tell me what I'm doing wrong? I'm not experienced in any of this kind of things, and I really want the SocialProfile extension on my MediaWiki website.

Malyacko (talkcontribs)

Make sure to be in the correct folder when running the php command, so the file path and file both exist.

Tang Empire (talkcontribs)

could you give an example? I do not quite understand. I also can't find anything with "maintenance/run" in my files, which file am I supposed to run?

I'm trying to follow Manual:Update.php btw

Bawolff (talkcontribs)

You need to use the cd comman to change to the directory of your wiki. E.g. if your wiki was installed in /var/www/html you would run cd /var/www/html before running the update.php command.

Tang Empire (talkcontribs)

ok this might be a stupid question but what do you exactly mean by where the wiki is installed? like is it a file or...?

Bawolff (talkcontribs)

It would be a directory in the system. When you installed mediawiki you probably had to put mediawiki's files somewhere. Whereever that is. (This can vary a lot between hosts. Most common is /var/www/html or /home/yourusername/public_html but it really can be anywhere)

Tang Empire (talkcontribs)

oh, I understand. so how do I find out what mine is called? I host my website on Hostinger, and my files just exist in the "file manager", there isn't really more information.

Tang Empire (talkcontribs)

ok nevermind, I found mine and succeeded. thank you guys