Results 1 to 7 of 7

php 5.3.3 and sitemap2.5

This is a discussion on php 5.3.3 and sitemap2.5 within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; Okay we had upgraded our php version recently and apparently after the upgrade the sitemap stopped working. It gave the ...

  1. #1
    Member Array
    Real Name
    wat3v3r
    Join Date
    Oct 2010
    Posts
    79
    Liked
    6 times

    Question php 5.3.3 and sitemap2.5

    Okay we had upgraded our php version recently and apparently after the upgrade the sitemap stopped working. It gave the following error:

    Code:
    XML parsing failed
    
    XML parsing failed: syntax error (Line: 1, Character: 0)
    
    Reparse document as HTML
    Error:
    missing root element
    First thing i did was contact my hosts tech team and they looked into it and replied back saying:

    Code:
    Since PHP version was upgraded to version 5.3.3 on the server, the following value will not work with it:
    
    +++++++++++
    set_magic_quotes_runtime(0);
    +++++++++++
    
    Hence, I have commented out the above in the file "/home/xxxx/public_html/forum/vbseo_sitemap/vbseo_getsitemap.php" to resolve the problem.
    And Indeed it started working normally again. But just to be on the safe side i thought i would ask here too if it affects the sitemaps in any way possible??

  2. #2
    vBSEO Staff Array Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,859
    Liked
    567 times
    Blog Entries
    2
    Hello, welcome to vBSEO .

    It doesn't make any difference in sitemap files creation, the "set_magic_quotes_runtime" has been deprecated on PHP 5.3.3. You can leave it commented out or you may apply the following changes:

    Find:

    PHP Code:
        error_reporting(E_ALL&~E_NOTICE); 
    Replace with:

    PHP Code:
        error_reporting(E_ALL&~E_NOTICE & ~8192); 
    Find (the commented line):

    PHP Code:
            set_magic_quotes_runtime(0); 
    Replace with:

    PHP Code:
            if(function_exists('ini_set'))
                
    ini_set('magic_quotes_runtime'0); 
    Best regards.
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


  3. #3
    Member Array
    Real Name
    wat3v3r
    Join Date
    Oct 2010
    Posts
    79
    Liked
    6 times
    Thanks

    ^is this above fix necessary ? Or can i just leave it commented out as it is now? If it doesn't affect the sitemaps, i would rather just let it be as it is.

  4. #4
    vBSEO Staff Array Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,859
    Liked
    567 times
    Blog Entries
    2
    No, it isn't neccesary .
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


  5. #5
    Member Array
    Real Name
    wat3v3r
    Join Date
    Oct 2010
    Posts
    79
    Liked
    6 times
    Alright, thanks for clarifying that. Between do you guys intend to update this add-on ? My Pings to Moreover.com always Fail ~_~

  6. #6
    vBSEO Staff Array Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,859
    Liked
    567 times
    Blog Entries
    2
    Moreover.com doesn't works as a SE anymore. It will be removed in vBSEO Sitemap 2.6 Gold (currently in stable beta stage).
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


  7. #7
    Member Array
    Real Name
    wat3v3r
    Join Date
    Oct 2010
    Posts
    79
    Liked
    6 times
    Ah okay then looking forward to the gold release.

Similar Threads

  1. ăÔßáÉ Ýě ĺÇß Vbseo sitemap2.5
    By taha007 in forum العربية
    Replies: 2
    Last Post: 02-21-2010, 12:25 PM

Posting Permissions

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