473,385 Members | 1,769 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,385 software developers and data experts.

OT - php runtime error unreported

I apologize if this question is covered in the FAQ, I was only able to find
German and French versions. Does anyone know where I could get an English
version, or a better translater than Google?

I'm trying to figure out why php stops executing my script after a certain
command. the command is DB::connect using PEAR-DB. I need error codes, or
logs, or something.

I've tried adding:

error_reporting = E_ALL
display_errors = On
log_errors = On
error_prepend_string = "<span style=\"color: #ff0000;\">"
error_append_string = "</span>"
error_log = syslog

as well as internal combinations thereof;

I've also tried adding:

error_reporting(E_ALL);
error_log("/home/www/hypersphere.org/htdocs/dev/php_errors.log");

to my index.php file.

Still, thread execution halts at the cocnnection attempt.

At this point I need to know how to make php actually log the errors.

You're welcome to look at the php yourself:

http://alexei.hypersphere.org/dev/index.php

Any help would be appreciated.

Thank you,
Harrison

--
Harrison Caudill BS BS | .^ www.hypersphere.org
Computer Science & Physics Graduate | | Me*Me=1
Georgia Institute of Technology | v' I'm just a normal guy
Sep 19 '05 #1
2 1558
Charles,
I apologize if this question is covered in the FAQ, I was only able to find
German and French versions. Does anyone know where I could get an English
version, or a better translater than Google? http://pear.php.net/manual/en/package.database.db.php

I'm trying to figure out why php stops executing my script after a certain
command. the command is DB::connect using PEAR-DB. I need error codes, or
logs, or something.


It sounds more like a syntax error than anything which halts execution
asap. You might want to check your code for that. From looking at the
page that was also something that looked like a problem
--
Mike Willbanks
Zend Certified Engineer
http://www.digitalstruct.com
Sep 20 '05 #2
> http://pear.php.net/manual/en/package.database.db.php

I appreciate the link, but I was referring to the comp.lang.php faq; I've
already been working with that.
It sounds more like a syntax error than anything which halts execution
asap. You might want to check your code for that. From looking at the
page that was also something that looked like a problem


It only happens when I specify a valid database string. When I specify an
invalid string, it correctly reports a not-found error.

Thank you for your help,
Harrison

--
Harrison Caudill BS BS | .^ www.hypersphere.org
Computer Science & Physics Graduate | | Me*Me=1
Georgia Institute of Technology | v' I'm just a normal guy
Sep 20 '05 #3

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

Similar topics

5
by: Nathan Bloom | last post by:
Hi, I have a secured database that runs fine on the computer the database is installed on. I have several workstations with access runtime installed that also need access to the database. ...
2
by: Paul | last post by:
I'm hoping someone can help me with the problem. I have a database where the default value for a date field in a table is =date() This works perfectly in my table and on my form. But when I...
12
by: Markus Ewald | last post by:
I'm just experimenting around with the VisualC++ 2005 Express Edition Beta and found some strange behavior for which I can't seem to find a workaround. What I've done is set up two static library...
0
by: Kirk | last post by:
I'm trying to use a Web Service to be a Remoting client of an existing ..NET 2.0 server. But I get the following error when I try to use System.Runtime.Remoting.Channels.Http in my WebService. ...
4
by: cnixuser | last post by:
Hello, I am posting reguarding some modifications I made to a text editor program that I wrote in my java class at my school today. The file I was modifying is a very simple java text editor with...
7
by: shana07 | last post by:
I have unreported exceptions as below: unreported exception java.lang.Exception; must be caught or declared to be thrown Euclid euc = new Euclid(); ...
1
by: SushmaLabh | last post by:
I am usinng J2EE 1.4 SDK.I got this error.Pls Hepl me. org.apache.jasper.JasperException: Unable to compile class for JSP Generated servlet error: ...
7
by: Norman Diamond | last post by:
A project depends on VC runtime from Visual Studio 2005 SP1, and DotNet Framework 2. Options are set in the setup project properties, so if these two dependencies are not already installed then...
1
by: BL3WC | last post by:
Hi, I'd created a MDE under Access 2003. It is now under testing stage. Some of the users will use Access 2003 runtime and some will use Access 2007 runtime to run this MDE. I installed the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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...

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.