Results 1 to 11 of 11

Thread: Help needed

  1. #1
    fish4carp is offline Registered User
    Join Date
    Jul 2006
    Posts
    62

    Default Help needed

    Hi

    My server went down at the weekend and now when I log into admin I get this error

    Fatal error: Call to a member function Fields() on a non-object in /home/xxxxxxx/public_html/admin/summary.php on line 41

    Any ideas as to why.

    Also just noticed another error on my other sites

    Fatal error: Call to a member function FetchRow() on a non-object in /home/xxxxxxx/public_html/lib/link.class.php on line 138

    On my Fish4Carp site I have errors

    Warning: fopen(./cache/rss_0496857588b79370cf5e94d421cc2a93.cache) [function.fopen]: failed to open stream: Permission denied in /home/xxxxxxxx/public_html/lib/rss.class.php on line 81

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/xxxxxxxx/public_html/lib/rss.class.php on line 82

    Warning: fclose(): supplied argument is not a valid stream resource in /home/xxxxxxxx/public_html/lib/rss.class.php on line 83

    And

    Warning: fopen(./cache/rss_aa889fa653730b08840ef7c052366984.cache) [function.fopen]: failed to open stream: Permission denied in /home/xxxxxxxx/public_html/lib/rss.class.php on line 81

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/xxxxxxxx/public_html/lib/rss.class.php on line 82

    Warning: fclose(): supplied argument is not a valid stream resource in /home/xxxxxxxx/public_html/lib/rss.class.php on line 83

    Thanks

    Roger
    Last edited by fish4carp; 02-20-2008 at 04:36 AM.

  2. #2
    inspireme is offline Active Member
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    clear your cache should solve some of those errors. I think the summary.php is because you have my banner mod installed previously - have you re-created the database tables for the mod?
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  3. #3
    Bruceper is offline Active Member
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    fopen and fwrite errors are because permissions aren't set correctly. Check for write permissions (777) on the /cache/ directory and as inspireme said, clear the cache folder.

  4. #4
    fish4carp is offline Registered User
    Join Date
    Jul 2006
    Posts
    62

    Default

    Hi Guys

    Tried all that but still getting error message (see below) on sites

    Fatal error: Call to a member function FetchRow() on a non-object in /home/xxxxxx/public_html/lib/link.class.php on line 138

    Also still getting Fatal error: Call to a member function Fields() on a non-object in /home/xxxxxx/public_html/admin/summary.php on line 53 when in admin.

    Roger
    Last edited by fish4carp; 02-20-2008 at 04:19 PM.

  5. #5
    Bruceper is offline Active Member
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    So what changed on the server? Were you always running php 5.2.4 or is that the reason for the downtime?

  6. #6
    fish4carp is offline Registered User
    Join Date
    Jul 2006
    Posts
    62

    Default

    Hi

    My hosting company server crashed big time at the weekend, as far as I know its always been running php 5.2.4

    Have a look at http://www.fish4pike.co.uk/ then scroll to bottom left.

    Same with other sites with admin also.

    Roger

  7. #7
    Bruceper is offline Active Member
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    If nothing changed then it should be working as it was before the crash. But of course that's not the case, so something did in fact change.

    I have no idea what the errors are being caused by to be honest, other than some type of php configuration that has changed.

    What comes after your tags on the fish4pike site?

    The only strange configuration I see is open_basedir, but I don't think that would cause the issue.

  8. #8
    fish4carp is offline Registered User
    Join Date
    Jul 2006
    Posts
    62

    Default

    Hi Bruce

    I have spoken to my hosting company and they say they are still running php 5.2.4 and its never changed.

    Its funny that all 4 sites have the same problem.

    Roger

  9. #9
    FSGDAG's Avatar
    FSGDAG is offline Moderator
    Join Date
    May 2007
    Location
    NJ, United States
    Posts
    1,651

    Default

    Quote Originally Posted by fish4carp View Post
    Its funny that all 4 sites have the same problem.

    Roger
    Yeah... That kinda tells me that its more than likely a server problem. Might not be from a different PHP version, but more than likely a configuration in PHP thats different.
    FSGDAG | IndexU Hosting | Owner
    Website | NiceCoder Script Hosting and More! | Web4URL is For Sale!
    Follow Us On Twitter | FaceBook Profile | YouTube Videos

  10. #10
    inspireme is offline Active Member
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    how did you restore the sites? from a cpanel backup?
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  11. #11
    fish4carp is offline Registered User
    Join Date
    Jul 2006
    Posts
    62

    Default

    Hi inspireme

    I got my hosting company to sort out all the problems it was an issue with cPanel that caused the servers to go down so I think they used backups to restore my sites.

    The first restore failed due to corrupt databases.

    Roger

Similar Threads

  1. Help Needed Urgently
    By jovi in forum v5.x
    Replies: 10
    Last Post: 08-19-2006, 11:24 PM
  2. Reciprocal URL Not Needed !
    By althahabi in forum v5.x
    Replies: 2
    Last Post: 01-22-2006, 08:38 AM
  3. Help needed
    By 0870711 in forum v5.x
    Replies: 0
    Last Post: 09-06-2005, 06:37 PM
  4. installation Help Needed
    By exaltvenkat in forum v5.x
    Replies: 2
    Last Post: 07-15-2005, 01:42 PM
  5. No Url Needed?
    By ezykiwi in forum v5.x
    Replies: 1
    Last Post: 08-07-2004, 05:24 AM

Posting Permissions

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