Re: [PHP] Error with array and include

2006-12-05 Thread Fernando M. M.
T.Lensselink, Ok, problem solved. I didn't realized that i was using the same variable. Thanks for the help! T.Lensselink escreveu: How can you use an array as string in the include statement and two lines lower as array? Think it echo's 'S' because it see's $lang as a string and not an array

Re: [PHP] Error with array and include

2006-12-05 Thread T . Lensselink
How can you use an array as string in the include statement and two lines lower as array? Think it echo's 'S' because it see's $lang as a string and not an array. On Tue, 05 Dec 2006 13:11:12 -0200, "Fernando M. M." <[EMAIL PROTECTED]> wrote: > Hi, > > I'm having a strange problem when trying to

[PHP] Error with array and include

2006-12-05 Thread Fernando M. M.
Hi, I'm having a strange problem when trying to show a array after its value was defined on a file that was included. Something like this: On the file lang/pt_BR/login.php i have this... But the result of the first script is 'S' (without quotes). If i change lang/pt_BR/login.php to I

Re: [PHP] Error in php doc?

2006-12-05 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2006-12-05 21:50:44 +0800: > Hi. First thanks for the replies. > > Can anyone confirm that the php 5.2.0 engine takes the file name from the > path automatically and so basename() can be omitted? I understand that > leaving basename() in the code won't hurt, but I need the

Re: [PHP] Error in php doc?

2006-12-05 Thread MS P
Hi. First thanks for the replies. Can anyone confirm that the php 5.2.0 engine takes the file name from the path automatically and so basename() can be omitted? I understand that leaving basename() in the code won't hurt, but I need the info for other purpose. Thanks. > Hi. There seems to b

Re: [PHP] Error in php doc?

2006-12-03 Thread Richard Lynch
On Sun, December 3, 2006 4:39 am, MS P wrote: > Hi. There seems to be a minor error in the page > http://www.php.net/manual/en/features.file-upload.php. In Example 38-2 > "Validating file uploads", there is a line: > > $uploadfile = $uploaddir . basename($_FILES['userfile']['name']); > > It looks l

Re: [PHP] Error in php doc?

2006-12-03 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2006-12-03 18:39:41 +0800: > Hi. There seems to be a minor error in the page > http://www.php.net/manual/en/features.file-upload.php. In Example 38-2 > "Validating file uploads", there is a line: > > $uploadfile = $uploaddir . basename($_FILES['userfile']['name']); > > It

[PHP] Error in php doc?

2006-12-03 Thread MS P
Hi. There seems to be a minor error in the page http://www.php.net/manual/en/features.file-upload.php. In Example 38-2 "Validating file uploads", there is a line: $uploadfile = $uploaddir . basename($_FILES['userfile']['name']); It looks like basename() is not required there. Because i found t

Re: [PHP] Error: Cannot load /usr/local/apache2/modules/libphp4.so into server: /usr/local/apache2/modules/libphp4.so: cannot restore segment prot after reloc: Permission denied

2006-09-20 Thread Joe Wollard
Since Fedora is popular, can I assume that's what you're running? Even if it's not I'll bet it's a Linux distro that's employing SELinux. 11,500 web pages agree ;-) http://www.google.com/search?q=%22reloc:+Permission+denied%22 On 9/20/06, Kelly McCoy <[EMAIL PROTECTED]> wrote: I am getting t

[PHP] Error: Cannot load /usr/local/apache2/modules/libphp4.so into server: /usr/local/apache2/modules/libphp4.so: cannot restore segment prot after reloc: Permission denied

2006-09-20 Thread Kelly McCoy
I am getting the error Cannot load /usr/local/apache2/modules/libphp4.so into server: /usr/local/apache2/modules/libphp4.so: cannot restore segment prot after reloc: Permission denied When I try to load Apache. Running PHP 4.4.4, Apache 2.0.59, and mysql 4.1.21 All installations

Re: [PHP] Error Handling Library?

2006-08-31 Thread Martin Alterisio
I'm curious, what features are you looking for in an error handling library? 2006/8/31, Jay Paulson <[EMAIL PROTECTED]>: I've been doing some research and was wondering if anyone out there has written a library for error handling? I haven't found anything as of yet but would love to hear sugge

Re: [PHP] Error Handling Library?

2006-08-31 Thread Robert Cummings
On Thu, 2006-08-31 at 11:12 -0500, Jay Paulson wrote: > I've been doing some research and was wondering if anyone out there has > written a library for error handling? I haven't found anything as of yet > but would love to hear suggestions! PEAR Cheers, Rob. -- .

