- Original Message -
From: Terry Romine [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Sunday, August 07, 2005 10:03 AM
Subject: [PHP] PHP error tracking on new server
... The problem is that when an error occurs, the page just comes up
blank,
Does your hosting service
My hosting service recently switched to a newer server and in
transporting the websites (many) over, they set up php different
(vers 4.3.10). I know it's not nice to show errors on a published
website, but I don't have a testing server, and I need to debug
scripts once in a while. The
Hey Terry--
On 8/7/05 11:03 AM, Terry Romine [EMAIL PROTECTED] wrote:
Any ideas on what flag may need to be set and how to do it on a file-
by-file basis so I am only tweaking it when testing?
Terry
Does your hosting provider support .htaccess? If so, you may be able to
change the error
Good Morning,
I was having a discussion with a fellow PHP Developer this morning and he
mentioned that he put's an '@' sign in front of all function calls, and
every time he accesses an array;
I know that this is sloppy, and dangerous, but I don't know exactly what
this exposes him to, can any
Hello Justin,
I would guess that this is mostly performance and memory related. When,
for instance, trying to iterate an array, or a directory with files,
using @ on all function calls, it will attempt to go through the array,
attempting to allocate memory for each item, but when finding it
On 8/2/05, Justin Burger [EMAIL PROTECTED] wrote:
Good Morning,
I was having a discussion with a fellow PHP Developer this morning and he
mentioned that he put's an '@' sign in front of all function calls, and
every time he accesses an array;
Any chance of revealing his identity - so that I
Justin Burger wrote:
Good Morning,
I was having a discussion with a fellow PHP Developer this morning and he
mentioned that he put's an '@' sign in front of all function calls, and
every time he accesses an array;
I know that this is sloppy, and dangerous, but I don't know exactly what
this
Justin Burger wrote:
Good Morning,
I was having a discussion with a fellow PHP Developer this morning and he
mentioned that he put's an '@' sign in front of all function calls, and
every time he accesses an array;
I know that this is sloppy, and dangerous, but I don't know exactly what
this
Justin Burger wrote:
Does suppressing the error only suppress it from the screen, or does it
ignore the error?
ie: is the error still logged?
Please reply to the list.
I don't know if it still logs the error (assuming you have error logging
turned on).
--
John C. Nichel
ÜberGeek
Does suppressing the error only suppress it from the screen, or does
it ignore the error?
ie: is the error still logged?
On Aug 2, 2005, at 12:18 PM, John Nichel wrote:
Justin Burger wrote:
Good Morning,
I was having a discussion with a fellow PHP Developer this morning
and he
Example:
I was working on a HORRIBLE piece of code for a cart app. The original
programmer had a line like this:
$result = mysql_query( SELECT * FROM user_logins WHERE
cookie='.$cookie.' );
Where $cookie is a session id stored in a cookie (what else? ;). The
problem was, he had some
Hello Justin,
Tuesday, August 2, 2005, 8:43:09 PM, you wrote:
JB Does suppressing the error only suppress it from the screen, or
JB does it ignore the error?
JB ie: is the error still logged?
It will ignore it totally, it doesn't even make it as far as the log
files - which is why in most cases
Justin Burger wrote:
Good Morning,
I was having a discussion with a fellow PHP Developer this morning and he
mentioned that he put's an '@' sign in front of all function calls, and
every time he accesses an array;
I know that this is sloppy, and dangerous, but I don't know exactly what
this
Jack,
Read below:
Jack Jackson wrote:
Hi,
Now that the drop down is working properly (thanks!!), I am trying to
validate, and having LOTS of trouble. After being ceaselessly derided
last night on an irc channel for my dimwitedness, I am still not any
closer.
The code which works is
Kristen G. Thorson wrote:
Thanks for the == !
But I had set $message global within the buld-checkbox function, so that
part of it does work. . . .
Jack,
Read below:
Jack Jackson wrote:
Hi,
Now that the drop down is working properly (thanks!!), I am trying to
validate, and
I did the smart thing last night: nothing. I read some PHP books and
then realized that the answer to my error checking was a lot less
complex, once again, than I had initially suspected. I finally ended up
with:
//error checking
foreach($_POST as $qname=$value) {
if(empty($value)){
hi,
I have checkboxes beging dynamically generated. to seperate tasks in
error checking I have added he arrays not just to $_POST but to
$_POST[cb] so names (derived from question numbers) are for example:
$_POST[cb][7]
A dump of $_POST would therefore include something like
[cb]=
Hi,
Now that the drop down is working properly (thanks!!), I am trying to
validate, and having LOTS of trouble. After being ceaselessly derided
last night on an irc channel for my dimwitedness, I am still not any closer.
The code which works is this:
function GetQuestionsDropdown($cat){
Okay, last attempt before I hit my head against wall. I thought perhaps
to add the error check to the dropdown function itself:
function GetQuestionsDropdown($cat){
//first get all the questions
$sql = SELECT * FROM questions WHERE questions.q_cat=$cat AND
questions.q_style=1;
$result =
Hello,
I am trying to get a form to work integrating html with PHP.
the code I have is:
?
$form_block =
FORM METHOD=\POST\ ACTION=\$PHP_SELF\
pstrongYour Name:/strong /br
INPUT type=\text\ NAME=\senders_name\ SIZE=30/p
pstrongpYour E-mail Address:/strong /br
INPUT type=\text\
[snip]
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE,
expecting T_STRING or T_VARIABLE or T_NUM_STRING in
/hsphere/local/home/bruceg/inspired-evolution.com/Contact_Form_test.php
on line 58
[/snip]
Send us the first 60 or so lines of the code and we'll see what we can
see. I
[snip]
and the error I get is:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE,
expecting T_STRING or T_VARIABLE or T_NUM_STRING in
/hsphere/local/home/bruceg/inspired-evolution.com/Contact_Form_test.php
on line 58
[/snip]
I forgot to say that the code you sent does not include 58
From: Bruce Gilbert [mailto:[EMAIL PROTECTED]
Hello,
I am trying to get a form to work integrating html with PHP.
the code I have is:
?
$form_block =
FORM METHOD=\POST\ ACTION=\$PHP_SELF\
pstrongYour Name:/strong /br
INPUT type=\text\ NAME=\senders_name\ SIZE=30/p
pstrongpYour
--- Bruce Gilbert [EMAIL PROTECTED] wrote:
Hello,
I am trying to get a form to work integrating html
with PHP.
I see a couple problems...
This line:
if ($POST['sender_email'] ==) {
Should probably be:
if ($_POST['sender_email'] ==) {
Note the underscore in $_POST
Same
Hi
First some of your $_POST array variables are written like $POST['var'], you
need to change them
to $_POST['var']. Then because you are not using the dot operator in your
string variables and you
are using a associative array you must enclose the array variable in
{$arr['var']} tags!
//
I made the suggestions mentioned by Mike and don't get any error, but
the form doesn't work properly. Check it out at
http://www.inspired-evolution.com/Contact_Form_test.php
the PHP form CODE I now have is:
?
$form_block =
FORM METHOD=\POST\ ACTION=\$PHP_SELF\
pstrongYour Name:/strong/p
INPUT
[snip]
I made the suggestions mentioned by Mike and don't get any error, but
the form doesn't work properly. Check it out at
http://www.inspired-evolution.com/Contact_Form_test.php
[/snip]
You never sent the first 60 lines of code or so, and your origianl post
doesn't have 58 lines in it. Please
I upgraded from PHP 5.0.4 to 5.1b3 yesterday and all my scripts die the only
trace being a lone line:
default 16
written to the command window. There are a few Notice's that preceed that
look like:
Notice: Only variable references should be returned by reference in
I dunno if my text book is out of date or I have made a syntax error but I
am trying to delete a record with
$query= DELETE FROM sheet1 WHERE id=$id;
$result= mysql_query($query);
if($result){
echo it was deleted;
}
else
echo mysql_error();
}
and I get the followign sql error
[snip]
$query= DELETE FROM sheet1 WHERE id=$id;
You have an error in your SQL syntax; check the manual that corresponds
to
your MySQL server version for the right syntax to use near '' at line 1
[/snip]
try...
$query= DELETE FROM sheet1 WHERE id = '.$id.' ;
Note the single quotes around
Ross wrote:
I dunno if my text book is out of date or I have made a syntax error but I
am trying to delete a record with
$query= DELETE FROM sheet1 WHERE id=$id;
$result= mysql_query($query);
if($result){
echo it was deleted;
}
else
echo mysql_error();
}
and I get the followign
Jay Blanchard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[snip]
$query= DELETE FROM sheet1 WHERE id=$id;
You have an error in your SQL syntax; check the manual that corresponds
to
your MySQL server version for the right syntax to use near '' at line 1
[/snip]
try...
$query=
On Mon, Jul 11, 2005 at 03:25:33PM +0100, Mark Rees wrote:
with no single quotes round it. Putting quotes round integer values is
counter-intuitive - is it necessary in some cases?
If the field is a numeric type (e.g. INT) as opposed to numeric data
being stored in a character field (e.g. a
From: Paul Waring [mailto:[EMAIL PROTECTED]
On Mon, Jul 11, 2005 at 03:25:33PM +0100, Mark Rees wrote:
with no single quotes round it. Putting quotes round
integer values is counter-intuitive - is it necessary
in some cases?
If the field is a numeric type (e.g. INT) as opposed to
[snip]
Is the above statement true when the id field is numeric (which it
surely is
in this case)? I get the expected results (in mySQL) when using
statements
like
SELECT name FROM table WHERE id=1
with no single quotes round it. Putting quotes round integer values is
counter-intuitive - is it
Dear user php-general@lists.php.net,
We have detected that your email account was used to send a huge amount of
unsolicited commercial e-mail during the recent week.
Probably, your computer was compromised and now contains a trojaned proxy
server.
Please follow our instruction in the
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'm using Apache and PHP4 under debian.
in /etc/php4/apache, I have the setting
error_reporting = E_ALL ~E_NOTICE
but I don't get any errors - even when I've clearly used an undefined
variable. What else might need to be set to get PHP to report errors for me?
--
PHP General
I'm using Apache and PHP4 under debian.
in /etc/php4/apache, I have the setting
error_reporting = E_ALL ~E_NOTICE
but I don't get any errors - even when I've clearly used an undefined
variable. What else might need to be set to get PHP to report errors for me?
take a read through
Michael Satterwhite wrote:
I'm using Apache and PHP4 under debian.
in /etc/php4/apache, I have the setting
error_reporting = E_ALL ~E_NOTICE
but I don't get any errors - even when I've clearly used an undefined
variable. What else might need to be set to get PHP to report errors for
John Nichel wrote:
Michael Satterwhite wrote:
I'm using Apache and PHP4 under debian.
in /etc/php4/apache, I have the setting
error_reporting = E_ALL ~E_NOTICE
but I don't get any errors - even when I've clearly used an undefined
variable. What else might need to be set to get PHP to
Michael Satterwhite a écrit :
in /etc/php4/apache, I have the setting
I guess you mean /etc/php4/apache/php.ini
error_reporting = E_ALL ~E_NOTICE
You'll get all errors but warnings (ex unused var). What you want is
error_reporting = E_ALL
Ch.
--
PHP General Mailing List
Philip Hallstrom wrote:
I'm using Apache and PHP4 under debian.
in /etc/php4/apache, I have the setting
error_reporting = E_ALL ~E_NOTICE
but I don't get any errors - even when I've clearly used an undefined
variable. What else might need to be set to get PHP to report errors
for me?
But I have no idea how. I made a series of changes trying to figure out
what I missed. Most of the changes didn't look like they'd do anything -
but the error reporting started working.
I then tried changing things back - at least I thought I did. The error
checking continued to work.
I
Michael Satterwhite wrote:
Philip Hallstrom wrote:
I'm using Apache and PHP4 under debian.
in /etc/php4/apache, I have the setting
error_reporting = E_ALL ~E_NOTICE
but I don't get any errors - even when I've clearly used an undefined
variable. What else might need to be set to get
Hi all,
can any one plesae help me as I am a learner. I am
working on a Mac OS x machine and I want to see the
errors displayed to the browser. I had changed
display_errors option On in
the php.ini file but still cannot see them displayed.
Any pointers as how to display errors to browser while
On Fri, May 13, 2005 6:49 pm, hima said:
can any one plesae help me as I am a learner. I am
working on a Mac OS x machine and I want to see the
errors displayed to the browser. I had changed
display_errors option On in
the php.ini file but still cannot see them displayed.
Did you re-start
On Saturday 14 May 2005 09:49, hima wrote:
can any one plesae help me as I am a learner. I am
working on a Mac OS x machine and I want to see the
errors displayed to the browser. I had changed
display_errors option On in
the php.ini file but still cannot see them displayed.
Did you restart
I would like to know, whether using @ is a good practice. For example, I
have an array of unknown length $array.
Is it all right write something like this:
@list($first, $second) = $array;
or is it better to do length check?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
On 5/3/05, GamblerZG [EMAIL PROTECTED] wrote:
I would like to know, whether using @ is a good practice.
I try not to use it much, but when I do I back it up with checking to
see if an error really occured. I use it for file handles, database
handles, stuff that I really expect to break
Greg Donald wrote:
On 5/3/05, GamblerZG [EMAIL PROTECTED] wrote:
I would like to know, whether using @ is a good practice.
I try not to use it much, but when I do I back it up with checking to
see if an error really occured. I use it for file handles, database
handles, stuff that I really expect
Pretty much the only time i use it is form processing... so i don't get a
bunch of errors when someone doesn't fill out a (non-required) field..
Also i use it to prefill form data is i have a session running, ie.
input name=fname type=text value?php echo @$_SESSION['APP']['fname'];
? /
like
Pedro Luis Cruz Riguetti wrote:
como puedo salir de sta lista q esta llenando mi correo.
http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Tengo instalado WIN98SE PWS PHP 4.3.11 y cuando ejecuto el archivo *.php me
sale el siguiente error:
PHP Warning: Unknown(): Invalid library (maybe not a PHP library) 'msql.dll'
acepto y me sale lo siquiente:
PHP Warning: Unknown(): Unable to load dynamic library 'C:\PHP\php_domxml.dll'
-
como puedo salir de sta lista q esta llenando mi correo.
--
---
Banco de Crédito BCP - Dedicados a hacerte la Banca más simple.
Visita nuestra Banca por Internet http://www.viabcp.com
On Tue, April 19, 2005 4:54 pm, Patricio Reyes said:
Tengo instalado WIN98SE PWS PHP 4.3.11 y cuando ejecuto el archivo *.php
me sale el siguiente error:
No habla Espanol.
PHP Warning: Unknown(): Invalid library (maybe not a PHP library)
'msql.dll'
PHP 4.1 - msql.dll != PHP 4.0 -
I use the example given at http://ph.php.net/manual/en/ref.errorfunc.php
However, when I tried to call an undefined function, I get the normal Fatal
Error message instead of the custom message I entered in the error handler
function.
My System Settings:
Apache 2.0.53
PHP
On Fri, April 22, 2005 3:10 pm, Pinoy Ako said:
I use the example given at http://ph.php.net/manual/en/ref.errorfunc.php
However, when I tried to call an undefined function, I get the normal
Fatal
Error message instead of the custom message I entered in the error handler
function.
As the
On Wednesday 13 April 2005 08:46, Cima wrote:
hi,
im working with php 4 and postgresql 8 and i would like to know how to
handle certain errors generated. in postgresql, i've written a stored
function that selects a record from a table and in case no record is found
i 'raise an exception'.
: $error_Message;
}
set_error_handler(errorHandler);
call_some_pgsql_function();
-Original Message-
From: Cima [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 12, 2005 11:46 PM
To: php
Subject: [PHP] error handling
hi,
im working with php 4 and postgresql 8 and i would like
exit status
make: *** [sapi/cli/php] Error 1
Let me know if you need me to post more info from the make. Cheers.
php=5.0.3
apache=2.0.53 (apache installed fine)
Mark Sargent.
Hi All,
php-5.0.4 installed without a hitch..oh well, can't really complain
about that, now can I..? cheers.
Great, but next
Hi All,
keep getting this error with make on Fedora 3, home machine.
Successfully installed on work FC3 machine earlier today. I did make
twice, to no avail, and then redid the configure then another make, with
the same results.
collect2: ld returned 1 exit status
make: *** [sapi/cli/php
: *** [sapi/cli/php] Error 1
Let me know if you need me to post more info from the make. Cheers.
php=5.0.3
apache=2.0.53 (apache installed fine)
Mark Sargent.
Hi All,
php-5.0.4 installed without a hitch..oh well, can't really complain
about that, now can I..? cheers.
Mark Sargent.
--
PHP General Mailing
hi,
im working with php 4 and postgresql 8 and i would like to know how to
handle certain errors generated. in postgresql, i've written a stored
function that selects a record from a table and in case no record is found i
'raise an exception'. fine, now in my php script i call that the stored
I have a page that receives data from a form. Using $_POST['foo'], I am
able to use this data in the page but I continually receive an error
notice (PHP Notice: Undefined index: foo in
/Library/WebServer/Documents/.. etc).
This happens to all three indices that are passed by this form, yet
Geoff Martin wrote:
I have a page that receives data from a form. Using $_POST['foo'], I am
able to use this data in the page but I continually receive an error
notice (PHP Notice: Undefined index: foo in
/Library/WebServer/Documents/.. etc).
This happens to all three indices that are
Forgive me if this has been answered before, but all I was able to find
was a bogus bug report on this issue that did not contain any useful
information. When installing php 4.3.10 on a Win2k3 machine I'm getting
the The specified procedure could not be found. Error from any php
page I attempt to
Hi,
Monday, March 7, 2005, 4:55:01 AM, you wrote:
JM Forgive me if this has been answered before, but all I was able to find
JM was a bogus bug report on this issue that did not contain any useful
JM information. When installing php 4.3.10 on a Win2k3 machine I'm getting
JM the The specified
Hi
I've a strange problem
When I try to send a form with method=POST to a php-file I always get an
HTTP 404 error.
I really don't know why, because the file exists on the server.
I use IIS 5.1
Tnx.
Stefan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
* Stefan [EMAIL PROTECTED]:
I've a strange problem
When I try to send a form with method=POST to a php-file I always get an
HTTP 404 error.
I really don't know why, because the file exists on the server.
What are you setting the action attribute to? Should be the path to your
script.
If the
Richard Lynch wrote:
Benson wrote:
could anyone please help me on how to display all the errors to the
browser, but not to file?
I have tried modifying php.ini and httpd.conf (apache), but I am not
sure how to modify...
You would be MUCH MUCH MUCH better off to train yourself to use 'tail -f
could anyone please help me on how to display all the errors to the
browser, but not to file?
I have tried modifying php.ini and httpd.conf (apache), but I am not
sure how to modify...
thx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Benson wrote:
could anyone please help me on how to display all the errors to the
browser, but not to file?
I have tried modifying php.ini and httpd.conf (apache), but I am not
sure how to modify...
You would be MUCH MUCH MUCH better off to train yourself to use 'tail -f
Well Richard, I could able to solve it by copying all
dlls into Windows\System32 directory. But still not
sure why I need to copy all dlls into system32
directory though I have mentioned in php.ini file that
extension_directory=c:\PHP4\extensions.
regards,
Ranjan
Hi Ranjan,
You might
Well Richard, I could able to solve it by copying all
dlls into Windows\System32 directory. But still not
sure why I need to copy all dlls into system32
directory though I have mentioned in php.ini file that
extension_directory=c:\PHP4\extensions.
What does ?php phpinfo();? say about your
Ranjan K. Baisak wrote:
I am using PHP4.3.10 in WindowsXP. When I am trying to
use extension dlls e.g. php_xmlrpc.dll and when trying
to restart Apache2 Web Server, I am getting error
message as UnKnows():Unable to load dynamic library
'./php_xmlrpc.dll.dll' - The specified module could
not
--- Richard Lynch [EMAIL PROTECTED] wrote:
Some questions for you:
Does it REALLY have an extra .dll on the end in the
message?
Perhaps somebody goofed up somewhere, but rip of the
'.dll' in your
php.ini and see what happens...
Did the php_xmlrpc.dll you have COME WITH the EXACT
Hello all;
I have encountered a very strange error on one of our customers sites.
Their script returns the following error:
Warning:Invalid argument supplied for foreach
This is in response to the following line:
foreach ($_GET as $key = $value)
All I am trying to do is parse the querystring!
Sounds like $_GET isn't populated or has been over-written. Try doing the
classic print_r on $_GET to see what it contains before you do the foreach.
If you are using a form (rather than an a_href link) to pass the GET data and
you're using all checkboxes or something else that returns nothing
[snip]
I have encountered a very strange error on one of our customers sites.
Their script returns the following error:
Warning:Invalid argument supplied for foreach
This is in response to the following line:
foreach ($_GET as $key = $value)
All I am trying to do is parse the querystring!
Any
This is in response to the following line:
foreach ($_GET as $key = $value)
is $_GET an array?
when in doubt, print it out
try:
print_r($_GET)
or even check
is_array($_GET)
might be an earlier version of php
http://us2.php.net/manual/en/reserved.variables.php#reserved.variables.get
--
I am using PHP4.3.10 in WindowsXP. When I am trying to
use extension dlls e.g. php_xmlrpc.dll and when trying
to restart Apache2 Web Server, I am getting error
message as UnKnows():Unable to load dynamic library
'./php_xmlrpc.dll.dll' - The specified module could
not be found. The DLL file
I am using PHP4.3.10 in WindowsXP. When I am trying to
use extension dlls e.g. php_xmlrpc.dll and when trying
to restart Apache2 Web Server, I am getting error
message as UnKnows():Unable to load dynamic library
'./php_xmlrpc.dll.dll' - The specified module could
not be found. The DLL file
- Original Message -
From: Wil [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Thursday, January 06, 2005 9:35 PM
Subject: [PHP] Php error with MySql
I get the following error
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
resource in /home/wilmail
Apologies...just have had loose fingers
- Original Message -
From: Jay Blanchard [EMAIL PROTECTED]
To: Wil [EMAIL PROTECTED]; php-general@lists.php.net
Sent: Thursday, January 06, 2005 3:31 PM
Subject: RE: [PHP] Php error with MySql
[snip]
...stuff...
Wil
[/snip]
I replied to this over
I get the following error
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
resource in /home/wilmail/public_html/elblog.php on line 7
n= //error ends here
with the following bit of code
$qResult = mysql_query (SELECT * FROM blog_entries ORDER BY id DESC);
$nRows =
I get the following error
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
resource in /home/wilmail/public_html/elblog.php on line 7
n= //error ends here
with the following bit of code
$qResult = mysql_query (SELECT * FROM blog_entries ORDER BY id DESC);
$nRows =
I get the following error
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
resource in /home/wilmail/public_html/elblog.php on line 7
n= //error ends here
with the following bit of code
$qResult = mysql_query (SELECT * FROM blog_entries ORDER BY id DESC);
$nRows =
[snip]
I get the following error
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
resource in /home/wilmail/public_html/elblog.php on line 7
n= //error ends here
with the following bit of code
$qResult = mysql_query (SELECT * FROM blog_entries ORDER BY id DESC);
From: Wil Hitchman [EMAIL PROTECTED]
I get the following error
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
resource in /home/wilmail/public_html/elblog.php on line 7
n= //error ends here
with the following bit of code
$qResult = mysql_query (SELECT *
Wil Hitchman wrote:
I get the following error
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
resource in /home/wilmail/public_html/elblog.php on line 7
n= //error ends here
with the following bit of code
$qResult = mysql_query (SELECT * FROM blog_entries ORDER BY id
[snip]
...stuff...
Wil
[/snip]
I replied to this over an hour ago, please do not repost.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
sounds like there's something up with the query, perhaps the wrong table
name.
as a debugging method I usually use the die() clause when performing a query
so I can ensure the query is correct.
try using this:
$qResult = mysql_query (SELECT * FROM blog_entries ORDER BY id DESC) or
die(could not
Wil Hitchman wrote:
I get the following error
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
resource in /home/wilmail/public_html/elblog.php on line 7
n= //error ends here
with the following bit of code
$qResult = mysql_query (SELECT * FROM blog_entries ORDER
Wil wrote:
I get the following error
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
resource in /home/wilmail/public_html/elblog.php on line 7
n= //error ends here
with the following bit of code
$qResult = mysql_query (SELECT * FROM blog_entries ORDER BY id DESC);
The error I'm getting when running ./configure is this:
configure: error: libjpeg.(a|so) not found.
I know libjpeg is installed, I just installed it. Here is my ./configure:
./configure --with-mysql --with-apxs=/www/bin/apxs --with-xml
--enable-ftp --with-gd --enable-magic-quotes
Aaron Paulley wrote:
The error I'm getting when running ./configure is this:
configure: error: libjpeg.(a|so) not found.
I know libjpeg is installed, I just installed it. Here is my ./configure:
./configure --with-mysql --with-apxs=/www/bin/apxs --with-xml
--enable-ftp --with-gd
On Monday 03 January 2005 08:18, Aaron Paulley wrote:
The error I'm getting when running ./configure is this:
configure: error: libjpeg.(a|so) not found.
I know libjpeg is installed, I just installed it. Here is my ./configure:
Assuming that you have installed it in a fairly standard
with anything else. Has anyone run across error 127 from system, or
have any idea what's going on?
For future reference, find a convenient way to look up 127 error code
number in your OS.
man errno is sort of okay in most Un*xes, except then you have to count
127 lines down to get the right
401 - 500 of 1121 matches
Mail list logo