Project:Support desk

From MediaWiki.org
Jump to: navigation, search
vde   This page is for questions relating to the MediaWiki software.

Welcome to MediaWiki.org's Support desk, the central on-wiki place to ask MediaWiki questions!

The greater purpose of this page is to make our Manual and other available help so good that you do not have to come here to ask questions, or making them easier to find.

There are other ways for of communication as well (IRC, mailing lists etc.). Read more here.

Before you post

Post a new question

  1. To help us answer your questions, please always indicate which versions you are using:
    • MediaWiki (reported by your wiki's Special:Version page)
    • PHP (likewise)
    • Database (likewise, e.g. MySQL 5.5)
  2. Please include the URL of your wiki unless you absolutely can't. It's often a lot easier for us to identify the source of the problem if we can look for ourselves.
  3. To start a new thread, click "Start a new discussion".

Archiving topics

Topics are automatically archived when they have been inactive for three weeks. If a question you have asked is approaching this limit and still has not been answered, please 'bump' it to prevent it being archived. However do not 'bump' for other reasons.

Start a new discussion
First page
First page
Previous page
Previous page
Last page
Last page

[RESOLVED] Problem uploading files: Could not create directory "mwstore://local-backend/local-public/5/54".

Edited by another user.
Last edit: 15:00, 12 June 2013

Hello, I upgraded our wiki from 1.16 to 1.21.0rc5. I can no longer upload files. I get the error: Could not create directory "mwstore://local-backend/local-public/5/54".

I also get

Internal errors:
Error storing file in '/tmp/php2k23Xw': Could not create directory "mwstore://local-backend/local-temp/c/ca".

Backtrace:

#0 /var/www/html/wiki/includes/upload/UploadBase.php(836): UploadStash->stashFile('/tmp/php2k23Xw', 'file')
#1 /var/www/html/wiki/includes/upload/UploadBase.php(849): UploadBase->stashFile()
#2 /var/www/html/wiki/includes/upload/UploadBase.php(858): UploadBase->stashFileGetKey()
#3 /var/www/html/wiki/includes/specials/SpecialUpload.php(332): UploadBase->stashSession()
#4 /var/www/html/wiki/includes/specials/SpecialUpload.php(425): SpecialUpload->showUploadWarning(Array)
#5 /var/www/html/wiki/includes/specials/SpecialUpload.php(172): SpecialUpload->processUpload()
#6 /var/www/html/wiki/includes/SpecialPage.php(613): SpecialUpload->execute(NULL)
#7 /var/www/html/wiki/includes/SpecialPageFactory.php(487): SpecialPage->run(NULL)
#8 /var/www/html/wiki/includes/Wiki.php(291): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#9 /var/www/html/wiki/includes/Wiki.php(565): MediaWiki->performRequest()
#10 /var/www/html/wiki/includes/Wiki.php(458): MediaWiki->main()
#11 /var/www/html/wiki/index.php(59): MediaWiki->run()
#12 {main}

I have tried changing ownership and permissions on all files and sub-directories and I just cannot figure out what I am doing wrong. any help would be most appreciated. Below is my installed software.

  • Installed software
    • Product Version
    • MediaWiki 1.21.0rc5
    • PHP 5.3.8 (apache2handler)
    • MySQL 5.1.60
  • Entry point URLs
    • Entry point URL
    • Article path /wiki/index.php/$1
    • Script path /wiki
    • index.php /wiki/index.php
    • api.php /wiki/api.php
    • load.php /wiki/load.php
192.12.119.213:21, 12 June 2013

The second error is especially interesting. Are you using shared hosting? What are the permissions on your images directory? What are the permissions on /tmp?

MarkAHershberger(talk)15:07, 12 June 2013

Hello, I am not using shared hosting. Root owns both /tmp and /var/www/html/wiki/ (and all its subdirectories including images). The permissions are 777 across the board. Thanks.

192.12.119.216:05, 12 June 2013

also, saw that you aren't using the latest mw... can you d/l the latest and try again?

MarkAHershberger(talk)17:58, 12 June 2013

I will give it a try.

192.12.119.218:16, 12 June 2013

Mark, I upgraded to the latest MW(see info below), and although I no longer get the Internal error with a backtrace, I still get: Could not create directory "mwstore://local-backend/local-public/5/54".

For the life of me, I just can't figure this one out.

Installed software Product Version MediaWiki 1.21.1 PHP 5.3.8 (apache2handler) MySQL 5.1.60 Entry point URLs Entry point URL Article path /mediawiki-1.21.1/index.php/$1 Script path /mediawiki-1.21.1 index.php /mediawiki-1.21.1/index.php api.php /mediawiki-1.21.1/api.php load.php /mediawiki-1.21.1/load.php

Any ideas for me? Thanks, Phil

192.12.119.213:18, 13 June 2013
 
 
 
 

I think the following will be useful for that type of error.

If you use Vagrant and your directory is a Shared Folder then Vagrant will reset the access rights every time you try to change it. In this case you have to use mount_optons in your Vagrantfile:

config.vm.synced_folder "../www", "/var/www/html", mount_options: ["dmode=777", "fmode=777"]

this way your www directory will have 777 rights and the web server will be able to write to it. See also related stackoverflow question.

Katkov Yury (talk)09:07, 20 June 2014
 
 

Move the logo

Using Mediawiki 1.23.2 MyPhP: 4.1.12 MySQL: 5.6.16 Skin: Vector How can I move my logo further to the left? At the moment it sits sort of north-east of the sidebar (instead of directly above it) and is partially covered by the main text area. Please can you make the steps simple as I am not a computer coder! Many thanks.

91.125.199.18708:48, 19 August 2014

Hi!

Two options:

1) Edit the page MediaWiki:<skinname>.css, e.g. MediaWiki:Vector.css in your wiki and add one or two lines of CSS code, which move the logo a bit to the side. Problem: Will no longer fit, if you change the logo file later.

