vb.org Archive

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

BRotondi 01-07-2010 08:05 AM

It seems, you did not set the path correctly

example:
Code:

define( VB_SYSTEM_PATH, '/home/path/server/forum' );
Regards, Bruno

Behzad Varedi 01-07-2010 08:34 AM

Quote:

Originally Posted by BRotondi (Post 1949397)
It seems, you did not set the path correctly

example:
Code:

define( VB_SYSTEM_PATH, '/home/path/server/forum' );
Regards, Bruno

Hello,

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' );
any idea ?

BRotondi 01-07-2010 09:24 AM

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

Behzad Varedi 01-07-2010 09:51 AM

Quote:

Originally Posted by BRotondi (Post 1949421)
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

Well, I'm sure that I'm using the right copy cause when I edit it and put something wrong, wiki won't come online again till I change it to what it was.

maybe it's some permission problem ?

BRotondi 01-07-2010 10:59 AM

I don't know, sorry ... "not the php-hero either" :).

apply 01-08-2010 05:24 AM

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.

BRotondi 01-08-2010 05:36 AM

Interesting... Thanks for sharing! Which Versions do you use?

Scan Cape Cod 01-09-2010 03:11 AM

Thanks VERY much! I fought this for two hours until I came across your post. MUCH appreciated, and confirmed to work!

Quote:

Originally Posted by apply (Post 1950156)
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.

Edit, I should mention that I'm using Mediawiki 1.15.1.

raisun 01-09-2010 05:14 AM

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.

BRotondi 01-09-2010 06:03 AM

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!


All times are GMT. The time now is 02:23 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
  • Page Generation 0.01348 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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