1 (edited by extremegraphicFX 2006-09-05 21:47)

Topic: Install Problem - Blank page

After uploading everything and setting up the database then clicking on the link to the forum it went to it but it was a blank page. Any suggestions or input will be helpful. If more information is needed please ask, I am new to all this so I probably did something wrong I am not sure.

I did what they said uploaded all files that were in the upload folder to a folder I created for the forum, and like I said afterwards it gave me the page for admin. stuff, I filled it all out and then as stated it gave me a blank page. Thanks!


Also just noticed this in where they tell me the info to put in the config.php

The cache directory is currently not writable! In order for PunBB to function properly, the directory named cache must be writable by PHP. Use chmod to set the appropriate directory permissions. If in doubt, chmod to 0777.

The avatar directory is currently not writable! If you want users to be able to upload their own avatar images you must see to it that the directory named img/avatars is writable by PHP. You can later choose to save avatar images in a different directory (see Admin/Options). Use chmod to set the appropriate directory permissions. If in doubt, chmod to 0777.

Could this be the problem and if so how actually can I correct it?

Thanks again!

2 (edited by extremegraphicFX 2006-09-05 21:54)

Re: Install Problem - Blank page

ok I just corrected the cache and avatar problem but that didnt help

gonna try to reinstall it I guess

Re: Install Problem - Blank page

in the config.php take out the space at the top of the file
line 1.
line 2. <?php

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Re: Install Problem - Blank page

make sure that this is at the very top

<?php

$db_type = 'mysql';
$db_host = 'localhost';
$db_name = 'bamboo_kadus';
$db_username = 'XXXXX';
$db_password = 'XXXXX';
$db_prefix = 'kadus_';
$p_connect = false;

$cookie_name = 'punbb_cookies';
$cookie_domain = '.bambooborneo.com';
$cookie_path = '/';
$cookie_secure = 0;
$cookie_seed = 'c0a9fb60';

define('PUN', 1);
My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Re: Install Problem - Blank page

thanks, but I think it was something to do with uploading them to the server cause when I looked at the php files they were blank, so evedently the ftp client I was using somehow deleted the contents of the files... using a different ftp, thanks though and will keep that in mind, will post the outcome when all is done.

Re: Install Problem - Blank page

Once again thanks for the help - and that was the problem (so far) when I uploaded the files they somehow had all coding within them wiped out - seems to work now - will know more once i start testing it and all

Re: Install Problem - Blank page

anytime..

evil giggles
Q

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

Re: Install Problem - Blank page

Just in case anybody runs into this problem in the future, try adding this line to your .htaccess if you get a blank page after installing any script:

php_flag display_errors on

It may show you the error that is stopping the page from showing (if you view source you'll usually only see the basic html tags if anything at all) and give you a place to start looking smile

best,

Jan

Re: Install Problem - Blank page

hi,

I have the same problem:
installed the forum
cmods changed for the cache folder and the avatarts folder
uploaded the config.php file without a space on the first line

I get a blank page on the index.php

does anybody have any suggestions?

where can i find .htaccess to view my error??

thank you for helping out.

Re: Install Problem - Blank page

ps.

this is what my config.php looks like:

--start code--
<?php

$db_type = 'mysql';
$db_host = 'localhost';
$db_name = 'xxxxx';
$db_username = 'xxxxx';
$db_password = 'xxxxx';
$db_prefix = '';
$p_connect = false;

$cookie_name = 'punbb_cookie';
$cookie_domain = '';
$cookie_path = '/';
$cookie_secure = 0;
$cookie_seed = '1918bad4';

define('PUN', 1);}
--end code--

Re: Install Problem - Blank page

What's up with the ending }? That shouldn't be there, delete it tongue

Re: Install Problem - Blank page

You'll have to create an .htaccess an place it into you punbb main directory... then add that line above to test if it will work or not.   Some hosts won't allow a custom .htaccess or won't allow php flags being turned on or off, but hey ... it's worth a shot!

best,

Jan

Re: Install Problem - Blank page

And the .htaccess file won't work if there's a parse error in config.php (and a couple other places). It's a known bug, fixed in 1.3 wink

Re: Install Problem - Blank page

Smartys wrote:

What's up with the ending }? That shouldn't be there, delete it tongue

thanx for your sharp eye Smartsys!

that was the problem and it works now!
no idea how that } got there though

Re: Install Problem - Blank page

what editor did you use to create the config.php file? (could be that it added the })

16 (edited by hiredgunz 2006-09-16 22:27)

Re: Install Problem - Blank page

Frontpage?  Dreamweaver?  wink

Jan