Forum only loads as a white page

Status
Not open for further replies.

bositman

New Member
Messages
6
Reaction score
0
Points
0
I encountered another old thread with the same problem,but the thread starter said he resolved it without actually posting how...so I'm opening this new thread to prevent reviving the old one.
I'm using mybb and since I was having problems with eval I requested an upgrade of my PHP version to intermediate which was accepted and upgraded.
It has been more than 48 hours after the upgrade and now instead of the suhosin error I'm just getting a white page when I visit my forums url (http://dragonsworn.x10hosting.com/forums/)
Anyone has any ideas? Thanks in advance
 

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
According to the page source, there is nothing on that page, have you tried reinstalling the forums? Or looking if its the correct page to be displaying?
 

bositman

New Member
Messages
6
Reaction score
0
Points
0
Well the forum sure is there,but for some strange reason it just isn't displaying (you could try adding index.php at the end of that address,same thing)
Also,I'm not keen on reinstalling the forums since no backup has been made and I will lose all of its' content...
 

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
In the page that contains the php code for the forums, is there anything in there? Because like i said, according to what i see, it's a blank page, no code inside it.
 

Jesse

Active Member
Messages
1,360
Reaction score
0
Points
36
I encountered another old thread with the same problem,but the thread starter said he resolved it without actually posting how...so I'm opening this new thread to prevent reviving the old one.
I'm using mybb and since I was having problems with eval I requested an upgrade of my PHP version to intermediate which was accepted and upgraded.
It has been more than 48 hours after the upgrade and now instead of the suhosin error I'm just getting a white page when I visit my forums url (http://dragonsworn.x10hosting.com/forums/)
Anyone has any ideas? Thanks in advance

I think there is a problem with the forum that you installed. I recommend you use phpbb or SMF for forums. it is more easier.
 

aneotoena

New Member
Messages
798
Reaction score
0
Points
0
In the page that contains the php code for the forums, is there anything in there? Because like i said, according to what i see, it's a blank page, no code inside it.

You can't actually see the source code of a php file, usually when php encounters an error it just goes to "die" and doesn't echo anything = blank page.

Well the forum sure is there,but for some strange reason it just isn't displaying (you could try adding index.php at the end of that address,same thing)
Also,I'm not keen on reinstalling the forums since no backup has been made and I will lose all of its' content...

You'll have to enable debug mode in your config file then try again and see if it shows you an error. I'm pretty sure actually it's not a server problem now but a code problem.
 
Last edited:

bositman

New Member
Messages
6
Reaction score
0
Points
0
Err how can it be a code problem when before the php upgrade (and the eval errors) it was working fine? :p Anyway I guess I'll try installing again and pray that the backup I made will work...
I'm also having problems with phpmyadmin...for some reason cpanel logs me in as a user with the username of my cpanel,which has no privileges whatsoever in any database! Anyone know how to force it to give me a login screen so I'll login with some database user I've created who actually has privileges?
 
Last edited:

aneotoena

New Member
Messages
798
Reaction score
0
Points
0
Your user in every database should always be yourcpaneluser_somethingelse.

Dunno exactly what are you asking but in phpmyadmin I don't think you use your MySQL users but your cpanel user wich has all privileges in every db.
 

bositman

New Member
Messages
6
Reaction score
0
Points
0
Yeah i know that any user i create will be bositman_whateverusernameitype
If that is the case,my "bositman" user phpmyadmin auto logs into has no privileges on any db...that's my problem there!
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
myBB uses the 'exec' function to get the server load. The exec function is disabled which causes the white page. The coders of myBB decided it was a good idea(horrible idea) to suppress the error output of functions. So instead of telling you exec is disabled, you get the white page.

You have to comment out where exec is used by putting a # at the beginning of the line in the file. If you do a search of the forums it's stated somewhere what file and line that exec is in.
 

bositman

New Member
Messages
6
Reaction score
0
Points
0
Thanks for the help.I found the threads you were talking about and as instructed I commented out the if containing the exec function (even tried commenting out the whole if block).This,although makes the forum load,it is nowhere near possible...I can't even login and I get errors on it.If there is a way,could you comment out the required parts for me,just in case I'm not doing the job right :)
Check it again:
http://dragonsworn.x10hosting.com/forums/
 
Last edited:

Jarryd

Community Advocate
Community Support
Messages
5,534
Reaction score
43
Points
48
Headers must be sent before any content data, and you sent content data (the error gives the file and line) before a header.
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
Whatever you used to comment out the line added either white space or random characters to the top of the file. You need to remove those characters or the white space.
 

bositman

New Member
Messages
6
Reaction score
0
Points
0
Wow issue resolved :) Seems editing it via notepad was a bad idea so i used dreamweaver instead.Thanks for all the support!
 
Status
Not open for further replies.
Top