#95 Unable to save changes to a page after New Installation

1.20.1
closed
nobody
None
1
2014-08-11
2013-04-07
Anonymous
No

I just installed the BlueSpice (version 1.20.1) extension to MediaWiki (version 1.20.3). I'm using php 5.3.19, MySql 5.5.18, and Apache 2.2.23 (Unix).

I was able to install BlueSpice, and my Wiki is currently functional. My problem is that when I try to edit a page, all I get is a blank box. When I click "save" at the bottom of the screen, it reverts to the older version.

Should I have disabled more extensions from my LocalSettings.php file? Here is a copy of what I have at the end of the file:

Enabled Extensions. Most extensions are enabled by including the base extension file here

but check specific extension documentation for more details

The following extensions were automatically enabled:

require_once( "$IP/extensions/ConfirmEdit/ConfirmEdit.php" );
require_once( "$IP/extensions/Gadgets/Gadgets.php" );
//require_once( "$IP/extensions/Nuke/Nuke.php" );
//require_once( "$IP/extensions/ParserFunctions/ParserFunctions.php" );
require_once( "$IP/extensions/Renameuser/Renameuser.php" );
require_once( "$IP/extensions/Vector/Vector.php" );
require_once( "$IP/extensions/WikiEditor/WikiEditor.php" );

End of automatically generated settings.

Add more configuration options below.

require_once('extensions/Auth_remoteuser.php');
$wgAuth = new Auth_remoteuser();

$wgDefaultUserOptions['usebetatoolbar'] = 1;
$wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;
$wgDefaultUserOptions['wikieditor-preview'] = 1;

$wgFileExtensions = array_merge( $wgFileExtensions, array( 'pdf', 'txt', 'ppt' , 'doc' , 'xls', 'docx') );
$wgFileBlacklist = array_diff( $wgFileBlacklist, array ('xls') );

require_once("$IP/extensions/EmbedPDF.php");

$wgActions['remote'] = 'BsRemoteAction';
$wgApiFrameOptions = 'SAMEORIGIN';
$wgDefaultSkin = 'bluespice';
$wgSkipSkins = array( "standard", "monobook", "vector" );
$wgStylePath = $wgScriptPath.'/bluespice-skin';
$wgStyleDirectory = $IP.'/bluespice-skin';
require_once( dirname(FILE).'/bluespice-core/index.php' );
BsCore::getInstance('MW')->setup();

// MediaWiki extensions
require_once( BsConfig::get('MW::AdapterPath').DS.'ext-dist/Lockdown/Lockdown.php' );
require_once( BsConfig::get('MW::AdapterPath').DS.'ext-dist/Quiz/Quiz.php' );
require_once( BsConfig::get('MW::AdapterPath').DS.'ext-dist/Poem/Poem.php' );
require_once( BsConfig::get('MW::AdapterPath').DS.'ext-dist/CategoryTree/CategoryTree.php' );
require_once( BsConfig::get('MW::AdapterPath').DS.'ext-dist/ImageMap/ImageMap.php' );
require_once( BsConfig::get('MW::AdapterPath').DS.'ext-dist/SyntaxHighlight_GeSHi/SyntaxHighlight_GeSHi.php' );
require_once( BsConfig::get('MW::AdapterPath').DS.'ext-dist/ParserFunctions/ParserFunctions.php' );
require_once( BsConfig::get('MW::AdapterPath').DS.'ext-dist/InputBox/InputBox.php' );
require_once( BsConfig::get('MW::AdapterPath').DS.'ext-dist/Nuke/Nuke.php' );
require_once( BsConfig::get('MW::AdapterPath').DS.'ext-dist/DynamicPageList/DynamicPageList.php' );
require_once( BsConfig::get('MW::AdapterPath').DS.'ext-dist/Cite/Cite.php' );
require_once( BsConfig::get('MW::AdapterPath').DS.'ext-dist/RSS/RSS.php' );
require_once( BsConfig::get('MW::AdapterPath').DS.'ext-dist/WikiCategoryTagCloud/WikiCategoryTagCloud.php' );
require_once( BsConfig::get('MW::AdapterPath').DS.'ext-dist/Calendar/Calendar.php' );
$wgLocalisationCacheConf[ 'storeClass' ] = 'LCStore_DB';
$sgLocalisationCacheConf[ 'manualRecache' ] = true;

