Page 1 of 1
[Solved] forum not showing please help

Posted:
Fri Nov 21, 2008 4:51 am
Author: Michalis
Hi Guys,
I have recently encountered a problem where the forum does not show just comes up blank white page with no
errors shown on page. I contacted my host provider who advised that the php forum was not communicating with database.
example:
http://www.houseofdance.net/phpBB/portal.phpthe server does work on main page
http://www.houseofdance.netCan anyone kindly give any suggestions or advise to help me fix this problem please
Re: forum not showing please help

Posted:
Fri Nov 21, 2008 12:59 pm
Author: obiku
If the forum could not communicate with your database, you should see an error like this
[code]phpBB ]
Can you check if you set the file permissions correct?
Re: forum not showing please help

Posted:
Fri Nov 21, 2008 4:27 pm
Author: Helter
check to see it your server was recently upgraded from php4 to php5
have you added any mods that alter your language files lately?
Re: forum not showing please help

Posted:
Sat Nov 22, 2008 11:59 am
Author: Michalis
nothing has been changed on the server & the host has not upgraded anything tho they did a test by moving php to 3
different servers and had the blank screen as i am seeing.
all the CMOD permission are correct too & i have not added any mods lately
Re: forum not showing please help

Posted:
Sat Nov 22, 2008 9:14 pm
Author: Helter
backup and save your includes/def_*.php files
first, upload includes/def_tree.php and check to see if the forum comes back.
if not, change your default theme to Integra2 by editing your db.
open in phpmyadmin phpbb_config and look for the default theme entry and change it to theme id "1"
re-upload includes/def_themes.php
if still no luck, re-upload includes/def_qbar.php
if still no luck, re-upload the rest of the def_ files
Re: forum not showing please help

Posted:
Fri Nov 28, 2008 12:54 am
Author: Teelk
This could also be an issue of too little memory allocated to php. If you have root privileges on your server, edit the php.ini file and either add or append the following line.
- Code: Select all
php_value memory_limit "16M"
If you don't have access to your root, you can ask your host to increase the memory size or try adding it to a .htaccess file to your forum root with the above line, without the quotes around 16M. The other alternative is to add this line to your common.php file
- Code: Select all
ini_set('memory_limit','16M')
after the lines
- Code: Select all
if ( !defined('IN_PHPBB') ){ die("Hacking attempt");}
Re: forum not showing please help

Posted:
Fri Nov 28, 2008 2:12 am
Author: Helter
or you can add it to config.php
Your input has been missed Teelk! I completely forgot about IM141's memory footprint!
Re: forum not showing please help

Posted:
Fri Nov 28, 2008 9:05 am
Author: Michalis
first of all let me apologise for my late reply
HelterSkelter ur input was very valuable & worked, even tho this problem gave me a
major headache hehehehehe
Teelk i will use ur advise too, thanx to u all for ur advise it has been valuable.
Re: [Solved] forum not showing please help

Posted:
Fri Dec 05, 2008 2:00 pm
Author: Michalis
OK thise has happened to me again, tho this time it was easy to bring it back the forum
from previous experiance before.
I contacted hosting provider about php.ini and access to root on server & this cannot be done for
security reasons as the forum is not on a dedicated server.
i also tried to add
ini_set('memory_limit','16M')
after
if ( !defined('IN_PHPBB') )
{
die("Hacking attempt");
}
in common.php which came up with an error
and with .htaccess I cannot find in root of website server.
any help or suggestions would be greatfully appreciated..
Re: [Solved] forum not showing please help

Posted:
Fri Dec 05, 2008 3:56 pm
Author: Teelk
What was the error that you received when you added that line?
Also, if it happens again, try deleting your cache and see if that fixes the issue. If the cache files aren't being completely written you'll see a lot of white pages and may have to turn cache off to fix the problem.
Re: [Solved] forum not showing please help

Posted:
Fri Dec 05, 2008 4:37 pm
Author: Michalis
here is the ere i get
Parse error: syntax error, unexpected T_VARIABLE in /home/nas02l/h/houseofdance.net/user/htdocs/phpBB/common.php on line 30
Re: [Solved] forum not showing please help

Posted:
Fri Dec 05, 2008 8:49 pm
Author: Teelk
My apologies, I forgot to include a semicolon after the line in my example. It should be
- Code: Select all
ini_set('memory_limit','16M');
Don't forget, as well as including this line you may also have to increase the 16 to make the white pages disappear. 16MB is just the example.
Re: [Solved] forum not showing please help

Posted:
Mon Dec 08, 2008 9:41 am
Author: Michalis
Teelk
thanx very much, that has done the trick. very much appreciated for ur feedback there hehehehe