Results 1 to 7 of 7

Thread: Pausing RSS Scroller

  1. #1
    Join Date
    Aug 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Pausing RSS Scroller

    1) Script Title: pausing RSS scroller

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...pausescroller/

    3) Describe problem: "I gave up trying to fetch feed" http://servicesareus.com/default.htm

    I've searched previous posts; but the resolutions aren't working for me.

    lastrss.php, rsspausescroller.js, scrollbridge.php and the cache directory are here in the same subdirectory (rss/lastrss):

    http://servicesareus.com/rss/lastrss...usescroller.js
    http://servicesareus.com/rss/lastrss/scrollerbridge.php
    http://servicesareus.com/rss/lastrss/lastrss.php

    I'm using plesk 8.1.1 for hosting with PHP V5.2.0 enabled

    <Scrollbridge.php>
    // Define your list of RSS URLs- "RSS_id"=> "URL to RSS feed"
    $rsslist=array(
    "ServicesAreUs.com" => "http://www.servicesareus.com/rss/hbb-rss.xml",
    // include lastRSS
    include "lastrss.php";

    rsspausescroller.js
    //URL to "scrollerbridge.php" on your server:
    var bridgepath="scrollerbridge.php"

    demo.htm
    <script type="text/javascript" src="rss/lastrss/rsspausescroller.js">
    since my default.htm page is at the root (servicesareus.com/default.htm)

    there are no files in my cache directory. I did see something to the effect of CHMOD to 777 in another post but I wasn't sure what that meant.

    I'm also unable to view my cache directory via a browser (403 forbidden) so I know I need to set a permission on the server but I'm not sure which.

    I feel like I only have a small change to make here (I hope). I'm only viewing via I.E. 7


    Thank you,

    Will Moore
    Last edited by GRODT; 09-20-2007 at 01:24 PM. Reason: more info

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    A couple of problems I see on your page:

    1) Make sure the references to the external files for this script are all correct. For example:

    http://servicesareus.com/rss/lastrss...usescroller.js (I can't check, since it's password protected)

    I say this because it appears you've changed the default location of some files for this script. rsspausescroller.js by default exists above the /lastrss directory for example.

    2) The cache directory should be chmodded 777 so it's read/writable. You can do this via ftp.

  3. #3
    Join Date
    Aug 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I added R, W to the cache directory permissions.

    Is changing the cache direcory permissions to R,W the same as"chmodded 777"?

    I removed the authentication (not sure how that happen, oh yeah, I was messing with the security settings and forgot to undo my changes)

    By now anyone can tell I'm a novas (not for long).


    I moved rsspausescroller.js to the "rss" directory. and modified:
    var bridgepath="lastrss/scrollerbridge.php"

    I get a "file download-security warning(do you want to open or save this file)" window it wants me to download the script instead of moving to scrollerbridge.php for instructions on what to return. (I guess somewhere I'm telling it to do that; I just can't figure out where).
    http://servicesareus.com/rss/lastrss...usescroller.js

    I'm permission illiterate... In the cache folder I set up ftp_subaccounts,IUSR_servicesareus, and servicesareus with R,W.


    I'm still getting the "I give up..." message.


    Thanks,
    Will Moore

  4. #4
    Join Date
    Aug 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ahhh man, I had it working for a second. I moved rsspausescroller.js to the root of Servicesareus.com (http://servicesareus.com/rsspausscroller.js) and it worked.

    ....then I started to screw around with the css settings and now it cannot fetch the feed again...:-(

    and I now get an "invalid argument" {error on page, line 71, bla bla bla}... Argggg!


    I see files RssCache (Unmatched) files but I get a 404 when I try to view in the browser.???
    Last edited by GRODT; 09-21-2007 at 05:23 PM.

  5. #5
    Join Date
    Aug 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    This is crazy, I refreshed my browser and the feed started scrolling; I refreshed it a second time and it did not again. I hadn't made any server changes, only refresh.


    the rsscache file on the server is a binary file that I cannot open or view.

    Works fine in Firefox.

    Conflict with other script on the page maybe, if so how do I tell? Process of elimiation (I hope not).



    Thanks again,
    Will Moore
    Last edited by GRODT; 09-21-2007 at 07:28 PM.

  6. #6
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    I just tested your page in Firefox as well, and it seems to be working properly. There are no other scripts on your page that could conflict with this one as far as I can see.

    Is changing the cache direcory permissions to R,W the same as"chmodded 777"?
    Actually, no. 777 is R,W,X.

    One script you may want to consider using in place of this one is gAjax RSS Scroller. The RSS feeds are hosted for you, so you don't have to worry about any of this.

  7. #7
    Join Date
    Aug 2007
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thanks,

    Quote Originally Posted by ddadmin View Post
    Actually, no. 777 is R,W,X.

    A script you may want to consider using in place of this one is gAjax RSS Scroller. The RSS feeds are hosted for you, so you don't have to worry about any of this.

    I've worked so hard on this one . I will try the gAjax script on my Travel Website .


    Thanks again,
    Will Moore

Bookmarks

Posting Permissions

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