Re: [PHP] Error Handling Library?

2006-08-31 Thread Rafael Mora
Hi!, u can extend the exception class and handle ur own errors, If u need help let me know! Rafa On 8/31/06, Jay Paulson <[EMAIL PROTECTED]> wrote: I've been doing some research and was wondering if anyone out there has written a library for error handling? I haven't found anything as of yet

[PHP] Error Handling Library?

2006-08-31 Thread Jay Paulson
I've been doing some research and was wondering if anyone out there has written a library for error handling? I haven't found anything as of yet but would love to hear suggestions! Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Error Reporting for file commands

2006-08-04 Thread Richard Lynch
On Tue, July 25, 2006 10:32 am, James Nunnerley wrote: > We've created a file manager which allows users to access their web > space on > a server. It's working brilliantly, except that it would seem there > are > some caching issues, either by the system cache or the web server > cache that > are

Re: [PHP] Error Loading php module

2006-07-31 Thread Chris
Brad Bonkoski wrote: Any insights or tips into this? httpd: Syntax error on line 232 of /home/www/conf/httpd.conf: Cannot load /home/www/modules/libphp5.so into server: /home/www/modules/libphp5.so: undefined symbol: _pcre_ucp_findprop The pcre reference would point to this: http://www.php.n

[PHP] Error Loading php module

2006-07-31 Thread Brad Bonkoski
Any insights or tips into this? httpd: Syntax error on line 232 of /home/www/conf/httpd.conf: Cannot load /home/www/modules/libphp5.so into server: /home/www/modules/libphp5.so: undefined symbol: _pcre_ucp_findprop TIA. -Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] RE: Spam:[PHP] Error Reporting for file commands

2006-07-25 Thread Jochem Maas
James Nunnerley wrote: >> [snip] >> When the script tries to delete a file, we always check (using >> file_exists) to see whether the file exists before it's deleted. >> >> The check comes back true, but the unlink then fails, saying no file or >> directory there! >> [/snip] >> >> Could you please

[PHP] RE: Spam:[PHP] Error Reporting for file commands

2006-07-25 Thread James Nunnerley
> [snip] > When the script tries to delete a file, we always check (using > file_exists) to see whether the file exists before it's deleted. > > The check comes back true, but the unlink then fails, saying no file or > directory there! > [/snip] > > Could you please post the code you are using to c

Re: [PHP] Error Reporting for file commands

2006-07-25 Thread Jon Anderson
You could try prefixing the unlink function call with an @: if (file_exists($fn)) { @unlink($fn); } The @ should suppress any errors. jon James Nunnerley wrote: We've created a file manager which allows users to access their web space on a server. It's working brilliantly, except that it

[PHP] Error Reporting for file commands

2006-07-25 Thread James Nunnerley
We've created a file manager which allows users to access their web space on a server. It's working brilliantly, except that it would seem there are some caching issues, either by the system cache or the web server cache that are causing us a headache. When the script tries to delete a file, we a

Re: [PHP] error message

2006-04-29 Thread Richard Lynch
On Thu, April 27, 2006 7:46 am, cybermalandro cybermalandro wrote: > I am running an old version of PHP for winblows 4.3.8. I cannot > upgrade to > 4.4.2 yet. I rebooted the web server and the box. I am not doing any > exception handling. I want the errors to be writtent to a log but > instead >

Re: [PHP] error message

2006-04-27 Thread cybermalandro cybermalandro
I am running an old version of PHP for winblows 4.3.8. I cannot upgrade to 4.4.2 yet. I rebooted the web server and the box. I am not doing any exception handling. I want the errors to be writtent to a log but instead they keep showing in the browser. Is there something I am missing? I did set

Re: [PHP] error message

