Mediawiki installation not working

Asked by:
dionisio.deniz / 24 Points
Time:
2014-01-17 6:57 pm EST
Category:
Tools
Hits:
1,418
I just created a subdomain and installed mediawiki in it. I was able to get into the front page once and into the login page.However, when I tried to log in with the admin account it got stuck and never got a response. Now I cannot even enter the front page. Is this package working? Should I reinstalled?

To ask this user for more information, please first login.

To submit an answer, please login.

John Paul,

While the redirection works for regular websites, it does not work with the wiki installation. This is because there are some configuration variables in the wiki that point to the original website. In particular the wgServer is one of them. I already modified this variable and it works partially, i.e., when I access a function it tries to go to the non-https site. I should point out that uppon installation, the mediawiki as whether it should use http or https. However, if I select https it double checks if there is a certificate for the selected subdomain (I am force to choose a subdomain). Hence I cannot select https given that I do not have a certificate for the subdomain.

Any ideas?
dionisio.deniz
24 Points
2014-01-21 06:41 am EST

Best answer chosen by User

1

johnpaulb-whh2
Staff
12,339 Points
2014-01-17 8:08 pm EST
Hello dionisio.deniz,

Thank you for your question. I investigated this further and I am able to replicate the same problem when installing Mediawiki using Softaculous. Please allow us some time to investigate further, I will post some follow-up information when it is resolved.

In the meantime, you can manually install Mediawiki, by following this guide I found via google search.

Thank you for your patience, while we work to correct this issue. If you have any further questions, feel free to post them below.
Thank you,

-John-Paul

To submit a comment on this answer, please first login.

Would the manual installation work?
dionisio.deniz
24 Points

2014-01-17 9:32 pm EST
Hello dionisio.deniz,

After further testing, I noticed that this problem only occurs with version 1.22.1. I have notified our System Admin team, so they can work on a solution.

In the meantime, as a workaround, you can install Mediawiki version 1.19.10, by selecting it in the Choose the version you want to install section of Softaculous.

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul
johnpaulb-whh2
12,339 Points
Staff
2014-01-17 11:15 pm EST
Excellent. I was now able to create and access the wiki. Now I am trying to make it private so I want to use https. However, I was wondering if it is possible to use it with the generic secure.webhostinghub certificate.
dionisio.deniz
24 Points

2014-01-18 7:04 pm EST

ANSWERS

0

johnpaulb-whh2
Staff
12,339 Points
2014-01-21 6:30 pm EST
Hello dionisio.deniz,

Thank you for contacting us today. After much research, I was able to get this working. below are the exact steps I performed:

  1. Install Mediawiki 1.19 using Softaculous

  2. In the directory you installed MediaWiki in, locate and Edit the following lines in the LocalSettings.php file. They should look like this when you are done:
    Just enter the secure server name:
    $wgServer           = "https://secure28.webhostinghub.com";

    Enter your cPanel username here; replace the /foldername with the actual name of the folder you installed Mediawiki in:
    $wgScriptPath     = "/~userna99/foldername";

  3. Save what you have done, and test the site

You may have to clear your cache for it to work.

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul

To submit a comment on this answer, please first login.

it worked. thanks a lot.
dionisio.deniz
24 Points

2014-01-22 12:20 am EST
Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}