Re: Routing downloads through PHP
| From: | Barry | Date: | Wed, 15 Feb 2006 12:19:46 +0000 |
| Subject: | Re: Routing downloads through PHP | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-230439@lists.php.net to get a copy of this message | ||
J_K9 wrote:
Duncan Hill wrote:The error you get is an "Apache" error and has nothing to do with php so there are no error reportings within PHP for apache. There might be a problem setting the content header prolly because Apache dont have them or what the hell i know. Sorry i can't help from here without any log output and or config files. Doesn't locate work on you system? $ locate log Probably you have a virtual hosting. look at /var/www Otherwise no idea. The code is okay, i use it myself and it works just great. Greets Barry -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)On Wednesday 15 February 2006 11:35, J_K9 wrote:Nothing's in the right place! I can't even find the Apache conf file... This is the problem with using external hosting - they do things differently. :@ Aren't there any PHP functions I can use to let me know where the errors are happening? I'm sure I've seen one somewhere; I just don't remember it, that's all... ;) Thanks, J_k9Duncan Hill wrote:If you have read access to the apache configuration files, the ErrorLog statement (+ServerRoot) should tell you where your logs are. (There's no need to CC me, I get the list :p)On Wednesday 15 February 2006 11:05, J_K9 wrote:I would, but I can't find it. I thought it was under /var/log, but having taken a good look I just can't find the logs. And the fact that I can't use slocate to find them because I can't get root access to run updatedb doesn't help either ;)Here's the exact 500 error I'm getting:Standard Apache error. Look in your error log for more details like it suggests?