1 (edited by grandpas 2006-08-26 18:12)

Topic: [resolved] empty pages

hello;

want to install punbb, and get only white pages (no source). I've read through forums, tried to remove cache, installed French lang pack, modified config.php, nothing works.

I don't even have a page in english or with error reason. maybe a locale issue, but I didn't edit anything (excepted creation of config.php), my server is in locale POSIX for user www-data (I'm on debian stable). phpinfo works.

if you want to give it a try: http://erick.chrysalice.org/punbb-1.2.12/upload

any idea ?
thanks,

--
grandpas

2 (edited by elbekko 2006-08-26 13:06)

Re: [resolved] empty pages

Check your language files. If there's an error in those, you can get such a white screen.

I think I'm going to make some sort of script that loops through language files on a given server and tests them tongue

EDIT:
Well, I've made the script, and it shows no errors... but yeah, it only checks standard lang files, so it must be a mod you installed... or a corrupted upload.

Re: [resolved] empty pages

http://punbb.org/forums/viewtopic.php?id=11538
It's only common.php in the language file that has this issue wink
The issue is here:

http://erick.chrysalice.org/punbb-1.2.1 … config.php
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /var/alternc/html/g/grandpas/erick/punbb-1.2.12/upload/config.php on line 15

Re: [resolved] empty pages

ok, now it works (tm)

you are probably right, but playing around with charsets is (at last for me) a nightmare..
I tried the fix in the common.php (which is actually in extern.php?!), but this didn't the trick. I've never modified any language file, neither have installed any mod (this was the first and fresh install..). I guess an error occured during upload..

however, I reinstalled in a parent directory and it now works great smile
I had to copy the example_config.php and edit it, so vi would use the original charset. and it worked flawlessly..

Thanks a lot for the quick and authoritative answer, gentlemen.

--
grandpas