vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Integration with vBulletin - Complete Wordpress/Vbulletin Bridge - Share Users And Postings (https://vborg.vbsupport.ru/showthread.php?t=134521)

Jafo232 09-17-2007 03:02 AM

I would suggest that anywhere you see a require or include, use the full absolute path to the file. See if that fixes the errors.

djr 09-17-2007 03:08 AM

Quote:

Originally Posted by Jafo232 (Post 1340591)
I would suggest that anywhere you see a require or include, use the full absolute path to the file. See if that fixes the errors.

Already done that :cool:

Jafo232 09-17-2007 04:42 AM

And what error do you get?

djr 09-17-2007 05:01 AM

Hopefully without sounding too rude, as I appreciate the help, but have you read my rather extensive post? I try to give the coder as much info as possible.

Quote:

If I change the require_once function to use the full absolute file path, then the inclusion errors dissappear, but I see no forums in the forumlist. In this case the page source gives me this error:
Code:

Fatal error:  Call to undefined function:  fetch_foruminfo() in /var/www/vhosts/iphoneclub.nl/httpdocs/wp-content/plugins/vbbridge.php on line 478
This function is only defined in functions.php (and by quick glance not in functions_misc.php). When I try to include functions.php instead of functions_misc.php WP throws me an error "Cannot redeclare is_valid_email".

jarod.tm 09-17-2007 02:18 PM

Hi guys, i've installed this script and set all parameters.
Please, help me!!

When i go to write a test post, i've these errors:

Warning: vb_post_form() [function.vb-post-form]: open_basedir restriction in effect. File(/includes/functions_misc.php) is not within the allowed path(s): (/var/www/virtual/mysite.com/:/usr/share/php/:/tmp/) in /var/www/virtual/mysite.com/htdocs/blog/wp-content/plugins/vbbridge.php on line 466

Warning: vb_post_form(/includes/functions_misc.php) [function.vb-post-form]: failed to open stream: Operation not permitted in /var/www/virtual/mysite.com/htdocs/blog/wp-content/plugins/vbbridge.php on line 466

Fatal error: vb_post_form() [function.require]: Failed opening required '/includes/functions_misc.php' (include_path='.:/usr/share/pear') in /var/www/virtual/mysite.com/htdocs/blog/wp-content/plugins/vbbridge.php on line 466

Obviously i've changed my site's addres with: mysite.com

djr 09-17-2007 02:40 PM

Same problem as me :-(

Jafo232 09-17-2007 03:17 PM

Ok, I see what you guys are saying now.

This seems to be a configuration issue with your PHP installation. See this search for other scripts having the same issue.

The PHP manual goes into further detail:

http://us3.php.net/features.safe-mode

Scroll down to where it explains open_basedir.

I am thinking that you may need to try using a relative path and that might bypass the issue. Without revealing too much server information, could you post the path that your forum is in, and the path that your vbulletin is in?

djr 09-17-2007 03:26 PM

WordPress: /var/www/vhosts/mysite.com/httpdocs/
vB: /var/www/vhosts/mysite.com/httpdocs/forum/
WordPress URL: http://www.mysite.com
vB URL: http://www.mysite.com/forum/

Jafo232 09-17-2007 03:28 PM

I would try making the path to the forum: ./forum and see if that changes anything..

DogManStar 09-17-2007 07:18 PM

I have the same problem.
I tried without success ./forums


All times are GMT. The time now is 05:10 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.01784 seconds
  • Memory Usage 1,741KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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