Second and better solution: The logo is expected to be exactly 135 x 135 pixels, not bigger and not smaller. See Manual:$wgLogo! Adjust your logo file to fit these measures and it should fit as well!

88.130.71.8110:51, 19 August 2014

1) What is the CSS code I would need to move the logo? I'm not a computer programmer so would appreciate the exact syntax please.

2) How do I find out how many pixels the logo is?

Many thanks

80.229.177.10015:23, 19 August 2014

What you really want to do is change the logo file. You find the logo at that place, which you have defined as $wgLogo in LocalSettings.php.

88.130.71.8120:10, 19 August 2014

I know where the logo file is and its called logo.png. What do I do now to change the position of the image on the page? You mentioned earlier about adding some CSS code. What is the code I need to add?

80.229.177.10007:59, 20 August 2014
 
 
 
 

Error upgrading from 1.21.1 to 1.23.2

When I attempted to update my mediawiki from 1.21.2 to 1.23.2 I got the following error: <!DOCTYPE html> <html><head><title>Internal error - MediaWiki</title><style>body { font-family: sans-serif; margin: 0; padding: 0.5em 2em; }</style></head><body>

[eaf17141] /w/mw-config/?page=Upgrade Exception from line 182 of /home/wrlimgzl/public_html/w/includes/Hooks.php: Invalid callback in hooks for LoadExtensionSchemaUpdates

Backtrace:

#0 /home/wrlimgzl/public_html/w/includes/GlobalFunctions.php(4004): Hooks::run(string, array, NULL)

  1. 1 /home/wrlimgzl/public_html/w/includes/installer/DatabaseUpdater.php(116): wfRunHooks(string, array)
  2. 2 /home/wrlimgzl/public_html/w/includes/installer/DatabaseUpdater.php(170): DatabaseUpdater->__construct(DatabaseMysqli, boolean, NULL)
  3. 3 /home/wrlimgzl/public_html/w/includes/installer/DatabaseInstaller.php(278): DatabaseUpdater::newForDB(DatabaseMysqli)
  4. 4 /home/wrlimgzl/public_html/w/includes/installer/WebInstallerPage.php(646): DatabaseInstaller->doUpgrade()
  5. 5 /home/wrlimgzl/public_html/w/includes/installer/WebInstaller.php(283): WebInstaller_Upgrade->execute()
  6. 6 /home/wrlimgzl/public_html/w/mw-config/index.php(63): WebInstaller->execute(array)
  7. 7 /home/wrlimgzl/public_html/w/mw-config/index.php(31): wfInstallerMain()
  8. 8 {main}

</body></html> Any suggestions?

Jbsquires (talk)23:47, 19 August 2014

Multi-Server environment

Hey there,

