Hi! Has anyone used xmlhttprequest in mediawiki? I am a newbie in using that
but I made it work for sometime and it really worked but after several test
i get some error. The error is regarding responseText. I get the html
version of the page instead of the xml that I made. I found out that the
objectcache prevents the page to execute the xml. After I delete the
objectcache in the database, then the program works the way I want it but
then produce error again after sometime.
Do you know how to disable the object caching. and if ever I do that, is
there any consequence?
I hope someone helps me..
--j*
> From: Brion Vibber <brion.vibber(a)gmail.com>
>
> On 12/24/05, D B <dkbyrne(a)gmail.com> wrote:
>> I can't seem to resolve the "You are using MySQL 4.1 server, but PHP
>> is linked to old client libraries" error message:
>
> If you are reasonably familiar with installing Unix programs from
> source and have the developer tools installed, you can recompile PHP
> from source code, passing --with-mysql=/usr/local/mysql to have it use
> the libraries from the MySQL.
>
> If that sounds complicated, you should probably first try the
> configuration options mentioned in the earlier paragraphs of
> http://dev.mysql.com/doc/refman/5.0/en/old-client.html
Put the following in /etc/my.cnf:
[mysqld]
old_passwords=1
This has been criticized as somehow being "less secure", but
certainly no less secure than MySQL versions prior to the better
password hashing scheme.
:::: WARNING: free advice is worth every penny you paid for it! ::::
:::: Jan Steinman http://www.Bytesmiths.com/Van ::::
I seem to be having a similar problem installing MediaWiki 1.5.4 on
Mac OS X 10.3.9 with Mysql 5.0.17, Apache 1.3.29 and PHP-4.3.11 (as
was recommended by
http://meta.wikimedia.org/wiki/Running_MediaWiki_on_Mac_OS_X).
I can't seem to resolve the "You are using MySQL 4.1 server, but PHP
is linked to old client libraries" error message:
MediaWiki 1.5.4 installation
Please include all of the lines below when reporting installation problems.
Checking environment...
* PHP 4.3.11: ok
* PHP server API is apache; ok, using pretty URLs (index.php/Page_Title)
* Have XML / Latin1-UTF-8 conversion support.
* PHP is configured with no memory_limit.
* Have zlib support; enabling output compression.
* Neither Turck MMCache nor eAccelerator are installed, can't use
object caching functions
* GNU diff3 not found.
* Found ImageMagick: /usr/local/bin/convert; image thumbnailing will
be enabled if you enable uploads.
* Installation directory: /Users/David/Sites/wiki
* Script URI path: /~David/wiki
* PHP is linked with old MySQL client libraries. If you are using a
MySQL 4.1 server and have problems connecting to the database, see
http://dev.mysql.com/doc/mysql/en/old-client.html for help.
* Trying to connect to MySQL on localhost as root...
* Connected as root (automatic)
* Connected to 5.0.17-standard; enabling MySQL 4 enhancements; You are
using MySQL 4.1 server, but PHP is linked to old client libraries; if
you have trouble with authentication, see
http://dev.mysql.com/doc/mysql/en/old-client.html for help.
* Created database wikidb
* Creating tables... using MySQL 3/4 table defs... done.
* Initializing data...
* Granting user permissions...
Wiki has a problem
Sorry! This site is experiencing technical difficulties.
Try waiting a few minutes and reloading.
(Can't contact the database server: )
I've tried using the information provided via the link to
http://dev.mysql.com/doc/mysql/en/old-client.html, but without avail.
A link on that page directs me to http://www.php.net/mysqli. The only
way I could think to use this info was to try at the terminal:
cd /usr/local/mysql-standard-5.0.17-osx10.3-powerpc/
.configure --with-mysqli=/Library/MySQL/bin/mysql_config
...though that's probably not right since I get...
NOTE: This is a MySQL binary distribution. It's ready to run, you don't
need to configure it!
Any suggestions would be most helpful. Thanks!
Hi!! Firstly, thanks to Rob Church for the last answer.
Now, a new problem, i have the following lines in LocalSettings.php:
$wgGroupPermissions['*' ]['read'] = false;
$wgWhitelistRead = array ( all pages that could be view by anonymous
sers );
Although User:XXX pages are included en wgWhitelistRead, anonymous users
can't view them. Why??
Thanks a lot!! Bye
______________________________________________
Renovamos el Correo Yahoo!
Nuevos servicios, más seguridad
http://correo.yahoo.es
> From: Sy Ali <sy1234(a)gmail.com>
>
> On 12/21/05, Henry Ortega <juandelacruz(a)gmail.com> wrote:
>> Is there an easy way to edit or create articles with proper HTML
>> formatting?
>
> Short answer: No
I think this is one of many, "Can I beat and hammer MediaWiki into
something I'm more used to."
I think, not only is the answer, "No," but it's actually, "No, isn't
that grand!"
Case in point: I've never seen a language as beautiful and easy to
read as Smalltalk. Yet, everyone who creates a new language makes it
look either like C, or like BASIC. But the way it looks affects the
way it's used!
I very much prefer wiki markup to XML-style things like HTML. I find
it really liberates my thinking, so that formatting is more natural
and more subconscious. And I've been doing HTML longer than I've been
doing wiki!
I think Ward Cunningham was aware of this. Besides the inventor of
wiki, he was also a Smalltalk pioneer and a HyperCard enthusiast. He
could have made it more "HTML-like", or could have spent his time
making an end-user HTML-entry system instead of wiki, but he crafted
wiki markup to fill a need that he saw as unfilled with HTML.
>> It doesn't make sense to me that we have put manual <BR> tags to
>> get a
>> break. Is there anything I can install extra that would let me
>> display what
>> I
>> entered the way I entered it? If I put a line break after each
>> line, it
>> should distinguish
>> it as a line break and insert a <BR> when displaying.
Hey, why don't you try the <poem></poem> extension that went whipping
through here a while ago?
But this is a strange request, coming from someone who wanted "proper
HTML formatting." Certainly, HTML is even LESS LIKELY to "display
what [you] entered, the way [you] entered it"!
I think you're just being grouchy. Relax. Play with wiki markup a
while. Go with the flow.
:::: The per capita wattage that is critical for social well-being
lies within an order of magnitude which is far above the horsepower
known to four-fifths of humanity and far below the power commanded by
any Volkswagen driver. -- Ivan Illich ::::
:::: Jan Steinman http://www.IslandSeeds.org/wiki/Energy ::::
Hi!! Could i change the bar of the bottom? For example, remove the About...
link , add a new link etc...
Thanks!!
______________________________________________
Renovamos el Correo Yahoo!
Nuevos servicios, más seguridad
http://correo.yahoo.es
Hello,
I have installed mediawiki on http://wiki.placedusport2.com/ to give a
place for community work.
I had to export and reimport mysql data via phpmyadmin. All right,
except french spécial char "à" (a with an accent on top) wich appear as
"?" in every page.
I try to change this via a little script in wiki_cur and wiki_text
tables, but nothing work. Could anyone help me?
Sorry if the question was already asked, I have found nothing about this
problem.
Regards
Cédric
ps: here is the script
function Remplace($table, $champid, $champtext)
{
$res=mysql_query('select '.$champid.', '.$champtext.' from '.$table);
while ($row = mysql_fetch_assoc($res))
{
//the string used as search string in str_replace is the one I can see
thought phpmyadmin in cur/old_text fields.
$row[$champtext]=str_replace('�', utf8_encode('à'), $row[$champtext]);
mysql_query('UPDATE '.$table.' SET
'.$champtext.'="'.mysql_escape_string($row[$champtext]).'" where
'.$champid.'='.$row[$champid]);
}
}
Thanks ALL for all help,
I need some steps about how to create a Calendar like this one:
http://en.wikipedia.org/wiki/20s.
I have no idea where should I start from.
Thanks a lot, mauro.
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.1/206 - Release Date: 12/16/2005
Ich werde ab 22.12.2005 nicht im Büro sein. Ich kehre zurück am
10.01.2006.
Ich werde Ihre Nachricht nach meiner Rückkehr beantworten.
Ihre Email wurde nicht weitergeleitet. Dies ist eine automatisch erstellte
Nachricht !
After an fresh install of MediaWiki, clicking on the "Create an account or
log in" results in either a blank page or download form (with blank content)
in Firefox, or a "Page cannot be displayed" in IE. All other pages seem to
work fine, but there's no way to login.
Web server = Apache/2.0.50 (Linux/SUSE)
PHP = PHP 4.3.8 (cli) (built: Jul 5 2005 19:33:29)
MySQL = mysql Ver 12.22 Distrib 4.0.21, for suse-linux (i686)
MediaWiki = 1.5.3
Any idea what's going wrong with it?
--
Brendan Byrd/SineSwiper <SineSwiper(a)ResonatorSoft.org>
Computer tech, PERL wizard, and all-around Internet guru
http://www.ResonatorSoft.org/