Hello,
I'm running MediaWiki version 1.5.6 and would like to upgrade to current
version (1.15.0).
What is the procedure to upgrade ? Is the database compatible ? What about
configuration files ?
Thanks for any advice.
--
francois.piette(a)overbyte.be
Author of ICS (Internet Component Suite, freeware)
Author of MidWare (Multi-tier framework, freeware)
http://www.overbyte.be
I found the (location of) the problem,
zif_timezone_identifiers_list! More below.
>>>>> "sf" == sean finney <seanius(a)debian.org> writes:
sf> what would be the most helpful is if you could (a) install the 5.3
sf> version of php5-dbg and (b) get a core file and backtrace of this
sf> crash in gdb. let me know if you have trouble doing this.
>>>>> "TS" == Tim Starling <tstarling(a)wikimedia.org> writes:
TS> This is not a helpful error message. You will need to run Apache under
TS> gdb to get anything sensible out of this.
TS> gdb /usr/bin/apache2
TS> run -X
TS> View the page in your browser, it should hit the segfault and gdb will
TS> break out to another prompt. Then:
TS> bt
TS> That will give you a backtrace which will hopefully allow you to work
TS> out what component to file a bug against.
OK, I read /usr/share/doc/apache2.2-common/README.backtrace
and ended up installing a total of
apache2-dbg libapr1-dbg libaprutil1-dbg gdb php5-dbg .
Then, as one cannot just do
# gdb `which apache2`
on Debian, I did
# /etc/init.d/apache2 start
# cat /proc/$(pidof -s apache2)/environ|tr \\0 ' '
# /etc/init.d/apache2 stop
from which I deduced I should do the following
# APACHE_PID_FILE=/var/run/apache2.pid APACHE_RUN_USER=www-data PATH=/usr/local/bin:/usr/bin:/bin PWD=/tmp APACHE_RUN_GROUP=www-data LANG=C gdb /usr/sbin/apache2
GNU gdb (GDB) 6.8.50.20090106-cvs-debian ...
(no debugging symbols found)
(gdb) run -X
Starting program: /usr/sbin/apache2 -X
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb6756b90 (LWP 11989)]
[Thread 0xb6756b90 (LWP 11989) exited]
Program received signal SIGSEGV, Segmentation fault.
0xb75d4670 in zif_timezone_identifiers_list (ht=0, return_value=0x8dbefec, return_value_ptr=0x0, this_ptr=0x0,
return_value_used=1) at /tmp/buildd/php5-5.3.0/ext/date/php_date.c:3787
3787 /tmp/buildd/php5-5.3.0/ext/date/php_date.c: No such file or directory.
in /tmp/buildd/php5-5.3.0/ext/date/php_date.c
(gdb) bt
#0 0xb75d4670 in zif_timezone_identifiers_list (ht=0, return_value=0x8dbefec, return_value_ptr=0x0, this_ptr=0x0,
return_value_used=1) at /tmp/buildd/php5-5.3.0/ext/date/php_date.c:3787
#1 0xb792c153 in zend_do_fcall_common_helper_SPEC (execute_data=0x83b3950)
at /tmp/buildd/php5-5.3.0/Zend/zend_vm_execute.h:313
#2 0xb7906536 in execute (op_array=0x83f12f8) at /tmp/buildd/php5-5.3.0/Zend/zend_vm_execute.h:104
#3 0xb78d8db6 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /tmp/buildd/php5-5.3.0/Zend/zend.c:1188
#4 0xb788074e in php_execute_script (primary_file=0xbffff5b0) at /tmp/buildd/php5-5.3.0/main/main.c:2196
#5 0xb7964f01 in php_handler (r=0x83a4ce0) at /tmp/buildd/php5-5.3.0/sapi/apache2handler/sapi_apache2.c:663
#6 0x0807c239 in ap_run_handler ()
#7 0x0807f659 in ap_invoke_handler ()
#8 0x0808d166 in ap_process_request ()...
So there you go zif_timezone_identifiers_list. So I hope the Debian PHP
team will jump on the bug, as this is no place for junior programmer me.
Hi, I wonder my logo is repeating itself to fill up the space allocated to
it at Webmasterteachyourself.com <http://webmasterteachyourself.com>. When I
write no-repeat as in:
#p-logobar .pBody {
position: absolute;
top: 0;
left: 0;
padding: 0 0 0 0;
margin: 0 0 0 0;
height:4.0em;
width:100%;
background: white no-repeat;
}
the logo does not appear.
What do I need to do to set it right?
PM Poon
jidanni(a)jidanni.org wrote:
> Hello. With an SVN version of Mediawiki,
> Offline on my test wiki, calling
> index.php?title=%E7%89%B9%E6%AE%8A:%E5%8F%83%E6%95%B8%E8%A8%AD%E7%BD%AE
> (which is Special:Preferences), as a logged in user, causes
> child pid 10600 exit signal Segmentation fault (11) as seen in
> /var/log/apache2/error.log
This is not a helpful error message. You will need to run Apache under
gdb to get anything sensible out of this.
gdb /usr/bin/apache2
run -X
View the page in your browser, it should hit the segfault and gdb will
break out to another prompt. Then:
bt
That will give you a backtrace which will hopefully allow you to work
out what component to file a bug against.
> So, just like https://bugzilla.wikimedia.org/show_bug.cgi?id=9365 , this
> is probably not a Mediawiki problem, but a php5.3 problem.
It is overwhelmingly unlikely that bug 9365 has anything to do with
this one. Segfaulted is the natural state of rest for a C program,
developers must constantly strive keep their programs in the
unsegfaulted state. You are seeing one of the many cases where they
failed to do that perfectly.
-- Tim Starling
Hello. I have an analytics and webmaster varification code that I need to enter into my wiki. I do not know where to put it though. Can you please tell me what page to put it in?
Thanks,
Alan.
Hello. When I installed my wiki, I had to chmod the config folder to 777. However, after the installing, should I chmod the folder back to 755? or anything else?
Please help and thanks.
Package: php5
Version: 5.3.0-2
X-Debbugs-cc: mediawiki-l(a)lists.wikimedia.org
Hello. With an SVN version of Mediawiki,
Offline on my test wiki, calling
index.php?title=%E7%89%B9%E6%AE%8A:%E5%8F%83%E6%95%B8%E8%A8%AD%E7%BD%AE
(which is Special:Preferences), as a logged in user, causes
child pid 10600 exit signal Segmentation fault (11) as seen in
/var/log/apache2/error.log
The last lines in $wgDebugLogFile were:
AND page_title = '用戶' LIMIT 1 SQL: SELECT /* LinkCache::addLinkObj
Jidanni */ page_id,page_len,page_is_redirect FROM `page` WHERE
page_namespace = '4' AND page_title = '自動確認使用者' LIMIT 1
Unstubbing $wgAuth on call of $wgAuth::allowPropChange from
Preferences::profilePreferences
# ls *5.2.10*
libapache2-mod-php5_5.2.10.dfsg.1-1_i386.deb php5-gd_5.2.10.dfsg.1-1_i386.deb
php5-cgi_5.2.10.dfsg.1-1_i386.deb php5-mcrypt_5.2.10.dfsg.1-1_i386.deb
php5-cli_5.2.10.dfsg.1-1_i386.deb php5-mysql_5.2.10.dfsg.1-1_i386.deb
php5-common_5.2.10.dfsg.1-1_i386.deb php5_5.2.10.dfsg.1-1_all.deb
# dpkg -i *5.2.10*
dpkg: warning: downgrading libapache2-mod-php5 from 5.3.0-2 to 5.2.10.dfsg.1-1...
fixed it.
So, just like https://bugzilla.wikimedia.org/show_bug.cgi?id=9365 , this
is probably not a Mediawiki problem, but a php5.3 problem.
Henny Savenije wrote:
> Thanks, I'll have to wait till I have access to a computer installed
> with Korean windows again so I know when exactly I accessed it and
> look for it in the log files. I'll let you know what happens.
You _shouldn't_ have errors in the error log, so perhaps you can find it
without the exact date.
Henny Savenije wrote:
> Yes, I tried Firefox (which is in English) and Internet Explorer, I
> didn't try Safari or any other browser but I thought that two would
> be enough. I tried at the office and one other location. Looking at
> the error log is a good suggestion but which one? Does wikipedia have
> an error log or do you mean the apache error log?
PHP error log.
The errors may be logged by apache at its log, at another place stated
at php.ini, or not logged at all and needing to be configured.
I would like to display some of the more recent changes on the mediawiki main page that users's first see.
I was thinking that I would have to write an extension to do this, and base my code upon whatever the Special:Recentchanges page is doing.
Is this a reasonable belief? Would you do it differently?
Thanks!