Zikula: A Flexible Open Source Content Management System
home | forum | international support | contact us

Support Forum

Start ::  PostNuke 0.7 Support ::  Tutorials and Solutions ::  [Solution] Weblinks Open Blank Page!

Moderated by: Support Team

Bottom
[Solution] Weblinks Open Blank Page!

  • Link to this postingPosted: 19.04.2005, 05:20
    Profile
    Oras
    rank:
    Freshman Freshman
    registered:
     April 2005
    Status:
    offline
    last visit:
    19.04.05
    Posts:
    3
    Hi pNuke Community ...
    I had this problem with one of clients ... Weblinks open Blank Page when clicking on a link!
    Solution:
    open the file wl-util.php from pn/modules/web_links/
    search for: function visit($lid)

    now scroll down a little ... U'll find:
    Code
    header('Location: '.$url);

    repalce it with:
    Code
    echo "<meta http-equiv=\"refresh\" content=\"1; URL=".$url."\">";

    Save ... try the Web Links module now icon_smile
    Best Regards
    Oras
  • Link to this postingPosted: 20.04.2005, 03:07
    Profile Homepage
    alarconcepts
    rank:
    Professional Professional
    registered:
     April 2004
    Status:
    offline
    last visit:
    21.01.08
    Posts:
    2723
    There's a forum for "solutions" ... this one is for "support" ... hence the title, "Support"...

    -----
    AlarConcepts
  • Link to this postingPosted: 20.04.2005, 12:09
    Profile Homepage
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    14.08.08
    Posts:
    13407
    So I'll move it, but it's a helpful post for some I expect icon_wink

    -----
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Link to this postingPosted: 20.04.2005, 16:19
    Profile Homepage
    alarconcepts
    rank:
    Professional Professional
    registered:
     April 2004
    Status:
    offline
    last visit:
    21.01.08
    Posts:
    2723
    Yes, most likely it will be.

    -----
    AlarConcepts
  • Link to this postingPosted: 20.04.2005, 16:47
    Profile Homepage
    larsneo
    rank:
    Software Foundation Software Foundation
    registered:
     
    Status:
    offline
    last visit:
    07.08.08
    Posts:
    4470
    never heard about this prob before - can you drop informations about the enviroment (php/webserver)?

    anyway - due to some strange behaviour of search-engines (aka 'hijacking') one should use a 302 header when redirecting (fixed for upcoming .76rc4)
    Code
    header('HTTP/1.1 301 Moved Permanently');
        header('Location: '.$url);

    -----
    regards from germany
    ..::[Zikula Application Framework]::.. ..::[SEO-Blog]::.. ..::[CMS Sicherheit]::..
  • Link to this postingPosted: 22.05.2005, 19:08
    Profile Homepage
    AmmoDump
    rank:
    Professional Professional
    registered:
     December 2003
    Status:
    online
    Posts:
    2901
    Hey larsneo,

    Brand new fresh install of .76rc4, and I have the mesterious blank pages... icon_smile , but this is a first time for me...



    (added note: rc4B)

    -----
    David Pahl
    Zikula Support Team

  • Link to this postingPosted: 18.06.2005, 01:08
    Profile
    raskolnikov
    rank:
    Helper Helper
    registered:
     February 2005
    Status:
    offline
    last visit:
    24.01.06
    Posts:
    116
    I had the Blank Page problem with a modified theme. -> .750

    I switched out this line in the pnAPI.php file:

    Code
    header("Location: $redirecturl");


    with what Oras stated earlier:

    Code
    echo "<meta http-equiv=\"refresh\" content=\"1; URL=".$redirecturl."\">";


    and everything seems to work fine.

    thanks for the post

Start ::  PostNuke 0.7 Support ::  Tutorials and Solutions ::  [Solution] Weblinks Open Blank Page!

Main Menu

Extensions Database

Documentation

Development

Login





 


 Log in Problems?
 New User? Sign Up!

Donate to Zikula