Discussion

  • Markus Glaser
    Markus Glaser
    2013-04-13

    Hi, I don't think it is a javascript issue. Does the php error log say anything after a save attempt?

    Best,
    Markus

     

  • Anonymous
    2013-04-15

    you can also try to disable this line -> require_once( "$IP/extensions/WikiEditor/WikiEditor.php" ); , maybe there is a problem, because BlueSpice brings his own VisualEditor

     

  • Anonymous
    2013-04-26

    Thanks for all your help. Here is the php error log:
    $
    [25-Apr-2013 17:24:43 America/Los_Angeles] PHP Fatal error: Class 'BsConfig' not found in /nfs/bronfs/uwfs/hw00/d84/pmrchief/wiki/LocalSettings.php on line 176
    [25-Apr-2013 17:24:46 America/Los_Angeles] PHP Fatal error: Class 'BsConfig' not found in /nfs/bronfs/uwfs/hw00/d84/pmrchief/wiki/LocalSettings.php on line 176
    [25-Apr-2013 17:24:49 America/Los_Angeles] PHP Fatal error: Class 'BsConfig' not found in /nfs/bronfs/uwfs/hw00/d84/pmrchief/wiki/LocalSettings.php on line 176
    [25-Apr-2013 17:24:50 America/Los_Angeles] PHP Fatal error: Class 'BsConfig' not found in /nfs/bronfs/uwfs/hw00/d84/pmrchief/wiki/LocalSettings.php on line 176
    [25-Apr-2013 17:25:52 America/Los_Angeles] PHP Fatal error: Class 'BsConfig' not found in /nfs/bronfs/uwfs/hw00/d84/pmrchief/wiki/LocalSettings.php on line 182
    [25-Apr-2013 17:26:04 America/Los_Angeles] PHP Fatal error: Class 'BsConfig' not found in /nfs/bronfs/uwfs/hw00/d84/pmrchief/wiki/LocalSettings.php on line 182
    [25-Apr-2013 17:26:05 America/Los_Angeles] PHP Fatal error: Class 'BsConfig' not found in /nfs/bronfs/uwfs/hw00/d84/pmrchief/wiki/LocalSettings.php on line 182

     

  • Anonymous
    2013-04-26

    I am no longer getting any php errors, but now when I hit the save button, a box comes up that says "Only in visual mode".

    Here is what I'm doing:
    1.) I go to a page I want to edit.
    2.) I click edit
    3.) I get a blank screen editing box (the text on the page that is normally there -- isn't there).
    4.) I type in a new message.
    5.) If I click the save button at the bottom of the screen, it does not save any of the new text, the page just isn't modified and remains the same as before.
    6.) If I click the save button in the tool bar, a box pops up that says "Only in visual mode".

     
  • Stefan Widmann
    Stefan Widmann
    2013-04-26

    Hello,

    i dont know if it is a copy paste issue but i mentioned there is a require in your LocalSettings that says:

    require_once( dirname(FILE).'/bluespice-core/index.php' );

    but it should be:

    require_once( dirname(FILE).'/bluespice-core/index.php' ); (above the first call of BsCore)

    What have you done to avoid the php errors?

     

  • Anonymous
    2013-04-26

    Actually, I just looked at my log, and I'm not getting any more php errors.

    I think it is a cut/paste issue, the following is what I have:

    (underscore) = _

    require_once( dirname((underscore)(underscore)FILE(underscore)(underscore)).'/bluespice-core/index.php' );

     

  • Anonymous
    2013-04-26

    Well -- all i can say is that you have an amazing product. Thanks for putting all the hard work into creating it. I have no idea what was wrong, but I ended up just re-installing MediaWiki fresh, and then re-installed BlueSpice.

    It is now operating without problem.

    Fortunately, I did not have a large site, so it will not be a problem migrating all my old data to the new site.

    Thanks again for all your help!

     
  • Stefan Widmann
    Stefan Widmann
    2013-04-29

    Hi,

    nice to hear that it is running now! Thanks for the compliment ;). By the way i just saw that my underscores are even a vitctim of copy/paste :(

     


Anonymous


Cancel   Add attachments