is there a tutorial to run a MediaWiki from multiple servers so that it can withstand a lot of load? The WikiFamily page only has "multiple MediaWikis on one server" which I don't need.

Changing Vector Settings

Hello there,

I admit I'm pretty new on customizing and programming own skin for MediaWiki. For now all I want to achive is a drop down menu/navigation instead of the default "Main Page" and "Discussion" links. Also it would be cool if there is a simple way to change the background color of the Vector skin. I know that the DarkVector already exist, but I prefer to set all attributes by myself. I would like to make it look like this: http://www.wowhead.com/ Please don't send in answers links like https://www.mediawiki.org/wiki/Manual:Skinning or https://www.mediawiki.org/wiki/Manual:Interface/Sidebar because I have already read that several times times and by doing it I cacthed a few bugs. I just don't understand those tutorials.

Naionel (talk)11:59, 18 August 2014

So, why don't you look at DarkVector and see how it sets them and then you'll have a good idea for how to do it yourself.

Note, also, that the creation of custom skins will become much saner in the next version, but this means that any changes you make now will have to be adapted.

MarkAHershberger(talk)14:06, 18 August 2014

You mean version 1.24? Well, we actually don't know when it comes up especially that I have a little bit of time, so I can't wait too much because of that. Isn't there any easier way to get this 2 extensions?

Naionel (talk)14:51, 18 August 2014

1.24 will be released no later than November this year. You could upgrade via git and get the changes now.

MarkAHershberger(talk)15:13, 18 August 2014

1. Ok, I've tried to install the DarkVector skin, but it seems it's too old even for the 1.23 version and it doesn't completely work. 2. Are you sure that the snapshot is stable, so I haven't to worry about crashes and errors?

83.7.131.10417:18, 18 August 2014

I can say, that the versions can be used in production (i use MW1.24wmf16). But it's the point to figure out: Do you know what to do, when something doesn't work? The wmf versions are nearly actual to git, so there can be some stuff, that's untested, but with a little bit of time, background knowledge and the help of mediawiki.org documentation (in developer area, too) normally you can handle possible problems :)

Your main question (o I haven't to worry about crashes and errors): I found nothing, but it can depend on your setup and what Extensions you use :)

Florianschmidtwelzow (talk)18:50, 18 August 2014
 
 
 
 
 

How to add a TOP bar (not sidebar!)?

Hello there,

I'm looking for a simple way to create a drop down top menu without using any extensions or JavaScript (for example, just addings tabs next to the Main Page and Discussion tab). I would like to make it look like this: http://www.wowhead.com/

Naionel (talk)00:07, 19 August 2014

I see search results page instead of article

I've recently upgraded from MediaWiki 1.22 to 1.23, and I notice now that when I type in a search term, I always see a search results page, even if there is an article that matches the name.

  • Before, if I typed "XYZ" and if there is an article named "XYZ", the system displayed that article right away.
  • Now, I get a results page that says "There is a page named XYZ on this wiki", lists that page and then a bunch of other pages that link to it.

Is there a setting that's changed that I'm not aware of? Can somebody point me in the right direction?

Thanks!

Supasaru (talk)19:09, 25 July 2014

I have the same behaviour, I find it annoying, but since it worked before and there anyway are obviously no efforts to change this, I fear some people might even think that's intended.

88.130.122.1319:29, 25 July 2014

In my opinion that's the best way to handle this (but, like i said, that's my personal opinion). What is, if i want to search for the string "XYZ" in other articles? There is only one button "search", not like in past a button for "full article" and "search".

Florianschmidtwelzow (talk)14:36, 26 July 2014

Click on "containing XYZ" and you will be brought to the search page. The fact that hitting enter opens the search, although a page with exactly this name is present, is really confusing. Afterwards I always have to click the page name as if MediaWiki was asking me, if I really meant my search serious. This change lowers user experience. Or is there an option, which I could set to work around that bug?

88.130.96.13115:26, 26 July 2014
 
 

Wikipedia, the biggest user of the MediaWiki software (if I'm not mistaken) continues to bring you directly to page XYZ, and not a search results page.

This leads me to believe there's a setting somewhere, but where? Anybody have an idea?

Supasaru (talk)23:48, 26 July 2014

I could not believe that, but you are right: While on Wikipedia this works correctly, it is broken e.g. on a system of mine (running MW 1.23.1). I also want to know, how I can fix this for my system!

There is no fitting documentation at Manual:Configuration_settings#Search

88.130.96.13100:15, 27 July 2014

Ähm, yeah :) I have tested it now with Vector skin on my private wiki (which is running 1.24wmf12), and if i search for a page which exist, i will be redirected to this, not to the search result page. In my custom skin i will be redirected to the search result page ever, so do you use a custom skin? Then you must change the search button from fulltext to go :)

