1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Need HELP! Forum give blank page.

Discussion in 'PHP' started by proxywhereabouts, Sep 30, 2009.

  1. #1
    I'm using mybb for my forum. Everything went very well until today.
    Last night, I replied to messages and threads and even deleted spam posts. I woke up today only to see blank page whenever I go to the forum.

    I can access forum admincp but can't browse the forum. I have no idea of what happen nor have any solution for this issue. I checked the file permission and everything seems intact and no changes. Files are 644.

    Can anyone tell me what is going wrong?
    To see forum, please go to rsmaker.com and click on "forum" tab.
     
    proxywhereabouts, Sep 30, 2009 IP
  2. superdav42

    superdav42 Active Member

    Messages:
    125
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #2
    I don't know what the problem is but it'll probably tell you in your error log. If PHP is getting some parse error or something like that it'll just show nothing like this and you can find what the error is in the log. The exact location of it depends on what's in your php.ini. but usually you'll find it in a file called error_log in the same directory as your index.php.
     
    superdav42, Sep 30, 2009 IP
  3. proxywhereabouts

    proxywhereabouts Notable Member

    Messages:
    4,027
    Likes Received:
    110
    Best Answers:
    0
    Trophy Points:
    200
    #3
    I checked, no error_log in that directory.
    To add to the weirdness, I can't FTP to the site. But, this is my ISP issue as my friend could do that just fine.
    Now, I'm stuck without any solution. Anyone can help?
     
    proxywhereabouts, Oct 1, 2009 IP
  4. pixmania

    pixmania Peon

    Messages:
    229
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Ive had this problem before with many types of forums, my solution was to open my phpmyadmin and empty out the sessions table.
     
    pixmania, Oct 1, 2009 IP
  5. proxywhereabouts

    proxywhereabouts Notable Member

    Messages:
    4,027
    Likes Received:
    110
    Best Answers:
    0
    Trophy Points:
    200
    #5
    I fed up with the problem. So, I went to move all files into new folder.
    Reupload and reinstall new forum.
    Drop the tables of the new forum database
    import the old database.

    Now it works. I suspect it might have something to do with either broken plugins or someone getting into the forum. Now everything is ok.
     
    proxywhereabouts, Oct 1, 2009 IP
  6. pixmania

    pixmania Peon

    Messages:
    229
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    so you don't know the answer, you didn't try the sessions table before you wasted your time and ours posting this thread.
     
    pixmania, Oct 1, 2009 IP
  7. proxywhereabouts

    proxywhereabouts Notable Member

    Messages:
    4,027
    Likes Received:
    110
    Best Answers:
    0
    Trophy Points:
    200
    #7
    Wasting? Honestly, when you have an active forum and got problem with it, do you still want to experiment it? I prefer to have the problem sorted out as soon as possible and only worry about the cause later using all the files and database that I backup earlier to reproduce the same error.

    On my local server, I reproduce this same error and like what your "precious" advice suggests, I did clear the session table and there is nothing happened after that. Still got blank page.
    Really sorry for wasting your time here.
     
    Last edited: Oct 1, 2009
    proxywhereabouts, Oct 1, 2009 IP
  8. szalinski

    szalinski Peon

    Messages:
    341
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #8
    yes you're right, i hate problems that are solved instantaneously without understanding 'why it worked'. anyway he had to get the forum up as soon as possible, as unfortunate as it is.
     
    szalinski, Mar 16, 2010 IP
  9. Bagi Zoltán

    Bagi Zoltán Well-Known Member

    Messages:
    364
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    110
    #9
    I think you migh find the root cause of the problem increasing the error reporting level. If you add this code snippet
    ini_set('display_errors', 1);
    Code (markup):
    to the directoryindex file may help you point to the right direction.
    Thanks
     
    Bagi Zoltán, Mar 16, 2010 IP
  10. iraqzajil

    iraqzajil Peon

    Messages:
    64
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Agreed with the Final Solution
    I think that he also become the solution to this problem
     
    iraqzajil, Mar 16, 2010 IP
  11. proxywhereabouts

    proxywhereabouts Notable Member

    Messages:
    4,027
    Likes Received:
    110
    Best Answers:
    0
    Trophy Points:
    200
    #11
    The problem was solved by one of the staff over mybb. I have to reupload the includes folder to make it work. So, it does works.
    Thanks for all the help.
     
    proxywhereabouts, Mar 21, 2010 IP