Hello I had the following error messages appearing
Database error
>From CMAwiki
A database query syntax error has occurred. This may indicate a bug in the
software. The last attempted database query was:
(SQL query hidden)
from within function "SearchUpdate::doUpdate". MySQL returned error "1016:
Can't open file: 'searchindex.MYD'. (errno: 145) (localhost)".
I followed the advise on this list and dropped and recreated the table
and after that the error message no longer appears.
Now however when save is clicked
it hangs on this url
http://cbw107061/CMAwiki/index.php?title=CMAwiki:Community_Portal&action=su…
and i get the " page cannot be displayed..."
however when i check back the page has infact been saved.
I'm running
mediawiki-1.4.6
on
apache 2.0.43
php4.2.3
mysql 4
installed using phpdev423
thanks in advance,
regards
Caspar
===============================================================
National Australia Group Europe Limited (Company Number 02108635, Registered Office 88 Wood Street, London EC2V 7QQ) (NAGE) is a subsidiary of National Australia Bank Limited (an Australian registered company). The following UK companies are authorised and regulated by the Financial Services Authority: Clydesdale Bank PLC (trading as Clydesdale Bank and Yorkshire Bank), MLC Savings Limited, MLC Trust Management Company Limited, Clydesdale Bank Insurance Brokers Limited, Yorkshire Bank Financial Services Limited, National Australia Insurance Services Limited and Custom Fleet Limited.
The views and opinions expressed in this email may not reflect the views and opinions of any member of the group of which NAGE forms part. The information contained in this message is confidential and may also be privileged. It is intended only for the addressee named above. The unauthorised use, disclosure, copying or alteration of this message is strictly prohibited. If you are not the addressee (or responsible for delivery of the message to the addressee), please notify the originator immediately by return message and destroy the original message. This message and any attachments have been scanned for viruses prior to leaving the NAGE network. However, NAGE does not guarantee the security of this message and will not be responsible for any damages arising as a result of any virus being passed on or arising from any alteration of this message by a third party. NAGE may monitor emails sent to and from the NAGE network.
It seems new datamodel scripts are required for each
back-end database. Since it may not be possible to
have 1 script in generic SQL that will work across all
databases, has anyone considered maintaining the
datamodel through a UML tool and then using various
code-generator templates to generate appropriate SQL
DDL per-database? One fringe-benefit of this approach
would be the ability to visualize the current
datamodel by exporting the UML digram into a graphic
file.
>
> Date: Wed, 13 Jul 2005 23:18:00 +0100
> From: Kate <keturner(a)livejournal.com>
> Subject: [Wikitech-l] Oracle support
> To: mediawiki-l(a)mail.wikimedia.org,
> wikitech-l(a)mail.wikimedia.org
>
> hi,
>
> for those interested, i have begun adding support
> for Oracle database backend
> to 1.5, in a separate branch. at present it's
> somewhat usable (editing
> mostly works), but many things are unimplemented or
> broken. to check out a
> copy of the source:
>
> >cvs -d :pserver:anoncvs@cvs.defau.lt:/root login
> (press enter for password)
> >cvs -d :pserver:anoncvs@cvs.defau.lt:/root co
> -rORACLE_WORK phase3
>
> there's no installer support, so you'll need to
> create a LocalSettings.php
> manually (easiest is to install it under MySQL and
> copy the file). set
> $wgDBserver to any non-empty string, $wgDBtype to
> 'oracle' and $wgDBname to
> your Oracle SID. run
> "@maintenance/oracle/tables.sql" from SQLPlus to
> import
> the table definitions. to make a user into a sysop
> after installation:
>
> SQL> CALL add_user_right('Username', 'sysop')
> SQL> CALL add_user_right('Username', 'bureaucrat')
>
> please file bugs related to Oracle support in
> bugzilla, blocking #652.
>
> kate.
>
>
__________________________________
Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html
You've set the wrong extension name. In that snippet of code, you need
to put the name of your extension i.e. wfExampleExtension.
You can find this at the top of extensions/rss.php as the value of
$wgExtensionFunctions[].
> -----Original Message-----
> From: mediawiki-l-bounces(a)Wikimedia.org [mailto:mediawiki-l-
> bounces(a)Wikimedia.org] On Behalf Of Brandon
> Sent: Thursday, July 14, 2005 2:36 PM
> To: MediaWiki-l(a)Wikimedia.org
> Subject: [Mediawiki-l] disabling extension caching
>
> I am using an rss extension with wiki. (magpie rss parser)
> So I need the caching disabled for this extension to get current
records
> to display in wiki.
>
> I found an example on the mediawiki's help page.
>
> global $wgParser;
> global $wgTitle;
> $dbw =& wfGetDB( DB_MASTER );
> $dbw->update( 'cur', array( 'cur_touched' => $dbw->timestamp(
time()
> + 120 ) ),
> array('cur_namespace' => $wgTitle->getNamespace(),'cur_title' =>
> $wgTitle->getDBkey()), 'rss.php'
> );
>
> I placed this code inside the function that uses setHook
> I get no errors.
> The problem is that the rss are still displaying the old records.
>
> Any help would be appreciated.
>
>
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l(a)Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
I am using an rss extension with wiki. (magpie rss parser)
So I need the caching disabled for this extension to get current records
to display in wiki.
I found an example on the mediawiki's help page.
global $wgParser;
global $wgTitle;
$dbw =& wfGetDB( DB_MASTER );
$dbw->update( 'cur', array( 'cur_touched' => $dbw->timestamp( time()
+ 120 ) ),
array('cur_namespace' => $wgTitle->getNamespace(),'cur_title' =>
$wgTitle->getDBkey()), 'rss.php'
);
I placed this code inside the function that uses setHook
I get no errors.
The problem is that the rss are still displaying the old records.
Any help would be appreciated.
Hi,
I upgraded one of our intranet's Mediwikis from 1.3.9 to 1.4.6 tonight
and now I can't stay logged into to it and another Mediawiki on the
same host at the same time.
To try to make that more clear, We have:
https://oursite/wiki1
and
https://oursite/wiki2
and we used to be able to be logged into both of them (provided that
usernames and passwords were the same!) at the same time. Now we
can't. Any idea what changed or how we can fix it?
Thanks,
Sam
I've just moved from Redhat to Ubuntu. I'm now using Apache2. I got
wiki to where it was working without any rewriting and using url's of
the form
http://www.mercuryspacecraft.com/wiki/index.php/Main_Page
I had it installed in the wiki subdirectory of the virtual hosts document root
I then tried to once again "prettify" the urls, and to separate w from
wiki as described in
http://meta.wikimedia.org/wiki/Eliminating_index.php_from_the_url
Using the Alias statements instead of rewrite rules
Now I can't make it work. I'm confused as to where I want to name the
physical install path, should it be w or wiki. Since the Aliases seem
to be going from /wiki... to /installpath/w... I think that it should
be in /var/www/w which is where I've put it.
THe only thing which semi works is if I use a url like
http://www.mercuryspacecraft.com/index.php/Main_Page
but thats broken, it looks like it isn't getting the style sheets.
The Apache error log contains:
[Wed Jul 13 15:04:07 2005] [error] [client 166.82.49.174] File does
not exist: /var/www/wiki, referer:
http://www.mercuryspacecraft.com/w/index.php/Main_Page
Here's what I have in my Virtual server:
<VirtualHost *>
ServerAdmin webmaster(a)mercuryspacecraft.com
ServerName www.mercuryspacecraft.com
DocumentRoot /var/www
AcceptPathInfo on
Alias /wiki/stylesheets /var/www/w/stylesheets
Alias /wiki/style /var/www/w/style
Alias /wiki/images /var/www/w/images
Alias /wiki/skins /var/www/w/skins
Alias /wiki/redirect.php /var/www/w/redirect.php
Alias /wiki/textvc.php /var/www/w/textvc.php
Alias /wiki/index.php /var/www/w/index.php
Alias /wiki /var/www/w
</VirtualHost>
And the relevant parts of my LocalSettings.php
$wgScriptPath = "/wiki";
$wgScript = "$wgScriptPath/index.php";
$wgRedirectScript = "$wgScriptPath/redirect.php";
$wgArticlePath = "$wgScript?title=$1";
Any ideas?
hi,
for those interested, i have begun adding support for Oracle database backend
to 1.5, in a separate branch. at present it's somewhat usable (editing
mostly works), but many things are unimplemented or broken. to check out a
copy of the source:
>cvs -d :pserver:anoncvs@cvs.defau.lt:/root login
(press enter for password)
>cvs -d :pserver:anoncvs@cvs.defau.lt:/root co -rORACLE_WORK phase3
there's no installer support, so you'll need to create a LocalSettings.php
manually (easiest is to install it under MySQL and copy the file). set
$wgDBserver to any non-empty string, $wgDBtype to 'oracle' and $wgDBname to
your Oracle SID. run "@maintenance/oracle/tables.sql" from SQLPlus to import
the table definitions. to make a user into a sysop after installation:
SQL> CALL add_user_right('Username', 'sysop')
SQL> CALL add_user_right('Username', 'bureaucrat')
please file bugs related to Oracle support in bugzilla, blocking #652.
kate.
I added the IMG strings to the parser php, but the system still won't
allow IMG tags to be used. Does 1.4.5 do this in a different manner?
Jeff
http://sequenza21.com/wiki - Contemporary Classical Music Wiki