Florianschmidtwelzow (talk)12:58, 27 July 2014

Yes, I do use a custom skin. I still remember how I put a comment in my skin file at the place, where the MediaWiki devs changed the display of the search buttons, because I couldn't get it to work properly for me: The display of the buttons alwaysgot messed up, so I decided to leave them both for now. But does that (the presence of two instead of one button) also influence what happens when I hit enter (because that is where I see the problem and where it annoys me most)?

88.130.76.19813:04, 27 July 2014
 

I'm using Vector with no custom skinning, so I don't understand what's causing a search results page to appear.

Supāsaru14:57, 27 July 2014
 
 
 

Does anybody have any answers to this?

Supāsaru12:03, 3 August 2014

I have also the version 1.23.2 and when I type XYZ in research I have a list with the 2 possibilities if the page exists

first line : XYZ second line : "including XYZ" They apperas when I move the mousse

But don't clic on the glass

Chantoune (talk)18:00, 3 August 2014
 

→ Bump ←

I continue to experience this "bug." Does anybody know the cause?

Supāsaru12:31, 19 August 2014
 

adding banner

<a href="https://orange.com/aff.php?aff=xxxx"><img src="http://www.orange.com/images/banners/affbannerlightorange.png" alt="high performance ssd vps" /></a>

I am trying to convert this banner code to wiki

have tried span links to get rid of icon and have added external images to local settings but can't seem to code this simple example

If you just want to remove the external link icon, you can wrap the link in , like this:

http://stackoverflow.com/

or even

Stack Overflow


