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 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: white page when translating rss feeds

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

    Default

    It is your decision and we will honor it even it it makes things more complicated Please remember that you always can just make copy of forum and give us access to test instance, not real forum.

    Please fallow instructions which we already gave you. You do not have to set echo after each line - find how binary search is working. Put some in the beginning, some at the end, some in the middle. Check which are shown which not, put few between last one and the one which didn't shown, and so on. This way you will determine where code breaks. Another hints - use URL for RSS2 and set echos in functions for RSS2 (lot of code is not used at all). As I already wrote you - we know our code and know how and where to look efficiently. For you can be easier if you just find occurrences of RSS2 in code. Please start from the beginning (look in hints before) - it can be something before evaluation goes to RSS2 specific code.

    Also before all of that please check do you have any other plugins working on hook external_complete and disable it temporarily to check does some of it causes conflict.

    Please let us know about your results.

  2. #12
    Senior Member
    Join Date
    Feb 2010
    Posts
    210

    Default

    I now have it working, seems i had a plugin disabled by mistake.

    But the translated feeds do not validate, lots of errors.

    Feed Validator Results: http://www.computer-juice.com/forums/zh-CN/external.php?type=RSS2

    And yours here are bad;

    Feed Validator Results: http://www.vbenterprisetranslator.com/forum/zh-CN/external.php?type=RSS2

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

    Default

    As I see those are valid and some hints are to improve.

    Please note that our RSS is OK. 1st issue is about content which about what is in post not on our side. 2nd is about how vBulletin generates RSS channels - just note that booth happens on not translated RSS channel, when vBET does nothing.

    In your case there really seems to be an issue. It looks like wrong header is send. I'm going to code right now to look for issue - should give you quick fix in a while

  4. #14
    Senior Member
    Join Date
    Feb 2010
    Posts
    210

    Default

    My feed has issue with encoding, special characters and 500 server error code.

    Your feed still gives 500 server error; which is bad.

    This feed does not validate.

    Server returned HTTP Error 500: Internal Server Error

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

    Default

    Thanks for finding this bug For solution - see quick fix below - it will be included in next release.

    Quick fix:
    1. Find plugin named "Translate RSS" and go to edit it.
    2. Find there:
    PHP Code:
    vbet_external_complete(&$output); 
    3. Replace by:
    PHP Code:
    vbet_external_complete(&$output, &$headers); 
    4. Save changes
    5. Edit file /includes/vbenterprisetranslator_functions_hooks.php
    6. Find there:
    PHP Code:
    function vbet_external_complete(&$output) { 
    7. Replace by:
    PHP Code:
    function vbet_external_complete(&$output, &$headers) { 
    8. Upload changed fie to server.

    Please let us know did it solve your RSS issues. This solution was tested on our test forums and solves encoding issue.

  6. #16

  7. #17
    Michał Podbielski (vBET Staff)
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    You are looking right now on cached content (RSS cache is handled by vBulletin).

    I checked your RSS for /ar/ and it is fine. zh-CN will be fine after cache expire Please just check it on something which was not cached before (like Arabic translation) and let us know the results.

  8. #18
    Senior Member
    Join Date
    Feb 2010
    Posts
    210

    Default

    Also, another bug, in your RSS too, if you look into validation scroll down, all the links are pointing to the English pages, not the new language pages, so RSS page is not even linking to right threads!

  9. #19
    Michał Podbielski (vBET Staff)
    Join Date
    Oct 2009
    Posts
    3,037

    Default

    Quote Originally Posted by Snake View Post
    Also, another bug, in your RSS too, if you look into validation scroll down, all the links are pointing to the English pages, not the new language pages, so RSS page is not even linking to right threads!
    As I see on your RSS channel for Arabic that everything is OK. Maybe I miss something. Please send exact RSS channel URL to your forum, where issue exists and give exact URL which is wrong in this channel.

  10. #20
    Senior Member
    Join Date
    Feb 2010
    Posts
    210

    Default

    Ok, but, still 500 error, google bot will not like 500 error header!

    Also the links are in this format.

    ***.computer-juice.com/forums/bg/showthread.php?t=28848&goto=newpost

    Shouldn't they be seo'd urls?

Page 2 of 3 FirstFirst 123 LastLast

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
  •