2006-04-26 Thread Jason Barnett
Let's not open an error report just yet... there are already too many "bugs" in the database! A snippet of the relevant code would be nice though. Perhaps your odbc_errormsg($conn) is being echo'd to stdout? Or you are using those fun Exception beasts? On 4/26/06, chris smith <[EMAIL PROTECTED

Re: [PHP] error message

2006-04-26 Thread chris smith
On 4/27/06, cybermalandro cybermalandro <[EMAIL PROTECTED]> wrote: > I have set in display_errors = off on my php.ini but I can still see ODBC > related error messages when I try to duplicate an ODBC error. Am I missing > something to turn this off? Can you produce a small test case? Maybe post a

Re: [PHP] error message

2006-04-26 Thread Richard Lynch
Re-boot. On Wed, April 26, 2006 4:27 pm, cybermalandro cybermalandro wrote: > Yes, > Yes and > Yes although I am not running apache I am running IIS. > > On 4/26/06, Richard Lynch <[EMAIL PROTECTED]> wrote: >> >> On Wed, April 26, 2006 4:08 pm, cybermalandro cybermalandro wrote: >> > I have set

Re: [PHP] error message

2006-04-26 Thread cybermalandro cybermalandro
Yes, Yes and Yes although I am not running apache I am running IIS. On 4/26/06, Richard Lynch <[EMAIL PROTECTED]> wrote: > > On Wed, April 26, 2006 4:08 pm, cybermalandro cybermalandro wrote: > > I have set in display_errors = off on my php.ini but I can still see > > ODBC > > related error messag

Re: [PHP] error message

2006-04-26 Thread Richard Lynch
On Wed, April 26, 2006 4:08 pm, cybermalandro cybermalandro wrote: > I have set in display_errors = off on my php.ini but I can still see > ODBC > related error messages when I try to duplicate an ODBC error. Am I > missing > something to turn this off? Does reflect your changes to php.ini? Does

Re: [PHP] error message

2006-04-26 Thread Jochem Maas
cybermalandro cybermalandro wrote: I have set in display_errors = off on my php.ini but I can still see ODBC related error messages when I try to duplicate an ODBC error. Am I missing something to turn this off? restart the server? also check that ini_set('display_errors', 0); doesn't have the

[PHP] error message

2006-04-26 Thread cybermalandro cybermalandro
I have set in display_errors = off on my php.ini but I can still see ODBC related error messages when I try to duplicate an ODBC error. Am I missing something to turn this off? Thanks!

Re: [PHP] PHP error log

2006-04-20 Thread Richard Lynch
On Thu, April 20, 2006 7:42 am, Weber Sites LTD wrote: > I'm using PHP 4.4.0 (cli) and all of the errors / warnings are written > to > file. > I can see all of the direct errors but when I have an error inside an > include > file the script fails and the error is not shown in the log. I have to > "

RE: [PHP] PHP error log

2006-04-20 Thread Weber Sites LTD
ROTECTED] Sent: Thursday, April 20, 2006 5:15 PM To: Weber Sites LTD Cc: php-general@lists.php.net Subject: Re: [PHP] PHP error log Run the include file separately and see if it produces an error. Also make sure that if you have "short open tags=OFF" that your include file uses normal tags.

Re: [PHP] PHP error log

2006-04-20 Thread Wolf
Run the include file separately and see if it produces an error. Also make sure that if you have "short open tags=OFF" that your include file uses normal tags. Code normally helps. Wolf Weber Sites LTD wrote: > Hi > > I'm using PHP 4.4.0 (cli) and all of the errors / warnings are written to >

Re: [PHP] PHP error log

2006-04-20 Thread Martin Alterisio \"El Hombre Gris\"
Please, explain how are you logging the errors. Weber Sites LTD wrote: Hi I'm using PHP 4.4.0 (cli) and all of the errors / warnings are written to file. I can see all of the direct errors but when I have an error inside an include file the script fails and the error is not shown in the log. I

RE: [PHP] PHP error log

2006-04-20 Thread Ing. Edwin Cruz
@lists.php.net CC: [EMAIL PROTECTED] Asunto: [PHP] PHP error log Hi I'm using PHP 4.4.0 (cli) and all of the errors / warnings are written to file. I can see all of the direct errors but when I have an error inside an include file the script fails and the error is not shown in the log. I have to &

[PHP] PHP error log

2006-04-20 Thread Weber Sites LTD
Hi I'm using PHP 4.4.0 (cli) and all of the errors / warnings are written to file. I can see all of the direct errors but when I have an error inside an include file the script fails and the error is not shown in the log. I have to "guess" Where the error is. Any idea what I'm missing. Thanks B

Re: [PHP] Error when compiling PHP from source on Mac OS X 10.4 server

2006-04-05 Thread Frank Arensmeier
I tried to install PHP 4 with darwinports yesterday. And it gave me the same error. Configuring the install seems not to be the problem, but the install make. It has definitely something to do with the absence of some developer packages from Apache on my machine. I actually found a rather b

Re: [PHP] Error when compiling PHP from source on Mac OS X 10.4 server

2006-04-05 Thread T.Lensselink
Maybe try to configure with the direct path to the apache source files... --with-apxs=/path/to/apache/bin/apxs Frank Arensmeier said: > Hello. > > I try to compile PHP 4.4.2 from source on Mac OS X 10.4 server but I > am getting error messages. The the install configuration runs just > fine using

