I am working on a form which uses PHP to do the submit stuff, and All I am getting is a blank white page. The HTML only displays fine, so I know there are some PHP errors, only I can;t get them to display. I tried adding this to my code but no dice. The server is off site, so I don't have access to the ini file, but here is what I have inline.
<?php
Error_reporting (E_ALL);
//rest of php code here
?>
any suggestions???
blank page, can't get errors to display
Moderator: General Moderators
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
try
Code: Select all
@ini_set('display_errors', '1');
error_reporting(E_ALL);if using FTP, the error log should be in the same directory as your script you're running.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
start sharing that <span style='color:blue' title='I'm naughty, are you naughty?'>smurf</span> scrotaye.. I want some!
but seriously.. the error logs are typically in /var/logs/httpd/ or similar, if you can get to that.. or they should be fairly easy to get to through your host's control panels.
but seriously.. the error logs are typically in /var/logs/httpd/ or similar, if you can get to that.. or they should be fairly easy to get to through your host's control panels.
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
No idea where you got that from but your error logs are usually found in the root/logs folder.scrotaye wrote:if using FTP, the error log should be in the same directory as your script you're running.
Feyd | Stop Posting before me, damnit.
Last edited by John Cartwright on Tue Aug 09, 2005 7:48 pm, edited 1 time in total.
sharing whatfeyd wrote:start sharing that <span style='color:blue' title='naughty'>smurf</span> scrotaye.. I want some!
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.