vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Integration with vBulletin - MediaWiki/vBulletin Single Sign-On (https://vborg.vbsupport.ru/showthread.php?t=191186)

Jaxel 02-23-2009 12:46 PM

Quote:

Originally Posted by Jaxel (Post 1745995)
Getting this to work with MW 1.13.4 is EASY... You DONT need to edit class_core.php...

1. Install Media Wiki, following the standard install instructions...

2. Install this mod, following the standard instructions...

3. Open AuthPlugin_vBSSO.php. FIND: "AutoAuthenticate" and replace with "UserLoadFromSession".

4. Open wiki/includes/User.php FIND:
PHP Code:

define'EDIT_TOKEN_SUFFIX''+\\' ); 

Replace with:
PHP Code:

define'EDIT_TOKEN_SUFFIX''+#+' ); 

DONE. EASY. Step 4 fixes missing token problems, as well as login/logout issues that people keep claiming... If they simply followed step 4, instead of updating class_core.php, they wouldnt have these problems. I wish NekoJoe would upload this mod to explain these fixes.

http://www.8wayrun.com/wiki/Special:Version

Just upgraded to version 1.14... works great.

rexford.kim 02-23-2009 11:20 PM

I am getting slow MediaWiki 1.13.4 performance after installing Single Sign On 2.1.0 with vBulletin 3.8.1 installed. When running MediaWiki 1.13.4 by itself without the Single Sign On 2.1.0 it was running fine. However after installing the Single Sign On 2.1.0, the MediaWiki is very slow to load and any link I click on that is stored locally is very slow to load at least 30 seconds to load.

I changed the memory limit.

# If PHP's memory limit is very low, some operations may fail.
ini_set( 'memory_limit', '512M' );

Apache Logs message:

[Mon Feb 23 17:15:41 2009] [error] [client 10.15.15.41] PHP Notice: Constant CWD already defined in /srv/www/htdocs/forum/global.php on line 16, referer: https://<WEBSITE>.com/forum/wiki/ind...ge&action=edit


[Mon Feb 23 17:16:35 2009] [notice] child pid 19984 exit signal Segmentation fault (11)

[Mon Feb 23 17:16:35 2009] [notice] child pid 19986 exit signal Segmentation fault (11)
Allowed memory size of 536870912 bytes exhausted (tried to allocate 134862061 bytes)

When I comment out the line to run the Single Sign On 2.1.0 speed on the MediaWiki returns to normal.

Does anybody have any suggestions, workarounds, or solutions?

rexford.kim 02-23-2009 11:54 PM

Quote:

Originally Posted by Dexter_kcd (Post 1701067)
One more thing to throw onto your plate....

I was speaking with the server administrator at my webhost, and he mentioned that this mod seems to be generating a PHP error every time a user access a page on the wiki:




Apparently the server PHP log is filled with thousands of those. He believes it has something to do with how the VB_SYSTEM_PATH constant is defined.

Dexter...

I am getting the same error message slow MediaWiki 1.13.4 performance after installing Single Sign On 2.1.0 and with vBulletin 3.8.1 installed.

[Mon Feb 23 17:46:50 2009] [error] [client 10.15.15.41] PHP Notice: Use of undefined constant VB_SYSTEM_PATH - assumed 'VB_SYSTEM_PATH' in /srv/www/htdocs/forum/wiki/LocalSettings.php on line 28:(

Radek125 02-24-2009 05:21 PM

Quote:

Originally Posted by Radek125 (Post 1752028)
I am having this exact same issue. My users are randomly getting this error, including my main admin account, all others work fine. I've tried deleting the user's manualy in the wiki db, and it APPEARS to work, but only works the very first time you load the wiki, clicking on any other page after will make the error pop up again.

Anyone that can help here? I've reinstalled the user table, gone through the code, every page on this thread and cannot find the answer.


A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
INSERT INTO `user` (user_id,user_name,user_password,user_newpassword, user_newpass_time,user_email,user_email_authentica ted,user_real_name,user_options,user_token,user_re gistration,user_editcount) VALUES (NULL,'radek-SiN','','','20090224191517','',NULL,'','quickbar=1 \nunderline=2\ncols=80\nrows=25\nsearchlimit=20\nc ontextlines=5\ncontextchars=50\ndisablesuggest=0\n ajaxsearch=0\nskin=\nmath=1\nusenewrc=0\nrcdays=7\ nrclimit=50\nwllimit=250\nhideminor=0\nhighlightbr oken=1\nstubthreshold=0\npreviewontop=1\npreviewon first=0\neditsection=1\neditsectiononrightclick=0\ neditondblclick=0\neditwidth=0\nshowtoc=1\nshowtoo lbar=1\nminordefault=0\ndate=default\nimagesize=2\ nthumbsize=2\nrememberpassword=0\nenotifwatchlistp ages=0\nenotifusertalkpages=1\nenotifminoredits=0\ nenotifrevealaddr=0\nshownumberswatching=1\nfancys ig=0\nexternaleditor=0\nexternaldiff=0\nshowjumpli nks=1\nnumberheadings=0\nuselivepreview=0\nwatchli stdays=3\nextendwatchlist=0\nwatchlisthideminor=0\ nwatchlisthidebots=0\nwatchlisthideown=0\nwatchcre ations=0\nwatchdefault=0\nwatchmoves=0\nwatchdelet ion=0\nvariant=en\nlanguage=en\nsearchNs0=1','ab56 1306e81ea646114f994a7d863120c','20090224191517','0 ')
from within function "User::addToDatabase". MySQL returned error "1062: Duplicate entry 'radek-SiN' for key 2 (db1)".

BRotondi 02-27-2009 02:30 PM

@Radek125: Sorry, no clue...

Quote:

Originally Posted by Jaxel (Post 1752263)
Just upgraded to version 1.14... works great.

I upgradet also to 1.14 and 3.8.1, but still the same issue: Logout does not logout Wiki and login via Wiki is not processed in vB.

Why does it work on one half of the users, but not on the others?

Really a nice Plugin, ... would be nice if it works 100%...
Bruno

System69 03-01-2009 07:39 PM

Has any one a working isntallation with vB 3.8.1 and MediaWiki v1.14.0?

What was to do to get it to work?

System69 03-01-2009 08:55 PM

I got it working so far, but if i logg me in in Wiki, it seemd to be all ok, forum tell's me that the login is OK, it goes back to the wiki, but i'm still not loged on. any ideas?

dutchbb 03-01-2009 09:11 PM

Quote:

Originally Posted by System69 (Post 1757913)
I got it working so far, but if i logg me in in Wiki, it seemd to be all ok, forum tell's me that the login is OK, it goes back to the wiki, but i'm still not loged on. any ideas?

I searched for hours to solve that bug, here is the answer: https://vborg.vbsupport.ru/showpost....&postcount=246

Coder should update the first post.

Praxis 03-02-2009 01:20 PM

Is anyone running this with mod security in a chroot environment? If you are how is it working and did you do anything special? I have it installed but it is running terrible and only works properly when we turn off the VB authorization. When we use VB auth it will eat memory until it crashes, reload the script over and over again with CPU usage going to 100% on both processors and it takes a minute or two to show each page. Once we use wiki auth again it works like a charm.

BRotondi 03-02-2009 03:57 PM

Perhaps someone is interested in these informations:
- Installation Instructions + german adds: mmog_wiki_v2.1.0.doc
- The options menu of mmog 2.1: http://SinnImLeben.net/external/MMog_2.1_Options.jpg (high resolution)

Greetings, Bruno


All times are GMT. The time now is 10:01 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01571 seconds
  • Memory Usage 1,757KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete