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

Thread: Thanks for vbet but i notice some strange problem with cmps_index page

  1. #1
    Banned
    Join Date
    Dec 2009
    Posts
    17

    Default Thanks for vbet but i notice some strange problem with cmps_index page

    Thanks for vbet but i notice some strange problem with cmps_index page.
    I have my cmps_index.php pag renamed to bindex.php. But when i am trying to click the trnalstor for example arabic, it is showing a cut link like

    which is supposedly to be

    And it is same for all translation. what shall i do to fix this error. thanks in advance.

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

    Default

    vBET cuts index.php from URL - that is why you have this issue. For quick fix please:
    1. Edit file /includes/vbenterprisetranslator_functions_url.php
    2. Find:
    PHP Code:
    if (false !== strpos($address'index.php') && false === strpos($address'/archive/')) {
    $address str_replace('index.php','',$address);

    2. Replace by:
    PHP Code:
    if (false !== strpos($address'/index.php') && false === strpos($address'/archive/')) {
    $address str_replace('/index.php','/',$address);

    Please confirm does it help. We will include it in next release so you will be calm about it during updates

  3. #3
    Banned
    Join Date
    Dec 2009
    Posts
    17

    Default

    I am wrong. It is the original index.php renamed to bindex.php and my cmps_index.php to be index.php.
    My translator in index.php (originally cmps_index.php) seems working fine, but the bindex.php(originally index.php) not working.

    And i cannot find this codes in /includes/vbenterprisetranslator_functions_url.php
    if (false !== strpos($address, 'index.php') && false === strpos($address, '/archive/')) {
    $address = str_replace('index.php','',$address);
    }
    This is what i have in /includes/vbenterprisetranslator_functions_url.php
    if ($index = strpos($address, 'index.php')) {
    $address = str_replace('index.php','',$address);
    }
    Please reply asap.

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

    Default

    OK - this code which you found is the one. I gave you code from version not released yet. But do not use it - because the issue is something else that you described in first place.

    About real issue. First - make sure it is not done by some vBSEO settings (like custom rewrite or something).

    When you will be sure that it is not vBSEO, then please PM your forum URL and access details for Admin CP, vBSEO CP and FTP - we will have to check it on place.

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

    Default

    Because it went to PM - to confirm can issue be closed?

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

    Default

    No confirmation - closing issue. In case if it is still active please respond here and it will be reopened.

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
  •