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 4 of 4

Thread: Switching from vbSEO to dbSEO

  1. #1
    Junior Member
    Join Date
    Dec 2009
    Posts
    2

    Default Switching from vbSEO to dbSEO

    With mods disabled:

    Warning: Assigning the return value of new by reference is deprecated in ..../includes/init.php(351) : eval()'d code on line 139
    Unable to add cookies, header already sent.
    File: /var/www/site.com/forum/includes/class_core.php
    Line: 5755

    With mods enabled/back on:

    Warning: Assigning the return value of new by reference is deprecated in ..../includes/init.php(351) : eval()'d code on line 139

    Warning: Only variables should be assigned by reference in ..../includes/vbenterprisetranslator_functions_hooks.php on line 851

    Running nginx, so I tried:

    (without the ;
    rewrite ^/forums/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last

    rewrite ^/forums/(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/$ /forums/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/ last;
    rewrite ^/forums/(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko|lv|lt|mk|ms|mt|no|fa|pl|pt|ro|ru|sr|sk|sl|es|sw|sv|zh-TW|th|tr|uk|ur|vi|cy|yi)/(.*)?$ /forums/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/$2 last;

    It seems I need to pass rewrites to dbSEO and vBET, how do I do so?

    I already have rules similar to:

    if (!-e $request_filename) {
    rewrite ^/forums/(.*)$ /forums/vbenterprisetranslator_seo.php last;
    }

    }

    if ($request_filename ~ "\.php$" ) {
    rewrite ^/forums/(.*)$ /forums/vbenterprisetranslator_seo.php last;
    }

    but pointing to dbseo last;


    The current nginx config:

    location /forum/ {

    try_files $uri $uri/ /forum/dbseo.php?$args;

    rewrite
    ^/forums/(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko$
    /forums/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/ last;
    rewrite
    ^/forums/(af|sq|ar|hy|az|eu|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|ka|de|el|ht|iw|hi|hu|is|id|ga|it|ja|ko$
    /forums/vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/forums/$2 last;

    if ($request_uri ~* ^/forum/mobiquo) {
    break;
    }

    if (-f $request_filename) {
    expires 30d;
    break;
    }

    if ($request_filename ~ "\.php$" ) {
    rewrite ^(/forum/.*)$ /forum/dbseo.php last;
    }


    if (!-e $request_filename) {
    rewrite ^/forum/(.*)$ /forum/dbseo.php last;
    }

    }
    }

    Please help in assistance

  2. #2
    Banned
    Join Date
    Aug 2012
    Posts
    481

    Default

    Try turn off the display of warnings in vB (more info).

  3. #3
    Junior Member
    Join Date
    Dec 2009
    Posts
    2

    Default

    I'm sorry but that doesn't seem like a solution to me. Those warnings could provide valuable insight in other areas. Would you please help fix this compatibility?

  4. #4
    Banned
    Join Date
    Aug 2012
    Posts
    481

    Default

    We changed the code and in the next release our code will not cause a warning in latest version of vB. These of change is too many to do to them quick fix. Warnings do not affect the results. The link that I gave you is the official solution vB not to display a warning. The issue of a warning concerns all plugins in the latest vB.
    vBET currently supports vBSEO and friendly url. We do not currently support dbSEO. You can change the rules, but we can not guarantee that dbSEO will not do redirects, or other surprises - vBET not been integrated and tested with dbSEO.
    I suggest you use a free, embedded friendly url in the vB.

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
  •