| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| DNOA Member Join Date: May 2004
Posts: 5,040
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | |
| |
| | #2 (permalink) |
| NamePros Member Join Date: Jun 2006
Posts: 195
![]() | Is your Apache working previously? It seems like you got to check the Apache log file and see what's it is complaining about
__________________ tanfwc [ My HomePage ] My Project : Free Image Hosting # Shorten your URL! # Submit your proxy Cheap VPS on GNAX Network -- starting US$12.99/mo! |
| |
| | #3 (permalink) | ||||
| Senior Member Join Date: Dec 2006 Location: England
Posts: 1,568
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
????: NamePros.com http://www.namepros.com/showthread.php?t=298446 Definitely sounds like a server problem. Matt | ||||
| |
| | THREAD STARTER #4 (permalink) | ||||
| DNOA Member Join Date: May 2004
Posts: 5,040
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Hmm... I didn't think to check the server logs, however:
EDIT: I also see this happened previously several times... but the server restarts just fine. I'm not sure why it's not giving me any errors on restart like this. | ||||
| |
| | #5 (permalink) | ||||
| NamePros Member Join Date: Jun 2006
Posts: 195
![]() |
Code: error_reporting(E_ALL); ![]() If not, run your script through console (best place to debug stuff). Code: c:\PHP\php.exe <full_path_to_script>
__________________ tanfwc [ My HomePage ] My Project : Free Image Hosting # Shorten your URL! # Submit your proxy Cheap VPS on GNAX Network -- starting US$12.99/mo! | ||||
| |
| | #6 (permalink) |
| Domains my Dominion Join Date: Aug 2005 Location: Web 1.0
Posts: 9,552
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | You may have to check your PHP.ini file. There is one line which says whether to display errors or not. On production sites this setting is often set to Off.
__________________ NameNewsletter.com - free lists of available domain names ZoneFiles.net (beta) - ccTLD and gTLD droplists |
| |
| | THREAD STARTER #7 (permalink) |
| DNOA Member Join Date: May 2004
Posts: 5,040
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Thanks again for more help, but nothing there works. Like I've said, errors ARE outputted and configured correctly. All other files work, show errors, etc, except this particular one. EDIT: I'm giving rep to those that try to help Thanks. |
| |
| | #8 (permalink) |
| NamePros Regular Join Date: May 2004 Location: NYC
Posts: 236
![]() ![]() ![]() | The log shows that PHP couldn't load the exif extensions. Are you calling any exif functions in the script? Also, try commenting out the entire contents of the script so that you only have your Test echo as the script body: PHP Code: Also --and this might sound weird-- did you cut and paste any of the code from somewhere else? Sometimes this copies hidden characters which get embedded in the script (for example, this happens to me sometimes when cutting and pasting source from a .chm file). You might have to retype the code by hand, or strip all bad characters from your source file (most program editors have a way to do that). ????: NamePros.com http://www.namepros.com/showthread.php?t=298446 And of course, last bit of advice for windows -- did you reboot the entire machine? (only half joking here). |
| |
| | #10 (permalink) |
| Domains my Dominion Join Date: Aug 2005 Location: Web 1.0
Posts: 9,552
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | It is difficult to say without seeing the full code. But I can tell you that PHP has some bugs. The version you are using could be at fault. Could it be that you are using a particular function in that page ?
__________________ NameNewsletter.com - free lists of available domain names ZoneFiles.net (beta) - ccTLD and gTLD droplists |
| |
| | #13 (permalink) |
| NamePros Regular Join Date: Feb 2006
Posts: 584
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | If I didn't remember wrongly, if a PHP module fails to load, PHP wouldn't load as well. If you're completely not getting ANY output, you might want to check if PHP is actually running by using another script. EG. <?php phpinfo(); ?> |
| |
| | THREAD STARTER #16 (permalink) |
| DNOA Member Join Date: May 2004
Posts: 5,040
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Oh, sorry. I had missed a ] to close an array index. The error_reporting(E_ALL); at the beginning of the file didn't seem to work, as previously stated... I get parse errors on every other file except this one, which didn't use any EXIF functions either. So yeah, I dunno what happened. But it's fixed; that's all I care about. Thanks for the help. |
| |