1. Attachments are working again! Check out this thread for more details and to report any other bugs.

Blank PriusChat pages? Remove the ?=highlight from end

Discussion in 'PriusChat Website Questions' started by Danny, Mar 14, 2005.

  1. Danny

    Danny Admin/Founder
    Staff Member

    Joined:
    Nov 24, 2003
    7,093
    2,107
    1,174
    Location:
    Charlotte, NC
    Vehicle:
    2013 Prius Plug-in
    Model:
    Plug-in Base
    PriusChatters -

    Sorry for this problem, I'm trying to find a fix for it. There are 2 temporary fixes:

    One is to either remove the ?=highlight directive from the end of the links. Thanks to mspencer for putting it so simply:

    "The problem seems to be the ?highlight= directive at the end of the URL, added by the search page.

    http://priuschat.com/forums/february-mpg-a...html?highlight=
    This URL gives me a blank page.

    http://priuschat.com/forums/february-mpg-a...ges-vt6756.html
    This URL gives me the page I wanted."

    You can also click on this orange paper icon which will take you to the newest post that you haven't read:

    [​IMG]

    And 2nd, zielin was nice enough to put together a quick FireFox fix using this extension:

    http://zielin.com/priuschat/priuschatfix.xpi

    To install, download the above xpi file and then literally drag the xpi file onto your Firefox window, then follow the installation instructions.

    I'm looking into the problem, but between many personal & professional issues my spare time has been limited recently.

    As always, I'll keep everyone updated.
     
  2. DaveinOlyWA

    DaveinOlyWA 3rd Time was Solariffic!!

    Joined:
    Apr 13, 2004
    15,140
    611
    0
    Location:
    South Puget Sound, WA
    Vehicle:
    2013 Nissan LEAF
    Model:
    Persona
    thanks for your help Danny, no rush as this can be easily worked around... as always, take care of your needs first.
     
  3. zielin

    zielin New Member

    Joined:
    Dec 17, 2004
    34
    0
    0
    Location:
    Highland, MI
    Vehicle:
    2009 Prius
    Model:
    N/A
    I did a search and it turns out there was a bug with versions 2.0.10 and earlier of phpBB that would allow someone to run a sql injection attack using the highlight parameter in the query string. I noticed that at the bottom of each page it says that prius chat is running version 2.0.13 (which is supposed to have included a fix for this bug). I'm guessing that when they introduced the fix for the original bug to disallow the sql injection attacks, they introduced a new bug which is causing the blank pages on priuschat. Just a guess on my part however.
    Sorry all I have is speculation and not a solution. phpBB is open source. Maybe if I'm feeling particularly motivated at some point I'll dive in and look at the code. I'm pretty sure the phpBB staff will come up with a fix before I find anything though.
     
  4. paprius4030

    paprius4030 My first Prius

    Joined:
    Aug 12, 2004
    2,077
    296
    0
    Location:
    York,Pa.
    Vehicle:
    2012 Prius
    Model:
    Two

    Uh???? No wonder i always have to ask my kids how to fix the computer LOL
     
  5. rohlrogge

    rohlrogge Rich

    Joined:
    Jan 4, 2004
    58
    1
    0
    Location:
    Long Island, NY
    Vehicle:
    2004 Prius
    Danny - Just checked another forum that uses a similar presentation format and noticed a slight difference. Instead of removing the ?highlight= from end just replace the ? with an &, in another words the ending should be &highlight= instead of ?highlight=. Maybe it's a simple scripting issue!!
     
  6. Brian

    Brian Member

    Joined:
    Feb 5, 2004
    480
    0
    0
    Location:
    Bakersfield
    Vehicle:
    2004 Prius
    Model:
    II
    Yeah, thanks for the help. I was woundering why none of my PC's would let me onto the different topics.
     
  7. craigcush

    craigcush Member

    Joined:
    Mar 7, 2005
    157
    1
    0
    Location:
    Sedona, Az
    At first I thought is was the Mac Safari browser so I tried Firefox, still blank. Then I thought it was Just another Mac-unfriendly site problem.

    Glad to find these posts!

    Still have a width problem, even with a wide screen.

    New owner, still learning
    Craig C.
     
  8. Areometer

    Areometer Silver Business Sponsor

    Joined:
    Oct 31, 2004
    578
    6
    0
    Location:
    Tyngsboro, MA
    Vehicle:
    2005 Prius
    Danny, while you're at it, can you indeed minimize the width of this forum please? The horizontal bar always appears and that's quite annoying. I believe that if you put the ad banner on a new line all by itself, the horizontal bar will not show.

    Thanks for your great work.

    And thanks to Craig who mentions the width issue.
     
  9. DaveinOlyWA

    DaveinOlyWA 3rd Time was Solariffic!!

    Joined:
    Apr 13, 2004
    15,140
    611
    0
    Location:
    South Puget Sound, WA
    Vehicle:
    2013 Nissan LEAF
    Model:
    Persona
    forcing a width would be tough especially since most browsers wont line break things like URLs
     
  10. zielin

    zielin New Member

    Joined:
    Dec 17, 2004
    34
    0
    0
    Location:
    Highland, MI
    Vehicle:
    2009 Prius
    Model:
    N/A
    I figured it would be a fun little project to learn how to create a firefox extension. I've been playing around with it for a little while and came up with an extension that will automatically replace the ? with an & in the url on the priuschat site to fix the problem this thread describes. For those of you who use firefox and would like to try it out I've posted it here.
     
  11. duanerw

    duanerw senior member

    Joined:
    Feb 21, 2005
    140
    8
    0
    Location:
    lexington ky
    Vehicle:
    2013 Prius v wagon
    Model:
    Five
    great works with netscape also. thank you thank you thank you
    it removed the ? and adds the &..........
     
  12. tag

    tag Senior Member

    Joined:
    Nov 26, 2003
    2,526
    19
    0
    Location:
    Chicago
    Works for me. Thanks, zielin!
     
  13. Danny

    Danny Admin/Founder
    Staff Member

    Joined:
    Nov 24, 2003
    7,093
    2,107
    1,174
    Location:
    Charlotte, NC
    Vehicle:
    2013 Prius Plug-in
    Model:
    Plug-in Base
    zielin -

    Thank you so much for putting that extension together. I should have had this problem fixed by now, but am still looking for the free time to actually sit down at my computer for more than 3 minutes at home.

    I have updated the OP with the link to the extension/fix. Thanks again!

    Danny
     
  14. zielin

    zielin New Member

    Joined:
    Dec 17, 2004
    34
    0
    0
    Location:
    Highland, MI
    Vehicle:
    2009 Prius
    Model:
    N/A
    Anything as an excuse to put off doing my taxes...
    I wrote a plugin for IE too, but the installer package isn't working right. If I can figure it out I'll post that one here too.
     
  15. victor

    victor New Member

    Joined:
    May 18, 2004
    414
    2
    0
    Location:
    Gilching Bavaria Germany, & Drapanos, Crete, G
    Damm, cant use it as I dont have Admin rights :(
     
  16. zielin

    zielin New Member

    Joined:
    Dec 17, 2004
    34
    0
    0
    Location:
    Highland, MI
    Vehicle:
    2009 Prius
    Model:
    N/A
    Sweet, I got the installer package working. If you use Internet Explorer and want to give a try, I posted the installer package here. You will need to have the .NET framework installed in order for it to work. This is something you most likely already have if you do regular windows updates. I've only tested this with Windows XP so far, but I think it should work with other versions of Windows.
    I also posted the source code here incase any of you are interested in how it works. It was fun figuring out how to put it together. I'm such a nerd.
     
  17. mikepaul

    mikepaul Senior Member

    Joined:
    Dec 2, 2003
    1,763
    6
    0
    Location:
    Columbia, SC
    Vehicle:
    2004 Prius
    Very nice. Thanks!...

    Oh, Windows 2000 Professional...
     
  18. DaveinOlyWA

    DaveinOlyWA 3rd Time was Solariffic!!

    Joined:
    Apr 13, 2004
    15,140
    611
    0
    Location:
    South Puget Sound, WA
    Vehicle:
    2013 Nissan LEAF
    Model:
    Persona
    zielin thanks for the help. makes me wonder what you do to mark time in life.

    also kinda surprised no one has yet but here is some points...

    now if you can figure out a program that determines what the points are good for...
     
  19. victor

    victor New Member

    Joined:
    May 18, 2004
    414
    2
    0
    Location:
    Gilching Bavaria Germany, & Drapanos, Crete, G
    100 points for you Zielin, even though I cant use the fixes :(

    bloody system admins.... :guns: (Mine not PriusChats !)
     
  20. DaveG

    DaveG Member

    Joined:
    Jan 20, 2004
    806
    6
    0
    Location:
    Vancouver, BC
    Vehicle:
    2004 Prius
    <div class='quotetop'>QUOTE(zielin\";p=\"76422)</div>
    Great work on the firefox plugin. I was pondering doing exactly this sort of thing myself, but I don't know anything much about Java :p.

    Dave