![]() |
It seems, you did not set the path correctly
example: Code:
define( VB_SYSTEM_PATH, '/home/path/server/forum' ); |
Quote:
Thank you for your attention :) actually I did ! that's why I'm confused about this ! Code:
define( VB_SYSTEM_PATH, '/home/persianppc/public_html' ); |
Sorry ... no. For such cases I installed XAMPP and Netbeans. This is fine to debug a project. You could set a breakpoint on this line and see if it really is beeing executed.
your "Use of undefined constant" says, that this line never has been executet - I think, not the php-hero either :). Perhaps you set the line on a wrong copy of LocalSettings.php? ... Bruno |
Quote:
maybe it's some permission problem ? |
I don't know, sorry ... "not the php-hero either" :).
|
I recently upgraded to vB4 and my wiki started throwing errors caused by this mod. I found a workaround that I would like to share in case others face the same issue. I fixed the problem by changing path of "require('./includes/class_bootstrap.php')" at the beginning of vB4 global.php to the full path of the class_bootstrap.php.
|
Interesting... Thanks for sharing! Which Versions do you use?
|
Thanks VERY much! I fought this for two hours until I came across your post. MUCH appreciated, and confirmed to work!
Quote:
|
curious if anyone has tried this (I dont know enough about mediawiki to know where to edit this):
When a user is login and viewing wiki pages, I'd like the personal_url link for the user page to link to the forum UserCP instead of the user page on the wiki. Seems like it would be easy, I just dont know where to edit that. |
Install FireBug > pick the element you want to change > Change it manually until it fits > find the code you have to change :)
Good luck! Bruno @Scan Cape Cod: Thanks for your version info! Nice to see, that it works also with 1.15! |
duh! thanks man :)
|
Quote:
I of course had to ultimately "uninstall" MMOG Wiki from MediaWiki by removing the added code. Prior to doing so, trying to edit a wiki page resulted in the "malformed" message mentioned earlier. So, I guess it probably does NOT work with 1.15.1. My apologies if I misled you or anyone. It was the end of a long day and I wasn't thinking clearly when I made that post. |
No problem :)
So I did the upgrade from 1.14 to 1.15 and can confirm myself, that it's working also with 1.15 - without any changes. Or let's say: Login is working as desired through vB, but I did not test the rest. Have a nice sunday! Bruno |
What about the wiki skin? Are you able to use the same skin as the forum?
|
Does the mod work if my forum and wiki are on separate domains?
|
I'm not sure why but I'm getting a 500 Internal Server Error. I've altered my LocalSettings file as many ways as I can think of (thinking that perhaps my path was wrong due to the fact that I have my domain name looking of "myworldofdarkness.com" looking to my url "http://madhatterrgames.com/vampire-larp" for my vbulletin root) but no dice.
My wiki is located at: http://myworldofdarkness.com/wiki My vbulletin is installed at: http://myworldofdarkness.com/forum.php (I'm using vbadvanced on the index.php) Both are located on my website at (real urls) wiki - http://madhatterrgames.com/vampire-larp/wiki vbulletin - http://madhatterrgames.com/vampire-larp/forum.php I read that others had a similar issue and it was related to the .htaccess file I don't have access to the other file mentioned (to be altered instead of .htaccess) so am I out of luck and can't use this hack? Any help you could provide me with would grant you my eteranl thanks and virtual cookies. :) Mmmm! Thanks in Advance for your help! |
Okay,
so when I delete the .htaccess file I created, the wiki shows back up which tells me the error is probably in the .htaccess file... So, if I don't have access to my php.ini file and the .htaccess addition is shutting down the wiki with a 500 Internal Server Error - are there any other options for me or am I up a creek? |
Quote:
|
|
Quote:
|
Hello
I have vb4 and use the modifications of post 115, on mediawiki access to enter login and is ok, appears the vb page with vblogin ok, but on the wiki not logged, i go to the forum and logged ok, but returns to wiki and not logged in. What is the problem? Thx |
Hello
i resolved this on options vbulletin-----http & cookies-----path to save cookies (i have forum, i changed to / and works fine) Thx |
Quote:
|
Modifications
Code:
<phpcode><![CDATA[if (strpos($userinfo['location'], ( $vbulletin->options['mmog_wiki_path'] . '/' )) !== false) If checking for /w ist not enough, you could also use multiple Code:
if (...) {$userinfo['activity'] = 'wiki';}
Code:
$userinfo['action'] = 'Viewing Wiki'; |
I am about to apply this hack. I had a similar one before with Media wiki and PHPBB. I'm wonder though, do I need to have both VB and Media Wiki using the same database? Currently I have them on separate databases on the same server.
Ben |
Different is o.k.
Bruno |
So, I have installed it. This is trying to get it to work with vb4.01 btw, which seems to have worked for others.
The only thing that had me unsure was VB_SYSTEM_PATH. VB is install right in my rood dir of my domain. I tried a few things, got errors finding class_bootstrap.php so I spoke with my domain host, they suggested I just enter '/' since it's my rood dir. When I do that I get the following error: Warning: require_once(///global.php) [function.require-once]: failed to open stream: No such file or directory in /hermes/web04/b1777/moo.benjaminlwells/alphanex/includes/AuthPlugin_vBSSO.php on line 254 Fatal error: require_once() [function.require]: Failed opening required '///global.php' (include_path='/hermes/web04/b1777/moo.benjaminlwells/alphanex:/hermes/web04/b1777/moo.benjaminlwells/alphanex/includes:/hermes/web04/b1777/moo.benjaminlwells/alphanex/languages') in /hermes/web04/b1777/moo.benjaminlwells/alphanex/includes/AuthPlugin_vBSSO.php on line 254 Any Thoughts? |
"." is the path for "this", perhaps this helps in some way... (try "/." or "./", don't remember it exactly yet)
|
And ... btw ... now a problem from myself: Wiki does not recognize the login any more... I'm always logged out but don't know, what could have been changed. Even if I reload an old backup it does not help...
Any ideas? Thanks! Bruno |
Quote:
|
So try to hardencode it: Search for the variable and replace it with "nothing" - only an idea...
|
O.K. I did plenty of tests and am sure now: It does not work with vB 4.0.1! You will remain logged in after the upgrade from 4.0.0 until you press Ctrl-F5 in the wiki while logged out in vB. Then you never can log in again...
Or does it work on the english 4.0.1? ... very sad... Greetings, Bruno |
The only place I could find it was in AuthPlugin_vBSSO.php
it was: Code:
# INITIALIZE VBULLETIN SUBSYSTEM Bruno, you are running on 4.01 also, other than your new issues, you seemed to be able to get it installed properly. Did you follow any other steps that aren't in the readme file? |
Hi Benjamin
As much as I understand, it never worked with 4.0.1. It works fine with 4.0.0 and if you do not enter the wiki logged out after upgrading, you will never realize, it does not work any more. Bruno Edit: Perhaps vB 4.0 gives Vaultwiki (60$ then 25$/year, Demopage) the right chance ... |
well, 4.02 comes out in a couple of days maybe it will work then...
|
I don't think so, but perhaps some one will find a way to fix it also for 4.0.1/2. From .0 to .1 they changed quite a lot. Perhaps a new fix would last longer...
|
I hope someone can come up with a solution, I'd rather not have to shell out $60. Software looks great, but I'm worried about my custom layouts in MediaWiki getting trashed, and I have visions of spending many hours fixing layouts for hundreds of entries!
|
Quote:
|
Quote:
Quote:
|
Quote:
Ben |
All times are GMT. The time now is 04:33 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|