[[http://www.orange.com/images/banners/affbannerlightorange.png|link=https://orange.com/aff.php?aff=1746]]


I am looking for good header footer extension also but will probably need this same code there as well

what am i doing wrong?

107.191.96.20012:11, 19 August 2014

importing tables from internal links

Hi,

This may be covered elsewhere, however I'm having troubles even thinking of what the search argument would be.

I'm working on the War Thunder wiki, and I'm creating pages for separate components of vehicles that occur on more than one vehicle. What I need to do now is to import the contents of those pages into the vehicle page, sort of like referencing subroutines in a conventional program.

Is it possible to do this, and if so, how would I go about it?

Any help would be gratefully accepted.

Tony.

Zorbu (talk)05:24, 19 August 2014

Add global CSS link to head or RessourceLoader?

Hi, I want to add a site-wide CSS link to teh head element or RessourceLoader (fortawesome.css). Is that possible in LocalSettings?

93.184.128.2408:50, 18 August 2014

Hi!

You possibly can use LocalSettings.php to overwrite the definitions from vector as you find them in resources/Resources.php. However, I would not say doing so is intended; if you want to change CSS in one of the Core skins, e.g. of Vector, you should better put it on the wiki page MediaWiki:Vector.css in your wiki or - if your changes are bigger - create an own skin.

88.130.76.14613:39, 18 August 2014

Thanks, I'm surprised there is no easier way. I'm using @import in MediaWiki:Common.css now, but that is a belated HTTP request.

93.184.128.2415:54, 18 August 2014

(I understand your question so, that you want to add additionally css rules) Sure, you can define a new ResourceLoader module and load your skin in it. After this use the Hook "BeforePagDisplay" and load the module there.

But please notice the hint of "88.130.76.146"

Florianschmidtwelzow (talk)18:42, 18 August 2014

Sorry, this sounds way too complicated. MediaWiki got out of hand since the RessourceLoader.

93.184.128.2508:43, 19 August 2014
 
 
 
 

[RESOLVED] Error writing to CDB file

Edited by author.
Last edit: 21:01, 18 August 2014

I didn't change anything on my box and one day it suddenly have this:

Screenshot:

Http://i.imgur.com/rbmazsr.png

Env:

MySQL 5.5 PHP-FPM 5.4 MediaWiki 1.23.? I forgot.

cache/ has been set to 777, still not working.

Could anyone help me please, thanks.

Hlx98007 (talk)20:50, 18 August 2014

Hi!

I would try emptying the cache/ folder (but keeping the .htaccess file). Does that help? Maybe a permission issue with this folder?

88.130.76.14620:58, 18 August 2014

Even with the fresh new installation, with the old LocalSettings.php + images/ + extensions/ + uploads/, MediaWiki would pop error, the same kind of error.

Hlx98007 (talk)21:02, 18 August 2014
 

Problem solved, in php.ini, the mbstring.func_overload must equal to 0 (it was 2 because of an installation of zabbix by another guy)

Hlx98007 (talk)21:16, 18 August 2014
 

Synology NAS ir UNC links

Hello,

I have synology NAS. I installed MediaWiki on it.

By default MediaWiki don't understand UNC links, like file://ip/photo, shared files and etc. Because I have to install extension http://www.mediawiki.org/wiki/UNC_links. After installiation MediaWiki has understanding UNC links, they are active, but when I click in IE - file doesn't open in WI (Windows explorer)

78.56.140.1620:29, 18 August 2014

Keeps getting logged out on File-pages

Hello,

So I've got a really irritating problem here. I have a small private wiki, and everything works just fine, except that I can't access the File:-pages. However, I can upload just fine.

On the Filelist-specialpage, I see all my uploaded files – and I can even click on the "file"-link to open it, but if I click on the title I just get a prompt "You have to log in to view other pages". Even though I'm already logged in.

If I click on the log in, it directs me to the login screen with the text "You are already logged in as X, but you can log in as another user".

I'm running MediaWiki 1.23.2, with the "private" MediaWiki permissions.

Any help would be much appreciated.

213.100.163.20118:04, 14 August 2014

Hmm, strange :/ What is, if you try to access to talk page of a file (File_talk:Filename.ext)? Have you some old lines of Manual:$wgNamespaceProtection in your LocalSettings.php, maybe?

Florianschmidtwelzow (talk)19:55, 14 August 2014

Are the file pages in the same wiki or are they actually located in a different wiki? That would explain why you are not logged in there, while in the normal wiki you still are...

88.130.81.9519:59, 14 August 2014

Nope, 100% sure it is the same Wiki =/

213.100.163.20107:11, 15 August 2014
 

Thank you so much for taking your time to try and help me out.

But no, I do not have the $wgNamespaceProtection parameter in my LocalSettings.php. This is a fresh install from 1.23.2 directly, so I don't think I should have any legacy stuff laying around.

I've uploaded my LocalSettings.php here http://pastebin.com/DFWqgFu6 if anyone wants to take a look.

213.100.163.20107:10, 15 August 2014
 

Okay, after spending multiple hours on this, I find a "solution". If I open up the entire Wiki to be readable, with "$wgGroupPermissions['*']['read'] = true;". Then I can access the File-namespace. If I set $wgGroupPermissions to "read" for any other user group, it still locks you out from the File-namespace no matter what.

But that is something I really don't want to do, the idea for this Wiki is to keep it closed.

213.100.163.20112:37, 15 August 2014

I have tested it with MW 1.24 and your configuration, and there is no problem with accessing File: pages :/ Can you use ?action=purge please? Just an idea.

Florianschmidtwelzow (talk)14:04, 15 August 2014

Thanks for your help again. However, purge doesn't do it either... =(

It's so weird – I can upload the files just fine, but once it's uploaded it just redirects me to the login screen.

I can see all my files in the filelist, and open the file itself – just not the title=File:-namespace.

I've tested all other namespaces, and they are just fine.

213.100.163.20114:29, 15 August 2014
 
 

Okay, another update (help is still needed).

So far I have put down around 14-20 hours trying to fix this annoying issue. Anyhow, I tried with fresh installations on a VPS and locally, and everything worked just fine.

So I did a new fresh install on the current host. Still, same problem... The problem is that I am kind of locked in with this particular host on this project – I can't switch to another VPS or the like.

What is even more odd than my previous issues was that I installed the MobileFrontend extension, and if I view a file in the File-namespace with the mobile view, it works...! How odd is that?!

I really need some help with this, and I am willing to put down a bounty to whoever gives me information on how to solve this.

213.100.163.20107:55, 18 August 2014

Do you have a cookie problem? IIrc, your login is stored in a cookie and MediaWiki again recognizes you based on this cookie. Before you visit a File: page, the cookies obviously are still there, but when you visit one you loose them. Is that right?

If so, you should check, why this is happening...

88.130.76.14614:08, 18 August 2014

If this happens, it's really strange, because, if he click on login, he becomes the message, that he is logged in already. That's only possible, if there is a valid session and a user logged in :)

Florianschmidtwelzow (talk)18:55, 18 August 2014
 
 
 

web address changes to IP address when accessing MW server

I have a MW server running locally on port 85, to get to this I have a subdomain which does a redirect to my local WAN IP and the associated port (just HTTP forward to http://IP:PORT ). Only trouble is when I load the web address, it changes from the subdomain to IP:PORT. I've tried modifying $wgServer in LocalSettings.php for MW and ServerName in httpd.conf for the associated apache server to no avail. Also I've tried a bunch of different combinations such as forwarding to http://IP:PORT/mediawiki/index.php etc.

This solution on stack overflow suggests Apache Module mod_proxy, but I'm not sure if I need this, and I'm hesitant possibly opening more doors to the internet without knowing what can happen.

Phaseform

Phaseform (talk)14:43, 16 August 2014

Hi!

Do I understand this correctly? You say that when you call the subdomain and hit enter, then you get a call to the IP address instead?

If this is the case, then it is not $wgServer, which would be set incorrectly. $wgServer "only" influences how MediaWiki builds the URLs, which it creates. When these URLs still point to the subdomain (and not to the IP address), then $wgServer is set correctly (or at least not wrong in a way that it would point to the IP address).

88.130.77.18315:52, 16 August 2014

Thankyou that clarifies a lot, but I still can't find what is set incorrectly, I've been through like every setting on the domain provider web settings. Still not sure which component is at fault.

58.96.109.12016:50, 16 August 2014
 

> does a redirect to my local WAN IP

Really a redirect? Then there is your problem. You need to set a resource record (A (IPv4) and AAAA (IPv6) normally) to point to your IP-Adress where the server runs behind.

Notice: Please think about, if a local hosting of a webserver is the correct way to provide internet services :)

Florianschmidtwelzow (talk)20:58, 16 August 2014

finding out about DNS records just made my day. now I need my local servers to set a subdomain to a port. I have a very small amount of traffic in so I'm not overly concerned about my meager up speed :)

Phaseform (talk)08:50, 17 August 2014

This was the solution? :)

