vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Integration with vBulletin - [obsolete!] vbMediaWiki 4.0.2 RC 3 (https://vborg.vbsupport.ru/showthread.php?t=235342)

bepe 02-20-2010 10:23 AM

Quote:

Originally Posted by chrisdowns (Post 1987121)
Hi

This is the error im getting


Code:

Warning: require_once(./includes/functions_user.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/class_bootstrap.php(283) : eval()'d code on line 3

Fatal error: require_once() [function.require]: Failed opening required './includes/functions_user.php' (include_path='/home/XXXXXX/public_html/forums/wiki:/home/XXXXXX/public_html/forums/wiki/includes:/home/XXXXXX/public_html/forums/wiki/languages:.:/usr/lib/php:/usr/local/lib/php') in /home/XXXXXX/public_html/forums/includes/class_bootstrap.php(283) : eval()'d code on line 3


Forum - http://theclaypedia.com/forums/
Wiki http://theclaypedia.com/forums/wiki

define( VB_INSTALL_PATH, '/home/XXXXXX/public_html/forums' );
Path ./wiki

ok, problem was an avatar plugin that had an includ command inside a function... I fixed that problem and that fix will also be part of the next beta

Big-Pete 02-20-2010 10:50 AM

Quote:

Originally Posted by bepe (Post 1986729)
Are u using 4.0.2 now?
... anyway, I can not think of anything in my mod that could cause that ...

Hi bepe, Im still on 4.0.1, not sure whether to goto 4.0.2 or wait for 4.0.3 because of all the new reported issues that 4.0.2 has introduced..

bepe 02-20-2010 11:03 AM

Quote:

Originally Posted by Big-Pete (Post 1987201)
Hi bepe, Im still on 4.0.1, not sure whether to goto 4.0.2 or wait for 4.0.3 because of all the new reported issues that 4.0.2 has introduced..

Should not be a problem, they did not change something related to this product... or at least not something that would break my code

I will continue with 4.0.2 .. but I'm sure it will still work with 4.0.1

nitra1000 02-20-2010 03:20 PM

HI I have vbseo and rewrite urls on... so I have to drop a htaccess in /wiki to turn "rewrite off".

I noticed that after i had completed your install steps, it just didn't work... I'm going through it all again but do you think this could be an issue because of the rewrite rule?

Thanks!

p.s anyone with VBseo got this installed?

HoSStiA 02-20-2010 03:47 PM

Quote:

Originally Posted by bepe (Post 1987090)
Quote:

Originally Posted by HoSStiA
PHP Code:

@mysql_query('SET NAMES utf8'); 


Not exactly sure what this does, I think it's more for setting the charset of the database, but not of the connection... anyway, it did not help

If needed I'm converting the strings to the forum charset now, should be fine

By default variable $config['Mysqli']['charset'] in /forum/config.php is commented. But in cases where the vBulletin encoding does not match with the MySQL default encoding, this variable must be uncommented and set to desired value (for example 'utf8', if MySQL uses the default latin1-swedish-ci).

Keep this in mind when vBMediaWiki's search module connecting to a database with direct function mysql_connect (сompare with the parameters db_connect, called from /forum/includes/class_core.php ). If $config['Mysqli']['charset'] exists, SQL inctruction "SET NAMES '<charset>'" must be executed after connecting to the database to set the properly encoding.

HoSStiA 02-20-2010 03:59 PM

Quote:

Originally Posted by nitra1000 (Post 1987385)
HI I have vbseo and rewrite urls on... so I have to drop a htaccess in /wiki to turn "rewrite off".

I noticed that after i had completed your install steps, it just didn't work... I'm going through it all again but do you think this could be an issue because of the rewrite rule?

Thanks!

p.s anyone with VBseo got this installed?

I have to tweak vBSEO rewrite rules to:
Code:

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|vbseo_sitemap/|cron|wiki/)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbenterprisetranslator_seo.php [L,QSA]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap|wiki/)
RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images|wiki)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]


nitra1000 02-20-2010 06:01 PM

Okay thanks narrowed down the problem now...

The wiki works fine when not logged in, but when logged in it just gives a blank page, no error message or anything :(

Big-Pete 02-20-2010 06:03 PM

I just used the above .htaccess info as I have vbseo aswell and it works fine..

Do you get the header or just a blank page.?

I just need to try and work out how to use the wiki now ;)

nitra1000 02-20-2010 06:07 PM

Quote:

Originally Posted by Big-Pete (Post 1987511)
I just used the above .htaccess info as I have vbseo aswell and it works fine..

Do you get the header or just a blank page.?

I just need to try and work out how to use the wiki now ;)

On FF it's just a blank page, on IE8 it reports it as a 500 error..

daveaite 02-20-2010 06:08 PM

keep up the good work.


All times are GMT. The time now is 08:10 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.01540 seconds
  • Memory Usage 1,751KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (7)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