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.
Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: Fatal error: Cannot redeclare vbseo_thread_seotitle() (not closed yet)

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

    Default

    As I see there is still issue with redeclaring function. I cannot check what exactly happens, but if you made appropriate changes in vBSEO file as described in installation manual, then the only idea at this moment I have is that some rule puts you back to vbenterprisetranslator_seo.php file - it shouldn't happens and I don't see how it is possible but without checking I have no other ideas right now.

    Please go to vbenterprisetranslator_seo.php and made same edition as for includes/functions_vbseo_createurl.php - so find function vbseo_thread_seotitle and set the if clause around it. Please tell me does it help.

    I understand your security issues - but still you can make forum copy - remove most content and leave only some dummy messages. What we need to help you is to go to exact configuration on exact server and see what happens and find out why. vBET is used by many forums - such things happens nowhere else, so unfortunately we are not able to give you answer from hand even if we would be very happy to help you.

    About Define Homepage Aliases - we will made some experiments in this area. As I remember vBSEO freaks if redirect is made simply to "/", so we have to made internal redirect to index.php (it is not saw by browser) - defining your aliases would made redirection loop. We will check it again and see how to avoid this, but please remember that now you are talking about functionality of other mod and we are not responsible for its behavior - we give way to integrate with vBSEO, but still what happens inside of vBSEO it happens inside of vBSEO... Added in TODO list as to investigate this issue again. Also please try to define such aliases in htaccess under vBET rules - so it would give you 301 redirect avoiding leaks and vBET would be still able to work, since it would be before it not after (in vBSEO which would made 301 for vBET request). But please hold on with such experiments until we made vBET working fine on your forum.

  2. #12

    Default

    if i make changes to vbenterprisetranslator_seo.php I get a blank page

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

    Default

    At this moment the only thing which comes to my mind it is that by some way you have internal redirection loop. You come to vbenterprisetranslator_seo.php then it goes to vBSEO and vBSEO makes internal redirect again to vbenterprisetranslator_seo.php I do not know does it really happens, but this is my guess since I cannot check it. That would explain why you had redeclaring error and why after changes you get blank page now.

    If you have idea what could cause this (some vBSEO configuration) please correct it. Otherwise please go with installation and integration procedure one more time - step by step. Making sure that everything is set as it should be.
    If after this the issue still happens then we need access details to be able to give our support in this case. If not to real forum then to it's copy (can be without real threads data - we need your configuration).

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

    Default

    Great thanks for giving access to forum copy. Your users will be very glad knowing that you removed all their data in copy to save their privacy

    Issue solved
    I added this line to your vbenterprisetranslator_seo.php:
    Code:
    $_SERVER['REDIRECT_URL'] = '/vbseo.php';
    Also please note that you can set on vBSEO option: Force Forum Root as Homepage? So you will not have PageRank Leakage on your own forum links.

    And here comes another great news - it appears that after the change in vbenterprisetranslator_seo.php is is possible to use vBSEO option "Define Homepage Aliases" - it is just needed to modify first rule to:
    Code:
    RewriteRule ^/?(af|sq|ar|be|bg|ca|zh-CN|hr|cs|da|nl|en|et|tl|fi|fr|gl|de|el|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|vi|cy|yi)/$ vbenterprisetranslator_seo.php?vbet_lang=$1&redirected=/ [L,QSA]
    I will test it also on our 3 different forums with vBSEO. And if it will work there I will include this changes in official release

    Hope that you are very happy now

  5. #15

    Default

    Works!

    Perfect, thank you

Page 2 of 2 FirstFirst 12

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
  •