Re: [PHP] Error when compiling PHP from source on Mac OS X 10.4 server

2006-04-05 Thread Georgi Ivanov
I think you are missing httpd-devel package. At least on Linux is called something like this. Also look for /usr/sbin/apxs(2) If you are with apache 2.x you should use --with-apxs2[=/usr/sbin/apxs2] Good luck On Wednesday April 5 2006 12:54, Frank Arensmeier wrote: > Hello. > > I try to compile

[PHP] Error when compiling PHP from source on Mac OS X 10.4 server

2006-04-05 Thread Frank Arensmeier
Hello. I try to compile PHP 4.4.2 from source on Mac OS X 10.4 server but I am getting error messages. The the install configuration runs just fine using the following options: ./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/lib --with-apxs --with-iconv=/usr/local

FW: [PHP] php error reporting problem

2006-03-30 Thread Ford, Mike
-Original Message- From: ngwarai zed [mailto:[EMAIL PROTECTED] Sent: 30 March 2006 13:36 I am using Fedora core 4. yes I stopped and restarted apache On 3/30/06, Ford, Mike wrote: On 29 March 2006 15:25, ngwarai zed wrote: > phpinfo says > > Configuration File (php.ini) Path /

RE: [PHP] php error reporting problem

2006-03-30 Thread Ford, Mike
On 29 March 2006 15:25, ngwarai zed wrote: > phpinfo says > > Configuration File (php.ini) Path /etc/php.ini > > And the file I am editing is /etc/php.ini Is this not the > one Iam supposed to edit? On list please! H'mmm -- file permissions? You've stopped and restarted Apache? Which oper

Re: [PHP] php error reporting problem

2006-03-29 Thread Christopher Murtagh
On Wed, 2006-03-29 at 16:38 +0300, ngwarai zed wrote: > I tried changing display_errors = On and error_reporting = On in > php.ini , restarted httpd but when I check with phpinfo() I still see > display_errors set to Off and error_reporting set to 2047. My php > script still does not show any error

Re: [PHP] php error reporting problem

2006-03-29 Thread Christopher Murtagh
On Wed, 2006-03-29 at 18:25 +0300, ngwarai zed wrote: > But still the problem is not solved. Just to recap on the problem: I > just want the deliberate php errors Imake to shown as errors on the > php page when the script runs. Yes, that should be the normal behaviour. Check your error_reporting s

Re: [PHP] php error reporting problem

2006-03-29 Thread ngwarai zed
Thanks Christopher for your help. I followed you numbered advicestep by step. 1) I verified that there weren't any typo's that were causing fatal problems in my php.ini 2) looked at the output of phpinfo() and verified the location of the php.ini script. /etc/php.ini .This is the file I am modif

RE: [PHP] php error reporting problem

