If I upload an image server it makes a mistake and is not seen. In contrast, images from Wikimedia Commons do work. Does anyone know?
Project:Support desk
Jump to navigation
Jump to search
Reply to "Problem creating images. This is an error"
Reply to "About JavaScript date.now() function , Wikipedia said 60 % php , 40% from JavaScript"
Reply to "Date Version"
Reply to "dumpBackup.php Fails"
Reply to ""Unable to run external programs, proc_open() is disabled. Error code: 1""
Reply to ""Permission Error" page appears first instead of the login page"
Reply to "Private Areas"
Reply to "Media wiki home page completely blank for logged off users but when logged in all pages working fine?"
How exactly do you upload? What is the mistake? What is the website? What does the web server error log show? What do the web browser's developer tools show? What are clear steps to reproduce? Which MediaWiki version is this about? Please see the sidebar - thanks! :)
The version is 1.35.1 I do not understand that. You can see the site at this link
Hi, please also answer the other questions. I could not see the site at that link, as it first required to allow storing cookies in my browser. That website link shows an image of the Wikimedia Commons logo. If it does not for you, then see my previous question: What do the web browser's developer tools show?
I do not know. I started working with the software a few days ago
See the error message on that page. It says: שגיאה ביצירת תמונה ממוזערת: Unable to run external programs, proc_open() is disabled. Error code: 1
Upload an image like any regular media wiki site. The software version is the newest.
@Novike Feel free to explain which steps you perform on which exact page(s) and why you think that you cannot upload images, what exactly happens, and what happens instead. The proc_open() is disabled might be very related, so you may want to fix that first. See Manual:Common errors and symptoms#Unable to run external programs, proc open() is disabled
See this link for what the file upload log looks like http://elazar.epizy.com/uploads/%D7%A6%D7%99%D7%9C%D7%95%D7%9D_%D7%9E%D7%A1%D7%9A_2021-01-27_164738.png
Ah, thanks. In that case, see Topic:W2b8u0tkbda6gw16
Help
Can you test from your any computer or phone to view any page from official Wikipedia . then view your server log record , the time stamp is form computer local time or sever utc time?
But first please change your phone or computer time clock , set to fast 5 minutes or more.
Thanks
Date.now() returns date in the current device, not server. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/now
Please ask JavaScript questions elsewhere if they're not related to MediaWiki
Wikipedia server is use JavaScript , i need clearly to know when i view any web page from Wikipedia server log record is save my access computer local clock ? or use Wikipedia utc clock.
Can you help me .
I send Wikimedia Answers email and Wikipedia Volunteer .
Volunteer email said server log save record is for Wikipedia utc , not my computer time
Wikimedia Answers said me go to this to request my problem.
Hello
This 100% is about official Wikipedia , because my problem about law , when anyone view Wikipedia web page . The time stamp have or not Will it be affected by the JavaScript time function , server log records is save my computer local clock ? or use Wikipedia utc clock.
Anything saved/stored on the server uses the server time, not JavaScript time. Dates on the server are stored using UTC timezone. However, dates displayed on browser may be adjusted to a different timezones depending on user preferences, and in case of unregistered users, it will use the configured server's timezone (usually UTC, but may be different on different wikis)
Ok , thanks for your help first
But my question is not about register or unregistered to edit Wikipedia web page is or not the time stamp it will be affected by the JavaScript date.now() time function .
Ok finally
eg: i come to this url read this page Wikipedia, server log record is save my access computer local clock time stamp ? or use server utc clock time stamp. No any affected by the JavaScript date.now() time function .
https://zh.m.wikipedia.org/wiki/HoneyWorks
Thanks
What server log are you talking about? The link you pointed at is a normal page, not a log
Normal page have log .
From
server /var/log/apache/access.log have save anyone records ip , date , time .
But media wiki program have use date.now() time function by Wikipedia Volunteer said that , so anyone only read this normal page , the server log record is save my computer local clock time stamp ? or use server utc clock time stamp. No any affected by the JavaScript date.now() time function ?
Please focus and come back to system access.log
Thanks
I do not have access to Wikimedia Foundation's servers to see the contents of the apache access log.
Apparently, the default configuration for access logs is to display the server's timezone:
https://httpd.apache.org/docs/2.4/logs.html#accesslog
Again, this is not specific to MediaWiki.
Hello thank you .
How can contact Chinese server owner?
Thanks
Open a ticket on Phabricator
How to report a bug might be a better link. :)
Hello,
when you upload a data/ picture ana changes can be tracked on a page called "Data:Name.xyz"
My question is: Is it possible to change the design of the table, which is on this page? Instead of "Version from", I would rename this column to "uploaded at" or put one more column into it.
YOuld be great if anyone can help.
Thanks
/public_html/maintenance$ php dumpBackup.php
Notice: Undefined index: hideroot in /home/gunsywtx/public_html/LocalSettings.php on line 288
...
php dumpBackup.php --full > dump.xml
> 2021-01-26 22:44:52: gunsywtx_gunsens (ID 751163) 0 pages (0.0|0.0/sec all|curr), 100 revs (317.2|317.2/sec all|curr), ETA 2021-01-26 22:45:08 [max 5171]
2021-01-26 22:44:52: gunsywtx_gunsens (ID 751163) 0 pages (0.0|0.0/sec all|curr), 200 revs (477.3|964.1/sec all|curr), ETA 2021-01-26 22:45:02 [max 5171]
...
2021-01-26 22:44:55: gunsywtx_gunsens (ID 751163) 214 pages (65.4|2368.1/sec all|curr), 3100 revs (948.1|1106.6/sec all|curr), ETA 2021-01-26 22:44:57 [max 5171]
2021-01-26 22:44:55: gunsywtx_gunsens (ID 751163) 227 pages (68.6|5817.0/sec all|curr), 3151 revs (952.3|1306.9/sec all|curr), ETA 2021-01-26 22:44:57 [max 5171]
> Command `php dumpBackup.php --full > dump.xml` failed with return code 0 and error
See the notice message.
Which notice message? i don't understand the problem. thx
@Johnywhy See Notice: Undefined index: hideroot in /home/gunsywtx/public_html/LocalSettings.php on line 288
Have you checked that file around its line 288? What is there, and why?
i commented the problem line in LocalSettings.php. Not getting that error anymore.
But dumpBackup still failing.
php dumpBackup.php --full > dump.xml
> 2021-01-26 22:44:52: gunsywtx_gunsens (ID 751163) 0 pages (0.0|0.0/sec all|curr), 100 revs (317.2|317.2/sec all|curr), ETA 2021-01-26 22:45:08 [max 5171]
2021-01-26 22:44:52: gunsywtx_gunsens (ID 751163) 0 pages (0.0|0.0/sec all|curr), 200 revs (477.3|964.1/sec all|curr), ETA 2021-01-26 22:45:02 [max 5171]
...
2021-01-26 22:44:55: gunsywtx_gunsens (ID 751163) 214 pages (65.4|2368.1/sec all|curr), 3100 revs (948.1|1106.6/sec all|curr), ETA 2021-01-26 22:44:57 [max 5171]
2021-01-26 22:44:55: gunsywtx_gunsens (ID 751163) 227 pages (68.6|5817.0/sec all|curr), 3151 revs (952.3|1306.9/sec all|curr), ETA 2021-01-26 22:44:57 [max 5171]
> Command `php dumpBackup.php --full > dump.xml` failed with return code 0 and error
How do I fix the bug?
@Malyacko update user set user_touched='20200316120000' where hex(user_touched)='0000000000000000000000000000'; ?
Is that enough code? The site later collapsed
@Novike: Errm, what has some user database stuff to do with proc_open ?
When I first log in to Mediawiki the first page that always appears is the "Permission Error" page because I am not logged in. Then I have to click into the authenticate button to go to the login page. I want know if it's possible to go direct to the login page.
Hi,
I have a problem with the back button of the browser, the wiki doesn't seem to respect the history correctly and redirects the user in the wrong way.
I have created a video to illustrate this problem that you can watch on youtube at the following link: https://youtu.be/4qE6tJ5w_4A
My wiki to the next version : MediaWiki(1.35.1), PHP7.4.13 (fpm-fcgi)
Thank you in advance for your help
Does it work in another browser like Firefox? Does it work when not using private mode?
I have tried it on Safari/Firefox/Chrome in private mode and without private mode. The problem still occur every time.
Hi,
I have a problem with the back button of the browser, the wiki doesn't seem to respect the history correctly and redirects the user in the wrong way.
I have created a video to illustrate this problem that you can watch on youtube at the following link: https://youtu.be/4qE6tJ5w_4A
My wiki to the next version : MediaWiki(1.35.1), PHP7.4.13 (fpm-fcgi)
I have tried it on Safari/Firefox/Chrome in private mode and without private mode. The problem still occur every time.
Thank you in advance for your help
This was already posted at Topic:W1ztz7uxuyiq4749 ?
Since no response was received, I allowed myself to repost the question. I will close this topic as you don't want duplicate
There are some gadgets and tricky things which may skip or insert one entry in history, especially when a page redirect is executed, but to the benefit of the user. It works fine over many years on millions of redirect pages with all browsers with no complaints of WMF wiki communities. IIRC it is about inserting a &redirect=no
URL or to preserve a fragment identifier or something else meaningful.
I found the solution to my issue. Some of my buttons were using the javascript window.location.replace() function which the created problem in the browser history. The issue was in my js code, I'm sorry for the inconvenience.
Hello,
I would use a wiki with many members. Is it possible to create private areas in wiki, where everyone can upload his own document? They should not visible to others. Or a page, which only selected members can open?
Thanks.
So I have a wiki at comp.tf. For a few weeks there has been a strange issue happening. Media Wiki main page doens't load, i's completely blank, even checking the chrome devtools shows no files are being loaded.
However checking any other wiki page, ie: https://comp.tf/wiki/ETF2L works fine. Also recently discovered that when I am logged in the main page appears to be working fine again as you can see in this image. The only error in console being Uncaught ReferenceError: addOnloadHook is not defined
which I tracked to be something in /wiki/MediaWiki:Common.js
I went through the error logs and found something that might be suspicious but still had no luck solving the problem. Here are the logs
PHP Fatal error: Uncaught Error: Class 'Wikimedia\\Rdbms\\IDatabase' not found in /home/admin/web/comp.tf/public_html/w/includes/libs/rdbms/defines.php
[Tue Jan 26 08:55:08.659765 2021] [php7:error] [pid 8357] [client 104.251.212.166:35566] script '/home/admin/web/comp.tf/public_html/index.php' not found or unable to stat
And
[Tue Jan 26 20:12:04.642146 2021] [autoindex:error] [pid 19642] [client 104.251.212.166:42418] AH01276: Cannot serve directory /home/admin/web/comp.tf/public_html/: No matching DirectoryIndex (index.html,index.cgi,index.pl,index.php,index.xhtml,index.htm) found, and server-generated directory index forbidden by Options directive
We went through a troublesome wiki upgrade a few months ago that caused a lot of problems, but at the time it worked fine after it was done. I only detected this problem recently (in the last weeks)
Can someone help me out what might be happening here?
Wiki is at /w/
directory but I have a .htaccess rule rewriting that to the proper /wiki/
directory