> to set a subdomain to a port

That's impossible. DNS records always points to an IP adress (at least A and AAAA records). On what port the user can reach what service is configured on the server behind the IP address :)

Florianschmidtwelzow (talk)18:52, 18 August 2014
 
 
 

Change the lower page footer

Welcome. Tell me, where you can put COUNT attendance of my site? And how to change the footer to display advertisements in it?

5.141.239.8709:29, 18 August 2014

Hi!

Are you looking for Manual:$wgDisableCounters?

88.130.76.14613:41, 18 August 2014
 

You can use some hooks to change the footer content (or add ads if you want):

Manual:Hooks

Florianschmidtwelzow (talk)18:40, 18 August 2014
 

Removing copyright-infringing images

I've found a page that contains content that infringes directly on my, and my employer's copyright, and it needs to be permanently removed. How do I go about getting that done?

This is the page, and the image on it is my personal work, and is not public domain. Nor have any permissions been given to anyone for it's use.

http://1d4chan.org/wiki/File:Chandra_and_Liliana.jpg

Thanks for any help,

Steve

Steve Argyle (talk)17:47, 18 August 2014

Hi!

The image you mention is hosted at http://1d4chan.org. This website is not run by the MediaWiki Foundation nor is it related to Wikipedia. 1d4chan.org is only using MediaWiki, the software, which is also used for Wikipedia et all.

Wiki administrators usually can delete pages and images. Here is a list of those users, who are admins in that wiki: http://1d4chan.org/index.php?title=Special%3AListUsers&username=&group=sysop&limit=50. You can contact one of these users on their talk page.

88.130.76.14617:52, 18 August 2014
 

Infobox not displaying correctly

Hello! I have a problem with infoboxes on my wiki. I can't use Lua because I don't have access to proc open on my server, so I'm stuck with the old fashion.

Here is what I get: http://dudeauclavier.fr/pj/index.php/Test (source code for the infobox:http://dudeauclavier.fr/pj/index.php/Mod%C3%A8le:Infobox)

