View Full Version : Solved Notice error

16-05-10, 05:19
Getting this error after install

Notice: Use of undefined constant DIR - assumed 'DIR' in /var/www/.../espinge.com/httpdocs/includes/vbenterprisetranslator_functions_vbseo.php on line 18

Also notice the URL rewrite is totally meesed with links containing special characters, all images also have gone from the CMS (probly related to the error)

Any idea how to fix this, did not get any issue with the free version...

16-05-10, 06:34
Short update, this error jump soon this line is activated:

RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbenterprisetranslator_seo.php [L,QSA]

But f its not active the forum show as a blank page.

16-05-10, 18:17
Can't find the issue, have reviewed all steps had to disable it again, soon i upload the htaccess the notice come and break a lot of stuff

16-05-10, 18:40
Short update, had disabled now all the other plugins, it still show up...

Any ideas would be welcome, thanks

16-05-10, 19:27
Please try this and tell about results:
1. Edit file vbenterprisetranslator_functions_vbseo.php
2. Find:

if (!defined(DIR)) {
3. Replace to:

if (!defined('DIR')) {

17-05-10, 19:30
Working great now, was looking into the wrong file all the time...

17-05-10, 22:31
I've got this same error in my error logs..

did as mentioned above, but my images are still broken.

I think my issue is deeper.

18-05-10, 17:22
For error log - please follow instruction above. For images - please create separate thread with details.

AfrikaansAlbanianArabicBelarusianBulgarianCatalanChineseCroatianCzechDanishDutchEnglishEstonianFilipinoFinnishFrenchGalicianGermanGreekHaitian CreoleHebrewHindiHungarianIcelandicIndonesianIrishItalianJapaneseKoreanLatvianLithuanianMacedonianMalayMalteseNorwegianPersianPolishPortugueseRomanianRussianSerbianSlovakSlovenianSpanishSwahiliSwedishTaiwaneseThaiTurkishUkrainianVietnameseWelshYiddish
Translations supported by vBET PRODUCER_PRODUCT_VERSION