Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Results 1 to 8 of 8

Thread: Notice error

  1. #1
    Junior Member
    Join Date
    May 2010
    Posts
    8

    Default Notice error

    Getting this error after install

    Code:
    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...

  2. #2
    Junior Member
    Join Date
    May 2010
    Posts
    8

    Default

    Short update, this error jump soon this line is activated:

    Code:
    RewriteRule ^((archive/)?(.*\.php(/.*)?))$ vbenterprisetranslator_seo.php [L,QSA]
    But f its not active the forum show as a blank page.

  3. #3
    Junior Member
    Join Date
    May 2010
    Posts
    8

    Default

    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

  4. #4
    Junior Member
    Join Date
    May 2010
    Posts
    8

    Default

    Short update, had disabled now all the other plugins, it still show up...

    Any ideas would be welcome, thanks

  5. #5
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Please try this and tell about results:
    1. Edit file vbenterprisetranslator_functions_vbseo.php
    2. Find:
    PHP Code:
    if (!defined(DIR)) { 
    3. Replace to:
    PHP Code:
    if (!defined('DIR')) { 

  6. #6
    Junior Member
    Join Date
    May 2010
    Posts
    8

    Default

    Working great now, was looking into the wrong file all the time...

  7. #7

    Default

    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.

  8. #8
    Michał Podbielski (vBET Staff) vBET's Avatar
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    For error log - please follow instruction above. For images - please create separate thread with details.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •