473,404 Members | 2,170 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Parse Errors, On Screen Messages

I am having problems getting my browser to show the parse errors that
I have. They worked before I swtiched global variabls to off (to
maintain some security), and now I can not get anything but a white
screen when my script is defunct.
-If it helps, I am on WinXP (Home Ed), Apache 2.0.47, PHP 4.3.4-

Please advise soon!
Phry
Jul 17 '05 #1
4 2189
no*****@norwaymi.com (Phrylock) wrote:
I am having problems getting my browser to show the parse errors that
I have. They worked before I swtiched global variabls to off (to
maintain some security), and now I can not get anything but a white
screen when my script is defunct.
-If it helps, I am on WinXP (Home Ed), Apache 2.0.47, PHP 4.3.4-


Check the manual on error handling:
http://uk.php.net/manual/en/ref.errorfunc.php

JOn
Jul 17 '05 #2
rewrite your script, because you set global to off, the script wont work. At
least it mean the script PHP wasn't well-written, so for your website
security and performance, rewrite your script.

Savut

"Jon Kraft" <jo*@jonux.co.uk> wrote in message
news:Xn*************************@130.133.1.4...
no*****@norwaymi.com (Phrylock) wrote:
I am having problems getting my browser to show the parse errors that
I have. They worked before I swtiched global variabls to off (to
maintain some security), and now I can not get anything but a white
screen when my script is defunct.
-If it helps, I am on WinXP (Home Ed), Apache 2.0.47, PHP 4.3.4-


Check the manual on error handling:
http://uk.php.net/manual/en/ref.errorfunc.php

JOn

Jul 17 '05 #3
Try setting this at the top of your script:
error_reporting (E_ALL);
this should report all errors, warnings and notices. If something with
your globals doesn't work anymore, just try to initialize an error, like
using a non-existing function:
nonexistingfunction($a);

If you still don't get an error message....?

DrTebi
On Mon, 01 Dec 2003 14:38:31 -0500, Savut wrote:
rewrite your script, because you set global to off, the script wont work. At
least it mean the script PHP wasn't well-written, so for your website
security and performance, rewrite your script.

Savut

"Jon Kraft" <jo*@jonux.co.uk> wrote in message
news:Xn*************************@130.133.1.4...
no*****@norwaymi.com (Phrylock) wrote:
> I am having problems getting my browser to show the parse errors that
> I have. They worked before I swtiched global variabls to off (to
> maintain some security), and now I can not get anything but a white
> screen when my script is defunct.
> -If it helps, I am on WinXP (Home Ed), Apache 2.0.47, PHP 4.3.4-


Check the manual on error handling:
http://uk.php.net/manual/en/ref.errorfunc.php

JOn


Jul 17 '05 #4
on php.ini file, change display_errors to On

Savut

"Jon Kraft" <jo*@jonux.co.uk> wrote in message
news:Xn*************************@130.133.1.4...
no*****@norwaymi.com (Phrylock) wrote:
I am having problems getting my browser to show the parse errors that
I have. They worked before I swtiched global variabls to off (to
maintain some security), and now I can not get anything but a white
screen when my script is defunct.
-If it helps, I am on WinXP (Home Ed), Apache 2.0.47, PHP 4.3.4-


Check the manual on error handling:
http://uk.php.net/manual/en/ref.errorfunc.php

JOn

Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: chuck amadi | last post by:
Hi , Im trying to parse a specific users mailbox (testwwws) and output the body of the messages to a file ,that file will then be loaded into a PostGresql DB at some point . I have read the...
1
by: chuck amadi | last post by:
By the way list is there a better way than using the readlines() to > > >parse the mail data into a file , because Im using > > >email.message_from_file it returns > > >all the data i.e reads one...
8
by: Spartanicus | last post by:
The document at http://homepage.ntlworld.com/spartanicus/custom_dtd.htm uses a custom DTD, the w3c validator validates it but with this warning: "Unknown Parse Mode! The MIME Media Type...
13
by: Dr. Zharkov | last post by:
Hello. A problem in the following. In VB .NET 2003 we create the project and in file Form1.vb the following code is written down: Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As...
5
by: CB | last post by:
Does anyone know of a resource for diagnosing ASP_0147 errors that appear occasionally in server logs? They hit my server in bunches, on rare occasions, for about an hour at a time. Any advice...
10
by: yawnmoth | last post by:
I have two servers that have had PHP installed on them and... <?php echo 'hello, world! ?> ....displays a parse error on server A and doesn't display anything on server B. Any ideas as to...
2
by: =?Utf-8?B?UmFscGggSQ==?= | last post by:
OK, Dell inspirion 9300 - 100 gb hd partitioned into 3 drives C: OS 10 gb D: Programs 20 gb E: Data 70 GB Page Files 0 on C: 4092 on D: 3070 on E:
1
AdrianH
by: AdrianH | last post by:
Assumptions I am assuming that you know or are capable of looking up the functions I am to describe here and have some remedial understanding of C programming. FYI Although I have called this...
2
by: Lawrence Krubner | last post by:
Imagine a template system that works by getting a file, as a string, and then putting it through eval(), something like this: $formAsString = $controller->command("readFileAndReturnString",...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.