Hi all,

I've tried the suggested changes that Nicholas kindly provided, but they have 
not had the desired effect.  Moreover, after editing them into the 
LocalSettings.php file and restarting the httpd service, I couldn't upload ANY 
files at all??

I'm beginning to wonder whether this is a versions issue with the release of 
PHP and MediaWiki that I now have on the system.

Anyone got any other suggestions on what I could try changing on the system?  
PHP.ini file perhaps?  

NB, I'm paddling with lead boots in the deep end here!

Cheers all,

A.

==========================================
Dr Adrian Stevens
Head Computational Chemistry
 
KuDOS Pharmaceuticals Ltd
26 Foundry Lane                               
Horsham                                            
RH13 5PX                                         
England                                              
t: +44 1403 248844                          
f: +44 1403 248855
 
410 Cambridge Science Park
Milton Road
Cambridge
CB4 0PE
England
t: +44 1223 719719
f: +44 1223 719720
 
www.kudospharma.co.uk

-----Original Message-----
From: Nicolas Vervelle [mailto:[EMAIL PROTECTED] 
Sent: 09 November 2007 20:22
To: Adrian Stevens
Cc: [email protected]
Subject: Re: MediaWiki file upload problem for Jmol files

Adrian Stevens a écrit :
> Hi all,
>
> Recently, I e-mailed the list with problems getting Jmol to run on MediaWiki. 
>  Fortunately, I had a really great response and have now got Jmol working on 
> MediaWiki.  It did require me charting new territories in RHEL4.0 (namely 
> downloaded CentOS rpm files to get updated releases of MySQL and PHP).  
> Thanks to all that responded.
>
> I now have a new problem!  I'm suspicious that it is not actually a Jmol 
> problem (so apologies if I'm posting off-topic), but rather a MediaWiki or 
> Php problem, however, I'm not knowledgeable enough in either to be certain 
> where the issue is.  Specifically, I cannot upload **any** files other than 
> the standard set (jpg, png, etc).  I've tried all the standard changes to the 
> LocalSettings.php file, but it appears to have absolutely 'bob-all' effect.
>   

> # JMol configuration settings
> # APS 20070920
> $wgStrictFileExtensions = false;
> $wgCheckFileExtensions = false;
> $wgVerifyMimeTypes = false;
> $wgMimeDetectorCommand = "file --brief --mime";
> $wgFileExtensions += array ( 'mol', 'pdf', 'xls', 'doc', 'ppt', 'zip', 'Z', 
> 'tar', 'gz', 'cml', 'sdf', 'msv', 'mol2', 'pdb' );
> require_once( "extensions/Jmol/JmolExtension.php" );
>   
The settings for Jmol wiki are different :
require_once('extensions/Jmol/JmolExtension.php');
$wgJmolAuthorizeUrl = true;
$wgFileExtensions[] = 'cml';
$wgFileExtensions[] = 'mol';
$wgFileExtensions[] = 'pdb';
$wgFileExtensions[] = 'xyz';
$wgTrustedMediaFormats[] = 'chemical/x-xyz';

Nico


**********************************************************************
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you have received this email in error please notify the system manager.

KuDOS Pharmaceuticals Limited, 410 Cambridge Science Park, Milton Road, 
Cambridge CB4 0PE
Registered in England no: 03479984
Registered office: 15 Stanhope Gate, London W1K 1LN

This footnote also confirms that this email message has been swept by Sophos AV 
for the presence of computer viruses.
www.clearswift.com
**********************************************************************


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to