Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: rssbox/outputbody.php function get_permalink()

  1. #1
    Join Date
    Dec 2012
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question rssbox/outputbody.php function get_permalink()

    1) Script Title:

    RSS Display Box

    2) Script URL (on DD):

    http://www.dynamicdrive.com/dynamici...ybox/index.htm

    3) Describe problem:

    After moving my website to php v5.3.3 I am getting:
    PHP Fatal error: Call to a member function get_permalink() on a non-object in /home/website/html/misc/rss/rssbox/outputbody.php on line 11

    I've tried it with just the stock demo package and the same thing. Seems to be a php 5.3 syntax issue. Any ideas?

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Does the "rssbox/cache/" folder definitely have read + write permissions? Double check that its set to either 777 or 755 and see if it makes a difference.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  3. #3
    Join Date
    Dec 2012
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Beverleyh View Post
    Does the "rssbox/cache/" folder definitely have read + write permissions? Double check that its set to either 777 or 755 and see if it makes a difference.
    Yes the folder "rssbox/cache/" is set correctly to 777
    As I said above trying to trouble shoot this with just the demo package.

    Thanks
    Last edited by tradenet; 12-28-2012 at 04:34 PM.

  4. #4
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Ok just checking - regardless of whether you're using the demo pack straight out of the box or not, the cache folder will not have the correct permissions unless you set it to have them (or your web host creates new folders automatically with 777/755 permissions).

    I'm not at a computer at the moment so I can't check at this side but once I am I'll have a play on a php5 server to see what happens for me.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  5. #5
    Join Date
    Dec 2012
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    OK thanks, I've had this package working fine for couple years on a php v 5.2 install, however once I moved to php v5.3.3 the package broke.

    Quote Originally Posted by Beverleyh View Post
    Ok just checking - regardless of whether you're using the demo pack straight out of the box or not, the cache folder will not have the correct permissions unless you set it to have them (or your web host creates new folders automatically with 777/755 permissions).

    I'm not at a computer at the moment so I can't check at this side but once I am I'll have a play on a php5 server to see what happens for me.

  6. #6
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    I've just tested on my web host running php 5.3.6 and it works fine - granted I tested it on an internally hosted xml file (I dont have TCP outbound connections enabled at present so I know the feeds from external news sites wont work until I ask my webhost to allow them). Sorry I couldnt be any more help. I dont have access to a server running 5.3.3 so I am unable to recreate the error.
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  7. #7
    Join Date
    Dec 2012
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Well that's just odd. I installed the same demo package in under a minute on a machine running php 5.2 and it works fine. But not with the machine running 5.3.3 ...grrr

  8. #8
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    Do you have the option to choose which version of php you run on your web hosts server? With mine, I have one account running php 4 (for old legacy websites) but there's an option to switch to php 5.3.6 or a beta php 6. Then on my main account I can switch between php 5.2.? and 5.3.6 - they leave out 5.3.3, maybe for good reason?

    Maybe you could ask them to upgrade?
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

  9. #9
    Join Date
    Dec 2012
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yeah well I'll have to look for a distro for Centos 6 then.

  10. #10
    Join Date
    Dec 2012
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Funny thing I upgraded to php v 5.3.19 and same error! Something is very strange. And the other thing is the distribution or package the same you are using at:
    http://www.dynamicdrive.com/dynamici...ybox/index.htm ??

    I have moved over a lot of sites now and this is the only script so far giving me some grief.
    Last edited by tradenet; 12-29-2012 at 02:58 AM.

Similar Threads

  1. rssbox changing time
    By drapet in forum PHP
    Replies: 10
    Last Post: 10-07-2010, 03:28 AM
  2. RSSBox won't render content
    By beck.thomson in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 09-13-2008, 02:09 AM
  3. RSSBOX: One of two RSS feeds come up
    By Julia v in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 01-17-2008, 01:54 AM
  4. Trouble with rssbox
    By mikeperlman in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 04-16-2007, 10:04 AM
  5. rssbox
    By voicesfrombeyond in forum Dynamic Drive scripts help
    Replies: 16
    Last Post: 01-17-2007, 12:12 AM

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
  •