Bug Fatal error: Call to undefined method vB::getConfig()

Status
Not open for further replies.

behcet

New member
Hi Houstoun :)
we have a problem !

ı am install DragonByte Tech: Classifieds (Lite) 1.1.7 ...
nizip submit listing
but error
Fatal error: Call to undefined method vB::getConfig() in .../includes/functions_wysiwyg.php on line 97

help pls.
 
Hmmm... interesting.

Can you double check you've got all the files uploaded to the right locations. Did the XML install completely, or did you run into any hitches?

Where did you download the Lite package from? Here or on vb.org?
 
I've checked with Fillip H. on this and we both agree that this isn't Classifieds causing the issue. Our mod calls a function in vB that isn't setup/working right, but the bug lies there not in Classifieds. It might be a good idea to check that all your vBulletin files are in the right places.

Hope that helps matey.
 
My fix ;)

/includes/functions_wysiwyg.php clon and rename functions_wysiwyg_dbtech_classifieds.php

functions_wysiwyg_dbtech_classifieds.php
change line 97

// $vb5_config =& vB::getConfig();
// $vbulletin->input->clean_gpc('r', 'showhtml', vB_Cleaner::TYPE_BOOL);

saved ...


I changed your listing.php file's line 1578 as follows.

// Old editor
require_once(DIR . '/includes/functions_wysiwyg_dbtech_classifieds.php');
$listing['message'] = convert_wysiwyg_html_to_bbcode($vbulletin->GPC['message'], true);



Is this a problem ? or is there easier code.

Note : I upgraded ckeditor from 3.6.2 to 3.6.6 ...
 
Last edited:
It looks like you have a vB5 file there... which might explain why you are getting the problem... I've not even begun to work on a vB5 version... :D

It looks like it should work in theory, but why the vB5 file? Is that intentional or not?

:)
 
Status
Not open for further replies.

Legacy DragonByte Classifieds

vBulletin 4.x.x
Seller
Mokonzi
Release date
Last update
Total downloads
562
Customer rating
0.00 star(s) 0 ratings
Back
Top