Forum: blank white page
| happyman 541 days ago | I install jawstats0.7 in centos5.2, awstats is working correct. when I misktake config.php,jawstats will tell me the error messages. if I configure the correct config.php, jawstats show me the blank white page. somebody can help me? |
| happyman 540 days ago | anybody can help me? |
| joncombe 540 days ago | Hi Happyman,
can you show us the contents of your config.php file, please. |
| happyman 540 days ago | <?php // core config parameters $sDefaultLanguage = "zh-cn"; $sConfigDefaultView = "thismonth.all"; $bConfigChangeSites = true; $bConfigUpdateSites = true; $sUpdateSiteFilename = "xml_update.php"; // individual site configuration $aConfig["www"] = array( "statspath" => "/opt/awstats/data/", "updatepath" => "/opt/awstats/wwwroot/cgi-bin/", "siteurl" => "http://www.xxx.com", "sitename" => "", "theme" => "default", "fadespeed" => 250, "password" => "", "includes" => "", "language" => "zh-cn" ); $aConfig["site2"] = array( "statspath" => "/path/to/data/", "updatepath" => "/path/to/awstats.pl/", "siteurl" => "http://www.my-2nd-domain.com", "sitename" => "", "theme" => "default", "fadespeed" => 250, "password" => "my-2nd-password", "includes" => "", "language" => "en-gb" ); ?> |
| joncombe 540 days ago | Sorry about the cut'n'paste problem, Happyman.
1) Are you sure you have AWStats data files in your /opt/awstats/data/ directory? 2) What is the naming format of the files? 3) How big are those files? (If they're huge, see http://www.jawstats.com/community/thread32) |
| happyman 540 days ago | 1) yes, awstats data file in /opt/awstats/data/
2&3) -rw-r--r-- 1 root root 27M Feb 1 00:43 awstats012009.images.txt -rw-r--r-- 1 root root 2.0M Jan 14 22:28 awstats012009.www.tmp.31650 -rw-r--r-- 1 root root 120K Jan 14 22:38 awstats012009.www.tmp.317 -rw-r--r-- 1 root root 2.0M Jan 14 22:29 awstats012009.www.tmp.31757 -rw-r--r-- 1 root root 2.0M Jan 14 22:32 awstats012009.www.tmp.32129 -rw-r--r-- 1 root root 2.0M Jan 14 22:35 awstats012009.www.tmp.32553 -rw-r--r-- 1 root root 28M Feb 1 00:49 awstats012009.www.txt -rw-r--r-- 1 root root 8.3M Feb 5 00:47 awstats022009.images.txt -rw-r--r-- 1 root root 7.1M Feb 5 00:46 awstats022009.www.txt -rw-r--r-- 1 root root 15K Jan 9 00:35 awstats122008.images.txt -rw-r--r-- 1 root root 820K Jan 9 00:37 awstats122008.www.txt -rw-r--r-- 1 root root 7.1M Feb 5 12:19 awstats20092.www.txt |
| happyman 540 days ago | [root@springsrv-dev02 data]# ls -alh
total 86M drwxr-xr-x 2 root root 4.0K Feb 5 12:19 . drwxr-xr-x 8 root root 4.0K Feb 5 12:33 .. -rw-r--r-- 1 root root 27M Feb 1 00:43 awstats012009.images.txt -rw-r--r-- 1 root root 2.0M Jan 14 22:28 awstats012009.www.tmp.31650 -rw-r--r-- 1 root root 120K Jan 14 22:38 awstats012009.www.tmp.317 -rw-r--r-- 1 root root 2.0M Jan 14 22:29 awstats012009.www.tmp.31757 -rw-r--r-- 1 root root 2.0M Jan 14 22:32 awstats012009.www.tmp.32129 -rw-r--r-- 1 root root 2.0M Jan 14 22:35 awstats012009.www.tmp.32553 -rw-r--r-- 1 root root 28M Feb 1 00:49 awstats012009.www.txt -rw-r--r-- 1 root root 8.3M Feb 5 00:47 awstats022009.images.txt -rw-r--r-- 1 root root 7.1M Feb 5 00:46 awstats022009.www.txt -rw-r--r-- 1 root root 15K Jan 9 00:35 awstats122008.images.txt -rw-r--r-- 1 root root 820K Jan 9 00:37 awstats122008.www.txt -rw-r--r-- 1 root root 7.1M Feb 5 12:19 awstats20092.www.txt [root@springsrv-dev02 data]# pwd /opt/awstats/data |
| joncombe 540 days ago | Can you try upping your timeout setting in php.ini and see if that helps. :( |
| happyman 540 days ago | how to try upping timeout setting in php.ini? |
| joncombe 540 days ago | Type "edit php.ini" into Google. You need to look for a "max_execution_time" time setting and increase the number. |
| happyman 540 days ago | max_execution_time = 300
but it is still blank white page. |
| happyman 540 days ago | what shall we do? |
| joncombe 540 days ago | Try moving every file (keep them somewhere safe!) out of your data directory except the smaller "awstats122008.www.txt" file.
If this works, it is a timeout issue. If it doesn't, the problem lies elsewhere. I'll be back in 1 hour or so... |
| happyman 540 days ago | it is still blank white page |
| joncombe 540 days ago | With a max_execution_time of 5 minutes and one 820k data file, the issue has has to be elsewhere now. Can you confirm you have PHP properly installed (http://uk.php.net/phpinfo) and also try a "view source" on the blank page - is there any code in there? |
| happyman 540 days ago | PHP properly installed,please check http://61.152.244.116:9375/test.php
view source: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=gb2312"></HEAD> <BODY></BODY></HTML> |
| joncombe 540 days ago | That URL doesn't work for me. |
| happyman 540 days ago | I want to paste the result of "view source",but fail. what shall I do? |
| joncombe 540 days ago | Please email me the file at jon@jaws... |
| happyman 540 days ago | send email to you,please check! |
| happyman 540 days ago | the result have send email to you,please check! |
| happyman 539 days ago | did you receive my email? |
| happyman 539 days ago | help!help!help! |
| happyman 496 days ago | help!help! |
| andreus 492 days ago | i had a blank page problem that was because my version of php.
In the php version that i had, when tried to call the function it returned a white page because the function was at the end of the file and wasn't processed by php. To solve the problem, i put the functions on my index.php in the begging of the file, not at the end. i don't know it it helps. |
| Mouton 488 days ago | One of the PHP open tags is open as ashort tag.
Add the following line to an .htaccess file : php_flag short_open_tag on or correct the tag line 257 from |
| joncombe 487 days ago | Moulton: This was fixed last release, no? http://www.jawstats.com/community/thread21 |
| Erick 429 days ago | Actually, this bug was mostly fixed. I ran into the same problem.
All of the " |
| Erick 429 days ago | Okay, my post was butchered like Mouton.
I was trying to say on line 257 of the index.php is a short open tag (without echo). |
| clshrock 396 days ago | That short open tag causes the whole page to collapse if you have display_errors turned off as well as short_tag turned off -- the custom error handler function is in that section. |
| aadil 332 days ago | Hello,
I had a blank page too while trying to use Jawstats. I had installed my Apache and PHP manually and actually found out that I had hardened my php.ini so much that I couldn't use Jawstats. All I did was to copy the php.ini (not the recommended one) that came with the PHP sources and proceeded to test the Jawstats installation. It worked. Then I proceeded to secure my php.ini with PHPSecInfo little by little until I was fully satisfied with it. Cheers, Aadil. |
| guppy 308 days ago | I had this, made index.php line 257 of v0.7 from:
|
| guppy 308 days ago | okay that didn't work.
From (with extra spaces) < @ to: < @ p h p |
| ssrevill 256 days ago | I too have been having this very same problem, however for me I have one site working perfectly, the second site only gives me a blank page but it does work ok in AWStats. Any Ideas? the AwStas file is about 21mb so not huge. |
| Andy Mornes 254 days ago | I just tried installing Jawstats, but I kept getting the blank white page. Looks like it turns error reporting off in index.php. I commented that out and it showed an out of memory error. I tried turning my memory up more and more, and even 500M was not enough. My logs contain about 900,000 hits per month, and I see the test shows about 1,000 per month. Is this overloading Jawstats? |
| postman 246 days ago | I had the blank white page error too for a large site and adjusted my php memory limit very high and it worked. I gradually reduced the memory limit again until it stopped working to find a workable memory limit. |
| subbu.genie 144 days ago | Mouton, thanks a lot. It solved my problem. |
Participate in this discussion
You must be logged in to post in this thread.
Version 0.7 beta available now
Released 25th Janury 2009Try the online demo or download now.
Latest JAWStats News:
Version 0.7 Beta Released
Sprechen Sie Deutsch? Multi-lingual JAWStats v0.7 is finally here.
posted 25th Jan '09. read more »
Help JAWStats
Please donate a dollar (or more!) towards the hosting costs for this site. This money doesn't go anywhere near my pocket, it is purely used against my hosting bill.
Get $50 off your webhosting
You could do far worse than choose Dreamhost. I've used them for 6 years and they're great. Simply enter the promo code: JAWSTATS on signup!