I don't understand why: ParserFunctions is installed and enabled.

Any idea?

Thanks for any help.

Version:

  • MediaWiki 1.23.2
  • PHP 5.4.30 (litespeed)
  • MySQL 5.5.35-33.0

Extensions installed:

  • CategorySuggest (version 1.1) –
  • ParserFunctions 1.6.0
  • Spoilers 1.0
86.73.156.24808:23, 17 August 2014

I don't think this has anything to do with ParserFunctions. It looks like you are doing everything right. Does this work in earlier versions of MediaWiki?

MarkAHershberger(talk)15:28, 18 August 2014
 

Error while moving mediawiki install to a new URL.

Hey everyone!

I'm trying to move a 1.17.0 mediawiki installation to a different subdomain, due to requests from my web host.

The site was located at site.projetopescar.org.br/tsp/ , and now it has moved to tsp.projetopescar.org.br/tsp/ .

I have backed up the database, downloaded all the files, imported the DB to the new server and uploaded the files to the new location.

What I get now is the following error:

Fatal error: Call to a member function read() on a non-object in /var/www/vhosts/tsp.projetopescar.org.br/httpdocs/tsp/includes/Skin.php on line 56

I have tried changing permissions to every file and folder to 777, just to make sure it wasn't a permission issue, but the error persists. I have also tried changing the $wgScriptPath on LocalSettings.php, but I can put anything there and the error won't change (I figured it might show a wrong path in the error description).

So, I'm at a loss. Please help!

Felipe

187.112.55.22911:47, 18 August 2014

Upgrade to at least MW 1.19 -- though that has less than a year of support left.

You'll probably do better by upgrading to 1.23.

MarkAHershberger(talk)15:10, 18 August 2014
 

[RESOLVED] Database error after installing latest version of Mediawiki

Have just installed v.1.23.2 and imported a backed up database through phpMyAdmin. Also copied backed up images folder into new mediawiki folder. PhP is version 5.5.11, mySQL v.5.6.16. The original database and LocalSettings file were produced on mediawiki v.1.16. I have not copied the orginal local settings file over; instead I used the new LocalSettings file produced during new installation of 1.23. I am operating this on a localhost only. I now get the following error message:

A database query error has occurred. This may indicate a bug in the software.

   Query:
   SELECT page_id,page_namespace,page_title,page_restrictions,page_counter,page_is_redirect,page_is_new,page_random,page_touched,page_links_updated,page_latest,page_len,page_content_model FROM `mw_page` WHERE page_namespace = '0' AND page_title = 'Main_Page' LIMIT 1
   Function: WikiPage::pageData
   Error: 1054 Unknown column 'page_links_updated' in 'field list' (localhost)

Can anyone help me where I shoule start to look to solve the problem.

91.125.136.24117:10, 11 August 2014

When updating MediaWiki, please always follow the official Upgrade Guide! Additionally to the steps you did you e.g. willhave to update the database... ;-)

88.130.72.12717:27, 11 August 2014

Okay I have tried following the update guide, however I can't find anything on how to update the database. I ran update.php from the command prompt and received no messages. Where do I go from here?

91.125.136.24122:27, 11 August 2014

Do you mean that you ran php update.php and you received no output? That's a PHP error, then.

You should try the web updater (see Upgrade#Web_browser)

Ciencia Al Poder (talk)09:32, 12 August 2014

I think I ran update.php! Under the maintenance directory in the command prompt I typed update.php and nothing happened except that the php file opened up. What am I supposed to do next? Thanks.

91.125.136.24111:10, 12 August 2014

What you did exactly?

Just typing update.php shouldn't do nothing on linux at least, since the file isn't executable. And it shouldn't do anything on windows neither, at least from the command prompt.

Be sure to call it after the php executable.

Ciencia Al Poder (talk)17:24, 12 August 2014
 
 
 
 
 

Image position "right" does not work

Edited by another user.
Last edit: 13:34, 18 August 2014

[[File:image.png|right|descripp]] not working in my site: http://scratch-wiki.besaba.com/Галерея

Dimon4ezzz (talk)10:04, 18 August 2014

Hi!

You might try a tool like Firebug to find out how the positioning is done in wikis where it is working. That will give you an idea, what is currently missing for you.

88.130.76.14613:36, 18 August 2014
 
First page
First page
Previous page
Previous page
Last page
Last page