test
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • wan fadli Developer
    #168294

    Dear JA;

    After i finished my designed. I founded weird code appeared in my website at the top of the website. When i view page sourced, i founded this code:

    <link href=”/0″ <=”<” />
    <link href=”/1″ <=”<” />
    <link href=”/2″ <=”<” />

    but the problem is i can’t find the sourced of the problem and don’t know how to remove this code. I hope anybody can give me the solution to fixes this problem.

    demo live site : http://demo-htar.biossdcongress.com/
    template: JA Portfolio

    view the page sourced code and you will find the code..

    thanks..

    jooservices Friend
    #411361

    Hi
    Please update me your FTP account. I’ll try to find out this .
    Thank you
    Viet Vu

    wan fadli Developer
    #411370

    <em>@jooservices 266091 wrote:</em><blockquote>Hi
    Please update me your FTP account. I’ll try to find out this .
    Thank you
    Viet Vu</blockquote>

    I already PM you the details.. I really hope that you can help me this time..

    thank you.

    OR

    If anybody get the the solutions. Please reply my post

    thank you.

    jooservices Friend
    #411371

    Hi
    I’m sorry but possible with back-end access provide please ?
    Thank you
    Viet Vu

    wan fadli Developer
    #411373

    <em>@jooservices 266103 wrote:</em><blockquote>Hi
    I’m sorry but possible with back-end access provide please ?
    Thank you
    Viet Vu</blockquote>

    Dear jooservice;

    i PM you the backend access..

    thank you.

    jooservices Friend
    #411424

    <em>@wan fadli 266105 wrote:</em><blockquote>Dear jooservice;

    i PM you the backend access..

    thank you.</blockquote>

    Hi
    I’m here. Sorry actually i’ve not yet find out which error line code. But as far i can see, some thing used JDocument for adding and missed attributes.
    JDocumentRendererHead render head but w/o catched this case so they have trouble.


    $buffer .= $tab.'<link href="'.$link.'" '.$linkAtrr['relType'].'="'.$linkAtrr['relation'].'"';
    if ($temp = JArrayHelper::toString($linkAtrr['attribs'])) {
    $buffer .= ' '.$temp;
    }
    $buffer .= ' />'.$lnEnd;

    Actually i think this should be Joomla bug. They should catch a case missing attribs before render.
    If you allow i’ll make patch this for your site.
    This’s my patch


    if ( is_array($linkAtrr) ) {
    $buffer .= $tab.'<link href="'.$link.'" '.$linkAtrr['relType'].'="'.$linkAtrr['relation'].'"';
    if ($temp = JArrayHelper::toString($linkAtrr['attribs'])) {
    $buffer .= ' '.$temp;
    }
    $buffer .= ' />'.$lnEnd;
    }

    Thank you
    Viet Vu

    wan fadli Developer
    #411482

    <em>@jooservices 266167 wrote:</em><blockquote>Hi
    I’m here. Sorry actually i’ve not yet find out which error line code. But as far i can see, some thing used JDocument for adding and missed attributes.
    JDocumentRendererHead render head but w/o catched this case so they have trouble.


    $buffer .= $tab.'<link href="'.$link.'" '.$linkAtrr['relType'].'="'.$linkAtrr['relation'].'"';
    if ($temp = JArrayHelper::toString($linkAtrr['attribs'])) {
    $buffer .= ' '.$temp;
    }
    $buffer .= ' />'.$lnEnd;

    Actually i think this should be Joomla bug. They should catch a case missing attribs before render.
    If you allow i’ll make patch this for your site.
    This’s my patch


    if ( is_array($linkAtrr) ) {
    $buffer .= $tab.'<link href="'.$link.'" '.$linkAtrr['relType'].'="'.$linkAtrr['relation'].'"';
    if ($temp = JArrayHelper::toString($linkAtrr['attribs'])) {
    $buffer .= ' '.$temp;
    }
    $buffer .= ' />'.$lnEnd;
    }

    Thank you
    Viet Vu</blockquote>

    Dear Jooservice;

    thanks for your answer.. can i know which files and lines should i patch this code. ?

    thank you..

    jooservices Friend
    #411487

    Hi
    Please do with file


    libraries/joomla/document/html/renderer/head.php

    Line 97
    Thank you
    Viet Vu

    n6rej Friend
    #411573

    joo go file this with your diff patch in J! tracker plz.

    include test instruction on how to replicate and verify its fixed.

    jooservices Friend
    #411633

    <em>@n6rej 266368 wrote:</em><blockquote>joo go file this with your diff patch in J! tracker plz.

    include test instruction on how to replicate and verify its fixed.</blockquote>
    I hope i know how to report lol
    I’ll post it into my own site 🙂

    wan fadli Developer
    #411652

    Dear Jooservice and support team!

    problem solved..

    thank for the help… 😉

    jooservices Friend
    #411657

    Glad to hear that.
    Thank you
    Viet Vu

Viewing 12 posts - 1 through 12 (of 12 total)

This topic contains 12 replies, has 3 voices, and was last updated by  jooservices 13 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum