I can't seem to understand PHP error trapping...I have it turned on in
php.ini, and on the page in question, I have error_reporting(E_ALL);
on the page in question below - the following code does NOT generate any
errors, but it doesn't perform the insert eitherthe stored procedure
exists, but
[snip]
I can't seem to understand PHP error trapping...I have it turned on in
php.ini, and on the page in question, I have error_reporting(E_ALL);
on the page in question below - the following code does NOT generate any
errors, but it doesn't perform the insert eitherthe stored procedure
[mailto:jblanch...@pocket.com]
Sent: Friday, April 17, 2009 12:17 PM
To: David Stoltz; php-general@lists.php.net
Subject: RE: [PHP] What am I doing wrong?
[snip]
I can't seem to understand PHP error trapping...I have it turned on in
php.ini, and on the page in question, I have error_reporting(E_ALL
**First let me say that I am a linux newbie**
I have installed Fedora 3 on a development box. I then downloaded the
php5 source and followed the php documentation:
# ./configure --with-mysql
# make
# make install
Everything went fine, I then went to add the loadmodule line and did a
locate on
blackwater dev wrote:
**First let me say that I am a linux newbie**
I have installed Fedora 3 on a development box. I then downloaded the
php5 source and followed the php documentation:
# ./configure --with-mysql
# make
# make install
What did you build it against? You have no webserver type in
On Thursday 30 December 2004 22:56, blackwater dev wrote:
**First let me say that I am a linux newbie**
I have installed Fedora 3 on a development box. I then downloaded the
php5 source and followed the php documentation:
# ./configure --with-mysql
# make
# make install
Everything went
I don't seem to have an apxs directory. I don't even have an apache
directory as apachectl resides in /usr/sbin/apachectl
Of course apache was installed from the fedora install.
How do I install this against apache?
On Thu, 30 Dec 2004 10:20:01 -0500, John Nichel [EMAIL PROTECTED] wrote:
I don't seem to have an apxs directory. I don't even have an apache
directory as apachectl resides in /usr/sbin/apachectl
Of course apache was installed from the fedora install.
How do I install this against apache?
On Thu, 30 Dec 2004 10:20:01 -0500, John Nichel [EMAIL PROTECTED] wrote:
blackwater dev wrote:
I don't seem to have an apxs directory. I don't even have an apache
directory as apachectl resides in /usr/sbin/apachectl
Of course apache was installed from the fedora install.
How do I install this against apache?
I don't know if the rpm install of Apache includes apxs.
John Nichel wrote:
I don't know if the rpm install of Apache includes apxs. If it doesn't,
you'll have to install Apache from source.
Usually apxs is in the apache-dev package on the various distros.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Sorry if you recieved this twice. Head's wreaked today, and I keep
making mistakes, such as posting to a person instead of to the list.
If you're using apache2 then you need to add something along the lines
of --with-apxs to your ./configure line. With apache1.3 it was
--with-apxs=/path/to/apxs.
I just went ahead and installed apache from source with apxs then
recompiled php5. I then created a info.php file which simply prints
out phpinfo but get this error now.
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
Warning: Unknown: Failed opening
blackwater dev wrote:
I just went ahead and installed apache from source with apxs then
recompiled php5. I then created a info.php file which simply prints
out phpinfo but get this error now.
Warning: Unknown: failed to open stream: Permission denied in Unknown on
line 0
Warning: Unknown: Failed
...
peace..
-Original Message-
From: Rory Browne [EMAIL PROTECTED]
Sent: Dec 30, 2004 11:00 AM
To: php-general@lists.php.net
Subject: Re: [PHP] what am I doing wrong? PHP5 on Fedora
Sorry if you recieved this twice. Head's wreaked today, and I keep
making mistakes, such as posting
I actually recompiled it all but was getting permission errors. I
then rebooted and now linux seems to want to use the old apache
instead of the new one I compiled with php support so I have to fix my
environment variables to point to the new apache and figure out my
permission errors.
Thanks!
John Nichel wrote / napísal (a):
blackwater dev wrote:
I just went ahead and installed apache from source with apxs then
recompiled php5. I then created a info.php file which simply prints
out phpinfo but get this error now.
Warning: Unknown: failed to open stream: Permission denied in Unknown
tr wrote / napísal (a):
John Nichel wrote / napísal (a):
blackwater dev wrote:
I just went ahead and installed apache from source with apxs then
recompiled php5. I then created a info.php file which simply prints
out phpinfo but get this error now.
Warning: Unknown: failed to open stream:
tr wrote:
tr wrote / napísal (a):
John Nichel wrote / napísal (a):
blackwater dev wrote:
I just went ahead and installed apache from source with apxs then
recompiled php5. I then created a info.php file which simply prints
out phpinfo but get this error now.
Warning: Unknown: failed to open
Ok, hopefully I can explain this clearly, even though
I think I might be an idiot since Ive been going on
about this for a few days.
I have a table that holds values and labels
i.e. 1 = New York
2 = Boston
3 = Kansas City
4 = Amsterdam
I want to put this table into a multiple
Stuart Felenstein mailto:[EMAIL PROTECTED]
on Friday, November 12, 2004 12:54 PM said:
//This is my call to the table staindtypes
?php
mysql_select_db($database_lokale, $lokale);
$indque1 = SELECT * FROM staindtypes;
$inds = mysql_query($indque1, $lokale) or
die(mysql_error());
From: Stuart Felenstein [mailto:[EMAIL PROTECTED]
Ok, hopefully I can explain this clearly, even though
I think I might be an idiot since Ive been going on
about this for a few days.
I have a table that holds values and labels
i.e. 1 = New York
2 = Boston
3 = Kansas City
Hi there please have a look the code below...I dont know wht am doing wrong
here...
This code is suppose to show the number of jokes in a mysql database and
allows user to add a joke when the user clicks addjoke link. And when the
joke is added, it suppose to say that Joke inserted, Thank you and
on the command
line to see if additional information/errors are present.
-B
- Original Message -
From: Aalee [EMAIL PROTECTED]
Date: Thursday, November 4, 2004 7:54 am
Subject: [PHP] what am i doing wrong..??
Hi there please have a look the code below...I dont know wht am
doing wrong
?php $_SERVER['PHP_SELF'] ? somehow keeps the $_GET variables. If you
change this to the real script name it seems to work
JACK
-Original Message-
From: Aalee [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 1:54 PM
To: [EMAIL PROTECTED]
Subject: [PHP] what am i doing wrong
:
?php $_SERVER['PHP_SELF'] ? somehow keeps the $_GET variables. If you
change this to the real script name it seems to work
JACK
-Original Message-
From: Aalee [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 04, 2004 1:54 PM
To: [EMAIL PROTECTED]
Subject: [PHP] what am i doing wrong
I want to display the first 3 words of my record in
the my table and following is the code i'm using.
When i use the SQL Query in mySQL.. it works great..
but when i try to implement it in my php page.. i'm
not getting anything.. no error, no display, no
result.. just blank.. why?
?php
$db =
At 13:37 9-3-2003, you wrote:
I want to display the first 3 words of my record in
the my table and following is the code i'm using.
When i use the SQL Query in mySQL.. it works great..
but when i try to implement it in my php page.. i'm
not getting anything.. no error, no display, no
result.. just
Ok i tried this.. and i didn't get any error listed..
so it seems that the mySQL Query is not failing in
syntax or logic.. but it's not picking up any rows.
Which is really stupid because i used my phpmyadmin
and i ran this SQL Query there and even then i got my
results..
--- Chris Hayes [EMAIL
Hello,
Rahul.Brenda [EMAIL PROTECTED] wrote:
Ok i tried this.. and i didn't get any error listed..
so it seems that the mySQL Query is not failing in
syntax or logic.. but it's not picking up any rows.
Which is really stupid because i used my phpmyadmin
and i ran this SQL Query there and
At 13:37 9-3-2003, you wrote:
if ($myrow = mysql_fetch_array($result)) {
do {
echo( $myrow[title] );
} while ($myrow = mysql_fetch_array($result));
}
PS same result with
while ($myrow = mysql_fetch_array($result));
{ echo $myrow['title'];
}
--
PHP General Mailing List
On Sun, 9 Mar 2003 04:37:47 -0800 (PST), Rahul.Brenda
[EMAIL PROTECTED] wrote:
I want to display the first 3 words of my record in
the my table and following is the code i'm using. When i use the SQL
Query in mySQL.. it works great..
but when i try to implement it in my php page.. i'm
not
Hi,
So, you still have a blank page?
Yes i do actually, and blank in HTML Source too.
do you have display_errors = On in your php.ini?
Ahan.. yes i do.
to this:
echo $myrow[title];
makes any difference.
No actually it didnt. :0(
Rahul S. Johari
Chris,
Thanks a lot.. THIS WORKS!
Works brilliantly. All other methods were just
failing. Thanks man.
// fetch row is faster than fetch_assoc, which is
faster than fetch_array
// fetch_result might even be a better choice here,
though, with only one
item...
if (!mysql_num_rows($result)) {
I want to display the first 3 words of my record in
the my table and following is the code i'm using.
When i use the SQL Query in mySQL.. it works great..
but when i try to implement it in my php page.. i'm
not getting anything.. no error, no display, no
result.. just blank.. why?
?php
Hi,
Thanks.. i went through your reply and certainly now i
understand the mistake i was making. Quite logical
actually, that i hadn't actually selected the title
column. But i'm sure i wouldnt' have been able to
figure this out myself.
And surely, i too try to stay away from Numerical
Indexes.
35 matches
Mail list logo