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)
-   -   Major Additions - VaultWiki Lite 4.x: Wiki for vBulletin Forums (https://vborg.vbsupport.ru/showthread.php?t=309676)

ywwz 06-15-2014 02:33 PM

Ah.... I got this when trying vault/install/index.php
Quote:

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home3/name/public_html/mywebsite/forum/vault/core/model/vw.php on line 308
My PHP version is 5.4.29
What should I do ah@@

thincom2000 06-15-2014 04:06 PM

You might have PHP 5.4.29 installed on your server as you say, but apparently your server also has PHP < 5.3 installed, and it is using that instead for vBulletin. You will have to make sure in your Apache, nginx, or other config, that it is using the correct path to the PHP 5.4.29 binary when a .php request comes in.

If you maintain multiple versions of PHP, it is usually easier to keep track of this if the PHP path has the version number in it. But I have found that it is sometimes possible to update the wrong PHP location if you forget to set your prefixes properly when you compile the update.

If this error did not occur, then the loaded page should tell you that the PHP version is too low, and the actual PHP version that is executing the page. You can try to get at least that far, so it can give you some clues about your version, by editing vault/core/model/vw.php. Find:
Code:

$classname::select_child($class, $file, $depends);
Replace with:
Code:

call_user_func_array(array($classname, 'select_child'), array(&$class, &$file, $depends));

ywwz 06-17-2014 12:43 AM

Quote:

Originally Posted by thincom2000 (Post 2502069)
You might have PHP 5.4.29 installed on your server as you say, but apparently your server also has PHP < 5.3 installed, and it is using that instead for vBulletin. You will have to make sure in your Apache, nginx, or other config, that it is using the correct path to the PHP 5.4.29 binary when a .php request comes in.

If you maintain multiple versions of PHP, it is usually easier to keep track of this if the PHP path has the version number in it. But I have found that it is sometimes possible to update the wrong PHP location if you forget to set your prefixes properly when you compile the update.

If this error did not occur, then the loaded page should tell you that the PHP version is too low, and the actual PHP version that is executing the page. You can try to get at least that far, so it can give you some clues about your version, by editing vault/core/model/vw.php. Find:
Code:

$classname::select_child($class, $file, $depends);
Replace with:
Code:

call_user_func_array(array($classname, 'select_child'), array(&$class, &$file, $depends));

Thank you so much for your professional help, I'll try these code first and contact my site hoster if necessary. All the best!

thincom2000 07-09-2014 01:12 PM

The Gamma 7 version of VaultWiki Lite has been posted today, above. Here are some details of the release:

(released July 1, 2014)
  • HTML5 MicroData in Wiki Pages
  • vw_additional.css for easier CSS overrides
  • Opt Wiki Areas In/Out of Web Search Results
  • Improved CSS caching
  • CSS separated into multiple templates for easier management
  • fatal error searching wiki content in vB3
  • word wrap occurs in CODE blocks
  • word wrap is not multi-byte safe
  • About 25 other bugs that weren't limited to vBulletin are fixed

halkum 07-09-2014 10:25 PM

Getting this error when installing:

Fatal error: Configuration: You must insert a value for dirs.core in /vault/core.php in /home/uta/public_html/forum/vault/core/model/vw.php on line 109

Looked and there is no core.php in my vault folder.

halkum 07-10-2014 06:28 AM

Nevermind, I was running PHP 5.2. Updated and looks to be working correctly now.

halkum 07-10-2014 03:48 PM

1 Attachment(s)
Running PHP 5.4 currently.

VaultWiki has been installed. I have yet to do any post installation configuration though. It seems when the VaultWiki plugin is enabled on my forums, suddenly BBCode does not display correctly on the forums. It just shows the tags around the text.

I disable VaultWiki, and suddenly BBCode parses correctly.

Screenshot of example of what I mean attached.

thincom2000 07-12-2014 06:34 PM

I cannot reproduce the problem on my Lite wiki. If you can, I would advise you to submit a Support Ticket through the Members area at vaultwiki.org, so that a developer can resolve this for you.

thincom2000 07-12-2014 07:20 PM

Quote:

Originally Posted by halkum (Post 2506158)
Getting this error when installing:

Fatal error: Configuration: You must insert a value for dirs.core in /vault/core.php in /home/uta/public_html/forum/vault/core/model/vw.php on line 109

Looked and there is no core.php in my vault folder.

The error message refers to an incorrect file name, but the message means that VaultWiki is having trouble automatically finding your vBulletin root directory.

If you had some sort of open_basedir restriction which jails PHP to the vBulletin directory, this would be confusing to VaultWiki. However, from the error message, I don't see such a restriction.

If you have a Windows server with PHP 5.2.4 - 5.2.6 installed, the behavior of the PHP function realpath is inconsistent in this environment. In all PHP versions below 5.3.0, realpath randomly fails to return a value, and in 5.3.1, it only works in some cases.

I have logged a bug report at vaultwiki.org so that the developers can implement a workaround for these versions. Even if your PHP version is too low, VaultWiki is supposed to load far enough to tell you "your PHP version is too low"...

thincom2000 07-28-2014 05:51 PM

Release Candidate 1 has been posted today. Here are some of the changes in this release:
(released July 28, 2014)
  • History updated: more detailed and user-friendly
  • Fixed setting rebuilds in Debug Mode
  • Fixed fatal error subscribing via tab
  • Fixed sample area being invisible
  • Fixed signatures failing to parse
  • Fixed database error previewing new pages
  • About 35 other bugs that weren't limited to vBulletin are fixed


All times are GMT. The time now is 02:51 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.01431 seconds
  • Memory Usage 1,746KB
  • 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
  • (3)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
  • (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