vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Integration with vBulletin - vbWiki Standard - vBulletin+MediaWiki integration (https://vborg.vbsupport.ru/showthread.php?t=136242)

ElfMage 05-18-2007 04:26 PM

Quote:

Originally Posted by siriuxs
Tanks. Now I have a new error :)

http://www.pchs.it/wiki-pchs/

:(

That's another piece left from vbWiki Pro.... :rolleyes:, I re-uploaded 1.3 RC4 with the correct code for vbWiki.

Quote:

Originally Posted by Iseran (Post 1250238)
Found a temporary solution for error that siriuxs has:

In vBWiki-Settings.php, find:

$g_vbWiki_Redirect_Talk_Pages = true;
$g_vbWiki_Redirect_UserTalk_Pages = true;

and turn them to be false. That will fix the issue siriuxs and I had.

Indeed this will disable this code.

Thanks.

ElfMage 05-18-2007 04:28 PM

Quote:

Originally Posted by rfikki (Post 1249817)
The XML file that comes with the download is corrupt somehow.
Can you please check it and let me know?

Hi rfikki, I replied to your thread over at nuhit.com, the issue was that the product XML was saved in utf-16, and this was conflicting with your system's default encoding... a new utf-8 version is available from the Premium Members Area. Thanks.

(P.S., I am sure vb.org will not approve of using this forum/thread to support a commercial product... :rolleyes:)

slappy 05-18-2007 06:26 PM

Thanks for the updated version!

I might have found a possible bug with it though, after I just installed it on our vBulletin 3.6.7.

After I install it in the same way as the old version (which worked perfectly for me), the authentication still works as usual etc, and the diag tools says everything is fine too.

BUT, when I create a new wiki page, after submitting the content, the browser screen just turns blank (the content is still received in the wiki though). I tried this several times with the same result, and as soon as I disable the vbWiki extension it works again.

This was working in the old version, with vBulletin 3.6.5, but not now in this new one. :(

Could you please take a look and see if you can fix it?

Thanks a lot!

siriuxs 05-18-2007 07:15 PM

Hi,

now mediawiki functionally correct www.pchs.it/wiki-pchs, but vbWiki no. www.pchs.it/forums/vbWiki

Why?

Iseran 05-19-2007 12:04 AM

Er, the vBWiki folder does not need to be accessed. Is user db not being shared correctly?

Please note all configuration of this is done within the vbWiki_Init.php and vbWiki_Settings.php, and the folder itself does not affect vB.

ElfMage 05-19-2007 12:30 AM

Quote:

Originally Posted by slappy (Post 1250357)
BUT, when I create a new wiki page, after submitting the content, the browser screen just turns blank (the content is still received in the wiki though). I tried this several times with the same result, and as soon as I disable the vbWiki extension it works again.

Hi Slappy,

What version of MediaWiki and vbWiki are you using? Could you PM me a link to your site?

Thanks.

ElfMage 05-19-2007 12:31 AM

Quote:

Originally Posted by siriuxs (Post 1250394)
Hi,

now mediawiki functionally correct www.pchs.it/wiki-pchs, but vbWiki no. www.pchs.it/forums/vbWiki

Why?

As Iseran describes, you are not supposed to go to the /vbWiki folder. If vbWiki is working when you are logged in into your forum you should be logged in your wiki, and vice-versa. Is this not working in your site?

Thanks.

slappy 05-19-2007 06:02 AM

I'm using the just-released vbWiki Std v1.3 RC4, on a server with MediaWiki: 1.9.3, PHP: 5.2.2 (apache2handler) and MySQL: 5.0.27

PM sent with more details, thanks!

slappy 05-21-2007 08:41 AM

ElfMage, were you able to trace this bug any further? Any ideas for a solution?

Cooleyvol 05-21-2007 08:16 PM

I'm getting a page that looks like this:
http://www.gridiron-glory.net/wiki/

after editing my Local Settings.php file.

You can plainly see my absolute path my vbWiki-Init.php file

My vbWiki directory is under the forums directory.
My MediaWiki directory ("wiki") is outside my forums directory.

Can anyone help me out here?

ElfMage 05-21-2007 09:11 PM

Quote:

Originally Posted by Cooleyvol (Post 1252304)
I'm getting a page that looks like this:
http://www.gridiron-glory.net/wiki/

after editing my Local Settings.php file.

You can plainly see my absolute path my vbWiki-Init.php file

My vbWiki directory is under the forums directory.
My MediaWiki directory ("wiki") is outside my forums directory.

Can anyone help me out here?

Hi, the first line of your LocalSettings.php should be this:

PHP Code:

<?php

And you last lines of the file should be these:

PHP Code:

require_once "/home/wwwgri/public_html/forums/vbWiki/vbWiki_Init.php"
?> 


Make these changes and it should work...

Tearstone 05-21-2007 09:15 PM

Why is it that in order to make a new article I have to include "index.php?title=" in the URL (i.e.
"http://url.com/wiki/index.php?title=article"? Why does it not assume that if I just did "http://url.com/wiki/article"

ElfMage 05-21-2007 09:15 PM

Quote:

Originally Posted by slappy (Post 1251940)
ElfMage, were you able to trace this bug any further? Any ideas for a solution?

Hi Slappy, sorry for the delay.. :rolleyes:

I just tried editing your main page, and I was successful (edited it, and got no error).

Are you still getting this error? Does it happen only when you are logged in?

Thanks.

ElfMage 05-21-2007 09:18 PM

Quote:

Originally Posted by Tearstone (Post 1252335)
Why is it that in order to make a new article I have to include "index.php?title=" in the URL (i.e.
"http://url.com/wiki/index.php?title=article"? Why does it not assume that if I just did "http://url.com/wiki/article"

Hi, that's MediaWiki's default behavior. With some changes you can make MediaWiki use Search Engine Friendly URLs. There are a couple of articles at mediawiki.org, and there is also one at nuhit.com: http://www.nuhit.com/wiki/MediaWiki_SEF_URLs

Tearstone 05-21-2007 10:38 PM

Quote:

Originally Posted by ElfMage (Post 1252339)
Hi, that's MediaWiki's default behavior. With some changes you can make MediaWiki use Search Engine Friendly URLs. There are a couple of articles at mediawiki.org, and there is also one at nuhit.com: http://www.nuhit.com/wiki/MediaWiki_SEF_URLs

Really? I'm working on various techniques to make it easier for users to develop their own articles, I tried the create.php and inputbox.php but they kept giving me way too many problems. Most likely it is due to my n00bness with the Wiki application, but thank you very much for the link.

Tearstone 05-21-2007 11:03 PM

BTW ElfMage, that worked great! Thank you sir :)

ElfMage 05-22-2007 04:10 AM

:) Cool. Glad you got it working!

slappy 05-23-2007 06:43 AM

Quote:

Originally Posted by ElfMage (Post 1252336)
I just tried editing your main page, and I was successful (edited it, and got no error).

Are you still getting this error? Does it happen only when you are logged in?


Thanks for your test, but yes, the error is still there. :(

After I read your post, I made some further tests, and here are some interesting results, and a test that will let you reproduce the problem:

1.
The problem only seems to occur when I'm logged into vBulletin (and thus, into MediaWiki with your extension), yes. I cannot reproduce it in any way when not being logged in. This does of course even more support that this problem is due to some bug in the vbWiki extension though.

2.
It seems like some wiki pages can be edited even when I'm logged in, e.g. the main page and also some small test page I made.

3.
Some pages cannot be edited though, as described in my original bug report in this thread. One of these pages is the one with the name "Test Tool 2", please test this yourself (while being logged in, you can easily create an account at /forum).

4.
The problem always (when logged in) seems to occur when creating new pages though, please test this yourself too.

If it would make any difference, I'm using the "Remember me" checkbox in vBulletin when logging in.


Eagerly awaiting your results! Thanks!

ElfMage 05-23-2007 12:45 PM

:) Thanks for the thorough troubleshooting..

Please download and extract the attached file to your vbWiki directory, and let me know. This file will let me test sessions on your server as seen by vbWiki.

slappy 05-26-2007 02:46 PM

I'm sorry for the delay, I have now uploaded the file (in the same dir as all the other vBWiki files).

Please let me know if there is anything else I can do to make your debugging easier.

Looking forward to having this problem fixed!

Thanks!

Jim McAnally 05-27-2007 05:21 PM

If I have media wiki on a seperate domain and box than Vbulletin is there a way to get this to work or should I move this to the same server?

If so it would still be to seperate domains.

slappy 05-29-2007 08:37 AM

Any progress on locating the bug yet ElfMage? Did the uploaded file help, or do you want me to upload anything else too?

AScherff 05-29-2007 11:23 AM

Hi folks,

i've installed vbBuletin 3.6.7 PL1 and MediaWiki 1.10.0.

Both work fine.

I try to install vbWiki. But the VB User is not logged in in MW.

Set the :

$run_vbWikiPro_diag_tools = true;

and getting error:

Testing forum integration

Die Cookies konnten nicht gesetzt werden, da der Header schon an den Browser geschickt wurde.

Datei: /www/htdocs/blauwi/knx/vbWiki/vbWiki_Tools.php

Zeile: 455

i'm stuck. Please help.

Alfred

ElfMage 05-29-2007 02:30 PM

Quote:

Originally Posted by slappy (Post 1256716)
Any progress on locating the bug yet ElfMage? Did the uploaded file help, or do you want me to upload anything else too?


Hi, yes I managed to run the tests. Thanks for uploading the files.

It seems that your site's sessions are working properly. It also seems that vbWiki Std is working as well.

The blank page you describe is caused by a PHP error, most likely caused by some other extension.

I am able to edit any page, except those containing the template named MainObjTemplate, which is not implemented by vbWiki.

Could you confirm this to be the case?

Thanks.

ElfMage 05-29-2007 02:31 PM

Quote:

Originally Posted by AScherff (Post 1256810)
Hi folks,

i've installed vbBuletin 3.6.7 PL1 and MediaWiki 1.10.0.

Both work fine.

I try to install vbWiki. But the VB User is not logged in in MW.

Hi Alfred, could you disable vbWiki Diagnostic Tools, and PM me a link to your Wiki?

Thanks.

slappy 05-29-2007 04:25 PM

Quote:

Originally Posted by ElfMage (Post 1256912)
The blank page you describe is caused by a PHP error, most likely caused by some other extension.

I am able to edit any page, except those containing the template named MainObjTemplate, which is not implemented by vbWiki.

Could you confirm this to be the case?

It's not only for pages containing the MainObjTemplate, try to create a arbitrary new page, containing only the text "This is a test" or whatever, and it will happen too (it happens when you save the page, as usual, you can still load the page later).

Also, as soon as I disable the vbWiki extension, the errors are completely gone, so it sounds strange that the errors would be in another extension too, don't you think? :(

Are there perhaps some error logs or something that would help you?

ElfMage 05-29-2007 06:22 PM

Quote:

Originally Posted by slappy (Post 1256967)
It's not only for pages containing the MainObjTemplate, try to create a arbitrary new page, containing only the text "This is a test" or whatever, and it will happen too (it happens when you save the page, as usual, you can still load the page later).

Also, as soon as I disable the vbWiki extension, the errors are completely gone, so it sounds strange that the errors would be in another extension too, don't you think? :(

Well, I created some articles earlier today (Test Page, and Test Tool 3 or 4, can't remember), and I didn't get those errors. As soon as I copied the page containing that template, I got the PHP error (blank page), and vbWiki was active in all these tests. Quite puzzling.

Quote:

Originally Posted by slappy (Post 1256967)
Are there perhaps some error logs or something that would help you?

Yes, indeed. If your site has a php error log, any php errors will appear there.

It is possible that this issue is caused by vbWiki Std, or it may not. More information would be required.

efil 06-01-2007 06:10 PM

Hi,
Can't find the file LocalSettings.php.

pete_brady 06-01-2007 06:57 PM

Quote:

Originally Posted by efil (Post 1259272)
Hi,
Can't find the file LocalSettings.php.

very last line of the installation says

Quote:

Installation successful! Move the config/LocalSettings.php file into the parent directory

Quantnet 06-06-2007 12:37 PM

I'm a bit confused. I'd like to installed Standard and by reading here on your site, I don't have to download and install Wikipedia prior to install this hack ?

Only the Pro version needs prior wikipedia installation ?

ElfMage 06-06-2007 12:48 PM

Hi, my apologies for the confusion.

However, both vbWiki Std and vbWiki Pro are 'bridges' between vBulletin and MediaWiki. In the installation instructions above it is stated:

Quote:

MediaWiki and vBulletin must be installed and properly working before installing vbWiki. MediaWiki can be downloaded here.
Thanks.

Quantnet 06-07-2007 12:21 PM

Thanks for the clarification.
Please correct me if I'm wrong but from reading the side-by-side comparison between Standard and Prof version, it seems the Standard is much better and easier to work with ?

instead of put them in /vbwiki/ folder, can i put them under /wiki/ folder ?

ElfMage 06-08-2007 04:30 AM

:) It depends. vbWiki Standard is easier to install, but on the other hand, vbWiki Pro has quite a number of features missing from vbWiki Standard. For instance with vbWiki Pro you get skin integration, usergroup management, Admin CP to control vbWiki and MediaWiki's operation, etc. A more thorough comparison can be found over at our site.

If you are installing vbWiki Standard, you can rename the /vbWiki folder to something else, although this is not advisable.

Please notice that this folder (e.g. /forums/vbWiki) is never seen by your visitors. Instead your visitors will go to the folder where you installed MediaWiki (e.g. /wiki).

The folder where vbWiki is installed does not affect your forum or wiki URLs.

slappy 06-09-2007 10:12 AM

Quote:

Originally Posted by ElfMage (Post 1257028)
Yes, indeed. If your site has a php error log, any php errors will appear there.

It is possible that this issue is caused by vbWiki Std, or it may not. More information would be required.

Ok, I have found the source of the error by looking in the error log:

Code:

PHP Fatal error:  Allowed memory size of 20971520 bytes exhausted (tried to allocate 75 bytes) in /xxx/xxx/xxx/languages/Language.php on line 1775
This is what made the crash semi-random. I changed the memory limit in the LocalSettings.php, and the problem went away.

What I still don't know is what is taking so much memory. The problem only occurred when having the vbWiki extension active, but this could of course either mean that this extension takes up a lot of memory itself, or that it was just the last drop, but the real culprit was some other extension.

Oh, and one more tip, which I found when looking through the error logs. The following (non-critical) error in your code appears a lot in the error-log, so you might want to fix it:

Code:

PHP Notice:  Undefined index:  vbwiki_preferencestitle in /xxx/xxx/forum/vbWiki/vbWiki_Hooks.php on line 45

ElfMage 06-09-2007 06:30 PM

Quote:

Originally Posted by slappy (Post 1264692)
Ok, I have found the source of the error by looking in the error log:

Code:

PHP Fatal error:  Allowed memory size of 20971520 bytes exhausted (tried to allocate 75 bytes) in /xxx/xxx/xxx/languages/Language.php on line 1775
This is what made the crash semi-random. I changed the memory limit in the LocalSettings.php, and the problem went away.

What I still don't know is what is taking so much memory. The problem only occurred when having the vbWiki extension active, but this could of course either mean that this extension takes up a lot of memory itself, or that it was just the last drop, but the real culprit was some other extension.

vbWiki will need to load the vBulletin bridge to access vBulletin's users and DB. This requires extra memory. Now, 20MB seems a bit excessive. I have seen vBulletin use around 6-8 MB, but I don't know how much MediaWiki usually uses. Also, as you mention it would depend on MW extensions or vBulletin mods installed.


Quote:

Originally Posted by slappy (Post 1264692)
Oh, and one more tip, which I found when looking through the error logs. The following (non-critical) error in your code appears a lot in the error-log, so you might want to fix it:

Code:

PHP Notice:  Undefined index:  vbwiki_preferencestitle in /xxx/xxx/forum/vbWiki/vbWiki_Hooks.php on line 45

Thanks for the heads up.

You can edit that line vbWiki_Hooks.php and change it from:
PHP Code:

    if (array_key_exists('preferences'$personal_urls)) 

to

PHP Code:

    if (array_key_exists('preferences'$personal_urls) && isset($vbphrase['vbwiki_preferencestitle']) ) 

Thanks.

Quantnet 06-10-2007 05:22 PM

If i install Standard version now and decide to upgrade to the Pro version later, do I have to reinstall everything again ?

Quantnet 06-10-2007 06:37 PM

I assume the Standard version here is exactly the same as the nuWiki version released on your site ?

ElfMage 06-10-2007 07:09 PM

Quote:

Originally Posted by Quantnet.org (Post 1265619)
If i install Standard version now and decide to upgrade to the Pro version later, do I have to reinstall everything again ?

To upgrade to vbWiki Pro you only need to follow the vbWiki Pro installation instructions, you do not need to reinstall MediaWiki.

Quote:

Originally Posted by Quantnet.org (Post 1265658)
I assume the Standard version here is exactly the same as the nuWiki version released on your site ?

No, NuWiki is a different product.

NuWiki does not use MediaWiki. Instead NuWiki is implemented from zero on top of vBulletin (e.g. you can use vBulletin's WYSIWYG BBCode editor to create and modify articles, or you can take an existing thread (e.g. sticky) and convert it into a NuWiki article, etc).

A comparison between NuWiki and vbWiki Pro can be found in this page: http://www.nuhit.com/nuwiki/comparison.html

Quantnet 06-11-2007 02:00 AM

Ah, I see where i got confused.
Look like nuwiki is what i need.

ElfMage 06-11-2007 02:29 AM

:) We will be releasing free trial download for NuWiki in our site within the next week or two.


All times are GMT. The time now is 05:50 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.01740 seconds
  • Memory Usage 1,861KB
  • 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
  • (4)bbcode_code_printable
  • (4)bbcode_php_printable
  • (23)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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