View Full Version : Solved vbet php error

24-12-09, 22:53
When I click next thread as a guest I get this error when viewing the forums in spanish:

Warning: mysql_ping() expects parameter 1 to be resource, null given in /home/xxx/public_html/includes/vbenterprisetranslator_functions.php on line 636

Fatal error: Call to a member function close() on a non-object in /home/xxx/public_html/includes/vbenterprisetranslator_functions.php on line 637

The link was this one:


24-12-09, 22:55
It is happening on all next thread links on these pages:

On a scale of 1-10 how depressed are you now? (http://www.teenforumz.com/es/depression-suicide-advice/7590-en-una-escala-de-1-10-lo-deprimido-est%C3%A1s-ahora.html)

Same with previous links too.

24-12-09, 22:56
It also happens on here too, click the links at the bottom Previous thread and Next Thread, you get a blank page.

25-12-09, 18:47
Please use this quick fix - we are aware about this issue on some forums and working on official solution.

Quick fix. In file /includes/vbenterprisetranslator_functions.php, find line:

function vbet_reestablishConnection() {

And put after that:


It looks like vB sometimes have no initialized DB connection. We will find official solution for this issue in next release.

25-12-09, 19:11
Thanks for the very fast fix! It looks like it is working now!

27-12-09, 11:03
i test now in this thread next link
it will give white page

27-12-09, 13:28
Yeah I get that too again!

09-01-10, 23:40
Solved - will be included in vBET 3.3.0

AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translations supported by vBET Translator 4.10.1