2006-03-29 Thread Ford, Mike
> -Original Message- > From: ngwarai zed [mailto:[EMAIL PROTECTED] > Sent: 29 March 2006 14:39 > To: Christopher Murtagh > The problem is I know what the error is. What I want is for > the error to be shown when I run the script not to be just > written to the error log. I tried changin

Re: [PHP] php error reporting problem

2006-03-29 Thread ngwarai zed
I checked the apache error log and the error is written there just as I expected like below. [client 127.0.0.1] PHP Parse error: parse error, unexpected T_STRING, expecting ',' or ';' on line 90, referer: http://localhost/form.html The problem is I know what the error is. What I want is for th

Re: [PHP] php error reporting problem

2006-03-28 Thread Paul Novitski
At 10:57 AM 3/28/2006, ngwarai zed wrote: hi, I omitted a semicolon ; at the end of a php statement on purpose to see what the error looks like. I ran the script and a blank page just came out.No error message. I then edited php.ini and set Display_errors = On and errror_reporting = E_ALL then

Re: [PHP] php error reporting problem

2006-03-28 Thread John Nichel
ngwarai zed wrote: hi, I omitted a semicolon ; at the end of a php statement on purpose to see what the error looks like. I ran the script and a blank page just came out.No error message. I then edited php.ini and set Display_errors = On and errror_reporting = E_ALL then restarted httpd. Ran t

[PHP] php error reporting problem

2006-03-28 Thread ngwarai zed
hi, I omitted a semicolon ; at the end of a php statement on purpose to see what the error looks like. I ran the script and a blank page just came out.No error message. I then edited php.ini and set Display_errors = On and errror_reporting = E_ALL then restarted httpd. Ran the script again and

Re: [PHP] Error loading module php_mapscript.so (zend_hash_internal_pointer_reset_ex)

2006-03-22 Thread Robert Cummings
On Wed, 2006-03-22 at 18:47, Fósforo wrote: > Hi, > > I just have compiled a module for my webserver, added it to > httpd.conf, but apache gives me an error when i try to start it: > > [EMAIL PROTECTED]:/var/www/html/laget/servlet# apachectl configtest > Syntax error on line 241 of /etc/apache/ht

Re: [PHP] Error loading module php_mapscript.so

2006-03-22 Thread Chris
Fósforo wrote: Hi, I just have compiled a module for my webserver, added it to httpd.conf, but apache gives me an error when i try to start it: [EMAIL PROTECTED]:/var/www/html/laget/servlet# apachectl configtest Syntax error on line 241 of /etc/apache/httpd.conf: Cannot load /usr/libexec/apache

[PHP] Error loading module php_mapscript.so (zend_hash_internal_pointer_reset_ex)

2006-03-22 Thread Fósforo
Hi, I just have compiled a module for my webserver, added it to httpd.conf, but apache gives me an error when i try to start it: [EMAIL PROTECTED]:/var/www/html/laget/servlet# apachectl configtest Syntax error on line 241 of /etc/apache/httpd.conf: Cannot load /usr/libexec/apache/php_mapscript.so

Re: [PHP] Error compiling php 5.1.2

2006-02-25 Thread Paul Reinheimer
-openssl=/usr/local/' '--enable-dba=shared' '--with-db4' > > '--disable-eapi' '--with-xsl' '--enable-memory-limit' > > '--with-libxml-dir=/usr/local/lib/' > > > > make ends with > > > > collec

Re: [PHP] Error compiling php 5.1.2

2006-02-25 Thread Richard Lynch
27;--enable-dba=shared' '--with-db4' > '--disable-eapi' '--with-xsl' '--enable-memory-limit' > '--with-libxml-dir=/usr/local/lib/' > > make ends with > > collect2: ld returned 1 exit status > make: *** [sapi/cli/php] Error 1 &g

Re: [PHP] Error compiling php 5.1.2

2006-02-25 Thread Paul Reinheimer
Thanks, I've subscribed to and posted to the instalation list. I'm going to try and stay off internals@ if I have a choice. thanks paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Error compiling php 5.1.2

2006-02-25 Thread chris smith
#x27; '--with-curl' > '--with-openssl=/usr/local/' '--enable-dba=shared' '--with-db4' > '--disable-eapi' '--with-xsl' '--enable-memory-limit' > '--with-libxml-dir=/usr/local/lib/' > > make ends with >

[PHP] Error compiling php 5.1.2

2006-02-25 Thread Paul Reinheimer
;--with-db4' '--disable-eapi' '--with-xsl' '--enable-memory-limit' '--with-libxml-dir=/usr/local/lib/' make ends with collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 anyone got any ideas, or hints on what information I should be giving to make diagnosis easier/possible? thanks paul -- Paul Reinheimer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] error: Process limit exceeded for uid 10337 [25 >= 24]

2005-12-28 Thread Curt Zirzow
On Wed, Dec 28, 2005 at 08:33:58AM -0500, Cesar Cruz wrote: > This error happens in my Web http://www.millonarios.com.co/ > > Process limit exceeded for uid 10337 [25 >= 24] > > as it can be the cause? This sounds like some sort of OS error, probably due to your uid not being able to go over

Re: [PHP] Re: php error message

2005-11-17 Thread Jasper Bryant-Greene
Chuck Anderson wrote: Ben wrote: Edward Martin said the following on 11/17/2005 04:27 PM: "Warning: Cannot modify header information - headers already sent by (output started at /usr/home/ecmartin/public_html/ethics06/calendarlogin.php:8) in /usr/home/ecmartin/public_html/ethics06/sas.php on

[PHP] Re: php error message

2005-11-17 Thread Chuck Anderson
Ben wrote: Edward Martin said the following on 11/17/2005 04:27 PM: "Warning: Cannot modify header information - headers already sent by (output started at /usr/home/ecmartin/public_html/ethics06/calendarlogin.php:8) in /usr/home/ecmartin/public_html/ethics06/sas.php on line 34" It m

[PHP] Re: php error message

2005-11-17 Thread Ben
Edward Martin said the following on 11/17/2005 04:27 PM: "Warning: Cannot modify header information - headers already sent by (output started at /usr/home/ecmartin/public_html/ethics06/calendarlogin.php:8) in /usr/home/ecmartin/public_html/ethics06/sas.php on line 34" It means you are trying t

[PHP] php error message

2005-11-17 Thread Edward Martin
I am new to working with php and I am having trouble trying to figure out this following "error" message that is displayed when I access a php file. Can you tell me what this error message means (in plain English) and what steps I might take to correct it? "Warning: Cannot modify header informatio

Re: [PHP] Error "Command failed for target 'ext/xml/xml.lo'" during make process (Solaris 8)

2005-11-16 Thread Curt Zirzow
On Tue, Nov 15, 2005 at 09:20:54PM +0100, Age Bosma wrote: > Hi, > > I'm trying to compile php 4.4.1 on Solaris 8 but I'm getting the error > "Command failed for target 'ext/xml/xml.lo'" during the make process. > > [snip] > /nfs/dm11-fs22/work/training/dj365/php-4.4.1/ext/xml/xml.c:1582: > `XML_

Re: [PHP] Error Messages, Windows, and Tequila

2005-11-16 Thread Dan McCullough
Also check to make sure that its the right php.ini file, I have had a problem in the past when the installer has put the php.ini file in the WINDOWS directory and there is an existing one in the PHP directory as well. I would check phpinfo and see where the php.ini file is located. On 11/16/05, R

RE: [PHP] Error Messages, Windows, and Tequila

2005-11-16 Thread Jay Blanchard
[snip] Printing error messages to your output can be disabled with the "display_errors" directive in your php.ini file. To enable error printing, the directive should read: display_errors = On [/snip] You are correct sir, it is set to off by default. I will hike over to the data center and flick

Re: [PHP] Error Messages, Windows, and Tequila

2005-11-16 Thread Richard Davey
Hi Jay, Wednesday, November 16, 2005, 4:36:25 PM, you wrote: > Does anyone know (I have error reporting set so high it would make > your head swim) why errors wouldn't be output to a browser window > when they occur? For instance, I typed the following; Are you 100% Tequila-worm sure you've got

Re: [PHP] Error Messages, Windows, and Tequila

2005-11-16 Thread David Grant
Printing error messages to your output can be disabled with the "display_errors" directive in your php.ini file. To enable error printing, the directive should read: display_errors = On Cheers, Dave Jay Blanchard wrote: > Hidy-ho good meighbors and neighborettes! > > I continue my, as yet unq

[PHP] Error Messages, Windows, and Tequila

2005-11-16 Thread Jay Blanchard
Hidy-ho good meighbors and neighborettes! I continue my, as yet unquenched, fascination with the Windows operating system[sic]. Does anyone know (I have error reporting set so high it would make your head swim) why errors wouldn't be output to a browser window when they occur? For instance, I typ

[PHP] Error "Command failed for target 'ext/xml/xml.lo'" during make process (Solaris 8)

2005-11-15 Thread Age Bosma
Hi, I'm trying to compile php 4.4.1 on Solaris 8 but I'm getting the error "Command failed for target 'ext/xml/xml.lo'" during the make process. [snip] /nfs/dm11-fs22/work/training/dj365/php-4.4.1/ext/xml/xml.c:1582: `XML_Char' undeclared (first use in this function) /nfs/dm11-fs22/work/training

Re: [PHP] Error in reading and writing bytes

2005-11-09 Thread Curt Zirzow
On Wed, Nov 09, 2005 at 08:23:04PM -0800, kumar kumar wrote: > Hi > i am new to PHP .I am facing some problems . > Here is the code below > > Here the applet will send the files thru http . files > from 30 bytes to 2 GB. > > > > $getdata = fopen("php://input", "r"); > ... > > while (s

[PHP] Error in reading and writing bytes

2005-11-09 Thread kumar kumar
Hi i am new to PHP .I am facing some problems . Here is the code below Here the applet will send the files thru http . files from 30 bytes to 2 GB. $val) { $default=$default.$val; if(!file_exists($default)) if (!mkdir($default,$dirmode)) {

[PHP] Error in reading and writing bytes

2005-11-09 Thread kumar kumar
Hi i am new to PHP .I am facing some problems . Here is the code below Here the applet will send the files thru http . files from 30 bytes to 2 GB. $val) { $default=$default.$val; if(!file_exists($default)) if (!mkdir($default,$dirmode)) {

Re: [PHP] error reporting php-5.0.4-10.4 on FC4

2005-10-24 Thread Jochem Maas
Bob Hartung wrote: Jasper If if make a file containing only I get what I expected. take a good look at where php is reading its ini file from - it may not be where you expect If I make a file containing 'void' is not a php keyword. that would give a parse error {

Re: [PHP] error reporting php-5.0.4-10.4 on FC4 - RESOLVED!!

2005-10-23 Thread Bob Hartung
It wasn't what I was looking for but I enable it: include_path = ".:/php/includes" This was commented out. After uncommenting it all works as I expected except that my syntax in the class was wrong. Now I can at least start to learn. Thanks Jasper and Derek - you gave me a shove in the

Re: [PHP] error reporting php-5.0.4-10.4 on FC4

2005-10-23 Thread Jasper Bryant-Greene
On Sun, 2005-10-23 at 23:01 -0400, Bob Hartung wrote: > Jasper & Derek > >phpinfo() says: > configuration file path /etc/php.ini > >PHP Core >DirectiveLocal Value Master Value > > display_errorsOff Off > error_log

Re: [PHP] error reporting php-5.0.4-10.4 on FC4

2005-10-23 Thread Bob Hartung
Jasper & Derek phpinfo() says: configuration file path /etc/php.ini PHP Core DirectiveLocal Value Master Value display_errorsOff Off error_logno value no value log errorson

Re: [PHP] error reporting php-5.0.4-10.4 on FC4

2005-10-23 Thread Derek Williams
Bob Hartung wrote: Jasper If if make a file containing only I get what I expected. If I make a file containing I get NO output or errors in the browser window. If I select "view source" it returns: Eh? Anyone with any other ideas Tnx Bob Hartung Jasper Bryant-Greene wrot

Re: [PHP] error reporting php-5.0.4-10.4 on FC4

2005-10-23 Thread Jasper Bryant-Greene
On Sun, 2005-10-23 at 21:31 -0400, Bob Hartung wrote: > Jasper >If if make a file containing only > phpinfo() ; >?> >I get what I expected. > >If I make a file containing > > phpinfo() ; > > // Now a simple class and a call to the class > class Simple() Your erro

Re: [PHP] error reporting php-5.0.4-10.4 on FC4

2005-10-23 Thread Bob Hartung
Jasper If if make a file containing only I get what I expected. If I make a file containing I get NO output or errors in the browser window. If I select "view source" it returns: Eh? Anyone with any other ideas Tnx Bob Hartung Jasper Bryant-Greene wrote: http://www.php.ne

Re: [PHP] error reporting php-5.0.4-10.4 on FC4

2005-10-23 Thread Jasper Bryant-Greene
On Sun, 2005-10-23 at 17:31 -0400, Bob Hartung wrote: > Hi all, >Slowly I'm progressing. >Now how to turn error reporting on for a test apache server. > >I have made the following changes to /etc/php.ini: > >error_reporting = E_ALL >display_errors = On >error_l

[PHP] error reporting php-5.0.4-10.4 on FC4

2005-10-23 Thread Bob Hartung
Hi all, Slowly I'm progressing. Now how to turn error reporting on for a test apache server. I have made the following changes to /etc/php.ini: error_reporting = E_ALL display_errors = On error_log = /var/log/php_errors On errors I still have no in browser display nor

Re: [PHP] Error with DOMDocument->saveXML()

2005-09-29 Thread Stephen Leaf
On Thursday 29 September 2005 12:26 pm, Stephen Leaf wrote: I have figured it out! My guess couldn't have been more _wrong_. Here is all you need to recreate the Error. There is only 1 value that is off. in the DOMDocument I gave it the wrong encoding type. uft-8 .. it should read utf-8. Interesti

Re: [PHP] Error with DOMDocument->saveXML()

2005-09-29 Thread Stephen Leaf
On Thursday 29 September 2005 09:37 am, Scott Fletcher wrote: > It is just that not many work with XML often enough to know well enough how > to use it. I noticed many folks have different way of using XML that > doesn't best fit our need. It is a newer idea of how to do things. > > I have this s

Re: [PHP] Error with DOMDocument->saveXML()

2005-09-29 Thread Scott Fletcher
It is just that not many work with XML often enough to know well enough how to use it. I noticed many folks have different way of using XML that doesn't best fit our need. I have this same problem as well. So, you're not the only one here as I have this same problem as well. "Stephen Leaf" <[EM

Re: [PHP] Error with DOMDocument->saveXML()

2005-09-29 Thread Stephen Leaf
On Thursday 29 September 2005 04:20 am, Andy Pieters wrote: > Hi > > > Fatal error: Method Document::__toString() must return a string > > value in /srv/www/localhost/htdocs/db/index.php on line > > 140 > > That's just what it says, check your program flow. > > You overrided the tostring function

Re: [PHP] Error with DOMDocument->saveXML()

2005-09-29 Thread Andy Pieters
Hi > Fatal error: Method Document::__toString() must return a string > value in /srv/www/localhost/htdocs/db/index.php on line > 140 That's just what it says, check your program flow. You overrided the tostring function and somewhere in that new function you jump out of it because of a flag

[PHP] Error with DOMDocument->saveXML()

2005-09-28 Thread Stephen Leaf
Ok how I have things set up is I have a Document Object which when instantiated creates a root element and adds it to the DOM object. After that all population of this node is done on the requested page. When I'm done populating I output my header()'s and then echo my Document Object. I've overr

Re: [PHP] error when open files

2005-09-28 Thread Emil Novak
If this isn't local webserver, you maybe have a problem with allow_url_fopen: http://www.php.net/manual/en/ref.filesystem.php#ini.allow-url-fopen Or if this is on your local server, you can try this: $fp = fopen("/A.zip", "r"); Your sincerely Emil NOVAK, Slovenia, EU

[PHP] error when open files

2005-09-28 Thread 宋琦
Hi everyone I`m a phper from chinese, I`v got a problem when opening files. In the web server there are two files named A.zip and B.zip, when I open them with "$fp=fopen("http://mysite.com/A.zip","r";);" and "$fp1=fopen("http://mysite.com/B.zip","r";);", the first file was opened correctly but

RE: [PHP] error message while mysqling on php

2005-09-14 Thread Michal Krezolek
Thanks very much. I had an extra character when I was connecting to the database. Now everything works!!! -Original Message- From: Alan Fullmer [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 13, 2005 5:14 PM To: 'Michal Krezolek'; php-general@lists.php.net Subject: RE: [

RE: [PHP] error message while mysqling on php

2005-09-13 Thread Alan Fullmer
3:05 PM To: 'Michal Krezolek'; php-general@lists.php.net Subject: RE: [PHP] error message while mysqling on php > I have received an error: Warning: mysql_num_rows(): supplied argument is > not a valid MySQL result resource in /home/www/mksystem.net when trying to > execute $num

RE: [PHP] error message while mysqling on php

2005-09-13 Thread Murray @ PlanetThoughtful
> I have received an error: Warning: mysql_num_rows(): supplied argument is > not a valid MySQL result resource in /home/www/mksystem.net when trying to > execute $num = mysql_num_rows($result); > > Please go to http://mksystem.net/phpinfo.php and tell me whether it is due > to the version of php

RE: [PHP] error message while mysqling on php

2005-09-13 Thread Jay Blanchard
[snip] I have received an error: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/mksystem.net when trying to execute $num = mysql_num_rows($result); [/snip] Post a little code and we might be able to help you. It is likely that $result is not the vari

[PHP] error message while mysqling on php

2005-09-13 Thread Michal Krezolek
I have received an error: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/mksystem.net when trying to execute $num = mysql_num_rows($result); Please go to http://mksystem.net/phpinfo.php and tell me whether it is due to the version of php I have on se

Fwd: [PHP] Error Handling

2005-09-09 Thread Pablo M. Rivas
Hello Chuck On 9/9/05, Chuck Brockman <[EMAIL PROTECTED]> wrote: > What is a good way to capture errors that occur. I've tried the > following code in development, but it still spits out an error (Parse > error: syntax error, unexpected '}', expecting ',' or ';' in > X:\\\.php on line

[PHP] Error Handling

2005-09-09 Thread Chuck Brockman
What is a good way to capture errors that occur. I've tried the following code in development, but it still spits out an error (Parse error: syntax error, unexpected '}', expecting ',' or ';' in X:\\\.php on line 7) Thanks. -- PHP General Mailing List (http://www.php.net/) To unsub

Re: [PHP] Error #1136

2005-08-25 Thread Jochem Maas
Jay Blanchard wrote: [snip] Column count doesn't match value count at row 1 What does that mean? I have an id auto_increment and it breaks everytime because of that error. This has never happend before... [/snip] This is a MySQL problem and should be asked on a MySQL list, but having said th

Re: [PHP] Error #1136

2005-08-25 Thread Richard Lynch
On Wed, August 24, 2005 11:42 am, George B wrote: > Column count doesn't match value count at row 1 > > What does that mean? I have an id auto_increment and it breaks > everytime > because of that error. This has never happend before... If you REALLY don't want to specify all the column names (a

RE: [PHP] Error #1136

2005-08-24 Thread Jim Moseby
> > Can you include the SQL statement that is creating the error? > > The error basically means you are trying to put more data > into the dB then > you have data cells for. > > For instance : > > Good sql statement: > > $sql = "insert into table (name, address, city, state, zip) > VALUES (

<    1   2   3   4   5   6   7   8   9   10   >