test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • guywheels Friend
    #135186

    Hi

    I was trying to add google analytics to my website. Logged in and selected edit HTML. added code supplied by google after “/body tag” as instructed.

    When trying to open my site via internet all i get is a blank page.

    Logging on to the backend to try and remove code inserted I get the following error when trying to “edit HTML” of template

    Warning: fread() [function.fread]: Length parameter must be greater than 0 in /home/XXXXXXXXX/public_html/administrator/components/com_templates/admin.templates.php on line 301

    When I check the above this is what I have
    if ( $fp = fopen( $file, ‘r’ ) ) {
    $content = fread( $fp, filesize( $file ) );
    $content = htmlspecialchars( $content );

    HTML_templates::editTemplateSource( $p_tname, $content, $option, $client );
    } else {
    mosRedirect( ‘index2.php?option=’. $option .’&client=’. $client, ‘Operation Failed: Could not open’. $file );
    }
    }

    Please your help will be appreciated

    Guy

    guywheels Friend
    #278849

    You mean to tell me there is nobody out there that can help with this issue!

    bennitos Friend
    #278854

    I replied on your other topic

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

This topic contains 3 replies, has 2 voices, and was last updated by  bennitos 16 years, 1 month ago.

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