Hello,
I'm trying to install mediawiki for association OFSET (see http//www.ofset.org).
I get a blank page when I call index.php (see http://wikipedia.ofset.org).
Some hints :
- I've done the setup from command line.
- if I try to call http://wikipedia.ofset.org/config, it displays a message saying that my Wikipedai is configured and I should erase /config directory for security reasons.
- script seems not to pass line 51 :
wfProfileIn( "main-misc-setup" );
yet it passes successfully "include" lines, such as line 39
include_once( "./LocalSettings.php" );
Can you help ?
--
Odile Bénassy, développeuse de logiciels libres
Odile Benassy, libre software developer
gpg: 6333 33AF 1AA4 5A64 3870 33BC 4247 DC1D BDEB B4AA
Perhaps this isn't the place to ask this, but....
I'm having trouble getting the rewrite rules to work properly. I can access
my site with:
http://my.url.here/index.php/Article_name
Everything works fine with the URL like this, but I want to eliminate the
"index.php" part of the URL.
When I change my LocalSettings.php and .htaccess (following the user guide's
directions on rewrite rules) the URL rewrite happens. In other words, my
browser tries to get "http://my.url.here/Main_page".
BUT, this results in a "Not found" error (404).
Here's my .htaccess file:
-----------------------------------------------------
# Allow wiki articles to start with a period
<Files .*>
Order Deny,Allow
Allow From All
</Files>
# Allow rewriting URLs
RewriteEngine on
# Don't rewrite requests for files in MediaWiki subdirectories,
# MediaWiki PHP files, HTTP error documents, favicon.ico, or robots.txt
RewriteCond %{REQUEST_URI} !^/(stylesheets|images)/
RewriteCond %{REQUEST_URI} !^/(redirect|texvc|index).php
RewriteCond %{REQUEST_URI} !^/error/(40(1|3|4)|500).html
RewriteCond %{REQUEST_URI} !^/favicon.ico
RewriteCond %{REQUEST_URI} !^/robots.txt
# Rewrite http://wiki.domain.tld/article properly, this is the main rule
RewriteRule ^/(.*) /index.php/$1 [L]
-----------------------------------------------------
And here's my LocalSettings.php file:
<?php
# This file was automatically generated by the MediaWiki installer.
# If you make manual changes, please keep track in case you need to
# recreate them later.
$IP = "/home/my_name/public_html/wikisite";
ini_set( "include_path", "$IP/includes:$IP/languages:" .
ini_get("include_path") );
include_once( "DefaultSettings.php" );
if( $wgCommandLineMode ) {
die( "Can't use command-line utils with in-place install yet, sorry." );
} else {
## Compress output if the browser supports it
if( !ini_get( 'zlib.output_compression' ) ) ob_start( 'ob_gzhandler' );
}
$wgSitename = "wikisite";
$wgScriptPath = "";
$wgScript = "$wgScriptPath";
$wgRedirectScript = "/redirect.php";
## If using PHP as a CGI module, use the ugly URLs
$wgArticlePath = "/$1";
# $wgArticlePath = "$wgScript?title=$1";
$wgStyleSheetPath = "/stylesheets";
$wgStyleSheetDirectory = "$IP/stylesheets";
$wgUploadPath = "/images";
$wgUploadDirectory = "$IP/images";
$wgLogo = "$wgUploadPath/wiki.png";
$wgStockPath = $wgUploadPath;
$wgEmergencyContact = "wwwadmin(a)wikisite.tld";
$wgPasswordSender = "wwwadmin(a)wikisite.tld";
$wgDBserver = "localhost";
$wgDBname = "database";
$wgDBuser = "user";
$wgDBpassword = "password";
## To allow SQL queries through the wiki's Special:Askaql page,
## uncomment the next lines. THIS IS VERY INSECURE. If you want
## to allow semipublic read-only SQL access for your sysops,
## you should define a MySQL user with limited privileges.
## See MySQL docs: http://www.mysql.com/doc/en/GRANT.html
#
# $wgAllowSysopQueries = true;
# $wgDBsqluser = "sqluser";
# $wgDBsqlpassword = "sqlpass";
$wgDBmysql4 = $wgEnablePersistentLC = true;
## To enable image uploads, make sure the 'images' directory
## is writable, then uncomment this:
# $wgDisableUploads = false;
$wgUseImageResize = true;
# $wgUseImageMagick = true;
# $wgImageMagickConvertCommand = "/usr/bin/convert";
## If you have the appropriate support software installed
## you can enable inline LaTeX equations:
# $wgUseTeX = true;
$wgMathPath = "{$wgUploadPath}/math";
$wgMathDirectory = "{$wgUploadDirectory}/math";
$wgTmpDirectory = "{$wgUploadDirectory}/tmp";
$wgLocalInterwiki = $wgSitename;
$wgLanguageCode = "en";
$wgInputEncoding = $wgOutputEncoding = "UTF-8";
?>
-------------------------------------------------------------------
Any ideas?
Bruce
This will likely be the last release in the 1.2.x series, as we work on
finishing up 1.3.0...
Changes since 1.2.5:
* Spam blocker ($wgSpamRegex - refuses to save edits that match)
* Updated documentation about $wgWhitelistRead
* Ensure that searchindex table is created as MyISAM
* Interwiki cache timeout (memcached)
* Fix uploads on Windows with magic_quotes_gpc
* Some config fixes for Windows (slashes etc)
* Local interwiki URL redirects
* Fixed obscure deletion problem in squid mode on corrupt entries
* Language files updated to remove more hard-coded "Wikipedia" strings
There are no database format changes.
Release notes:
https://sourceforge.net/project/shownotes.php?release_id=240784
Download:
http://prdownloads.sourceforge.net/wikipedia/mediawiki-1.2.6.tar.gz?
download
If you encounter a problem in the installation process, please include
*all* of the output under the 'Checking environment' heading with your
report!
-- brion vibber (brion @ pobox.com)
Thanks to all that helped me.
Sorry if I couldn't write this before. I was out.
Thanks to all that have helped me, with the mistery of
the missing data. The data is still missing, but now I
know that next time I need to act within two days. I
might also look for another host...
In any case thanks,
Pietro
__________________________________
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/
Hello list,
I have installed a mediawiki on my server to mirrow wikipedia.
I am unsing the mysql dump file and I can see all articles, but i
wont serve the images on my server.
Every time I request a Article from my server, I get Missing Image
instead of the <img/> in html code. How can I configure that, there
no Warning?
Im Using mediawiki 1.2.5
Thank you for help
Björn
apache http.conf is
<VirtualHost 192.168.0.103:80>
ServerAlias de.test.org
ServerName de.test.org
DocumentRoot /home/test/sourcen/wikimedia_de
# <Directory /home/test/sourcen/wikimedia_de >
# Order Deny,Allow
# Deny from All
# Allow from 192.168.0.103
# </Directory>
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/(stylesheets|upload)/
RewriteCond %{REQUEST_URI} !^/(redirect|texvc|index)\.php
RewriteCond %{REQUEST_URI} !^/error/(40(1|3|4)|500)\.html
RewriteCond %{REQUEST_URI} !^/favicon\.ico
RewriteCond %{REQUEST_URI} !^/robots\.txt
RewriteRule ^/w/wiki.phtml$ /wiki.phtml [L]
RewriteRule ^/wiki/(.*)$ /wiki.phtml?title=$1 [L]
RewriteRule ^/wiki$ /wiki.phtml
</VirtualHost>
LocalSettings are
$wgSitename = "de.test.org";
$wgScriptPath = "";
$wgScript = "/w/wiki.phtml";
$wgRedirectScript = "/wiki/redirect.php";
$wgArticlePath = "/wiki/$1";
$wgStyleSheetPath = "/style";
$wgStyleSheetDirectory = "{$IP}/style";
$wgUploadPath = "/upload";
$wgUploadDirectory = "{$IP}/upload";
$wgLogo = "{$wgUploadPath}/wiki.png";
$wgStockPath = $wgUploadPath;
Is it possible to protect a single section of a page?
If not, is it possible to somehow display a page within another page?
For instance, I would like my front page to be protected. But I would like to
have an editable section on that page? Could I display the contents of an
editable page in a section of my front page.
Thanks,
Bruce
Hi All,
Is it possible to upload files other than images? What are the
configurations needed if so?
Thanks.
--------------------------------------
Please check where you are heading before it is too late.
--
Mohammad
salemoh(a)fastmail.fm
--
http://www.fastmail.fm - Access all of your messages and folders
wherever you are
Some of my users have run into what *might* be a bug, but seeing as how
the documentation on the search function is not exactly complete, I
thought I'd check here first.
The problem involves the inclusion of hyphens in the search terms. For
example, if I try to perform a search on the string "NX-01", I do not
receive any results. I've tried doing the search both with and without
the quotes.
Is this a bug? Or are the hyphens automatically ignored because
they're also used in regular expressions?
Thanks,
Dan Carlson, Administrator
Memory Alpha: A Star Trek WikiWiki
http://www.memory-alpha.org/
Hi!
At my mediawiki-site, I wish to include some articles where the content has
been generated by parsing some external sources. I could of course copy &
paste, but since there are quite a few articles, most of which will be
updated periodically, I'd prefer to automate it as much as possible.
The simple way is to create every article manually, then simply "UPDATE cur
SET cur_text = 'new text' WHERE cur_title LIKE 'Title' AND cur_namespace =
0" with title and text set appropriately. However, I'd like to have "Page
History" and "Special:Recentchanges" reflect the updates, so that the users
can see that something has happened to these articles and what the changes
are.
Has anyone looked at doing something like this? Perhaps even made a
utility/tool for this purpose? I searched the web and the mail-archives for
this, but I may have missed stuff.
Any do's/don'ts I need to keep in mind if I start making such a utility?
Regards,
Arne Meyer