We have a server that gets a large number of requests each month.
After a period of time I began to see this error in our error logs this
weekend.
PHP Fatal error: Call to undefined function ()
It does not reference a function, so I found it odd. It did give a line to
a function
On 7 Oct 2013, at 14:24, Michael Alaimo malaimo...@gmail.com wrote:
We have a server that gets a large number of requests each month.
After a period of time I began to see this error in our error logs this
weekend.
PHP Fatal error: Call to undefined function ()
It does not reference
a large number of requests each month.
After a period of time I began to see this error in our error logs this
weekend.
PHP Fatal error: Call to undefined function ()
It does not reference a function, so I found it odd. It did give a line
to
a function with array_merge on it.
Has
of time I began to see this error in our error logs this
weekend.
PHP Fatal error: Call to undefined function ()
It does not reference a function, so I found it odd. It did give a line to
a function with array_merge on it.
Has anyone seen this in the apache error logs? We are using
Hi, I get the following error in my apache error log:
[14-Mar-2011 14:17:27] PHP Fatal error: Cannot redeclare class
I created a simplified set of php files and classes to formulate this question.
I have 5 php files; 2 of which declare a class that has the same name in both.
I know it would
On Mon, Mar 14, 2011 at 10:34, brendan_crow...@dellteam.com wrote:
Hi, I get the following error in my apache error log:
[14-Mar-2011 14:17:27] PHP Fatal error: Cannot redeclare class
I created a simplified set of php files and classes to formulate this
question.
I have 5 php files; 2
Thanks Louis,
Worked a treat!
-Original Message-
From: Louis Huppenbauer [mailto:louis.huppenba...@gmail.com]
Sent: 14 March 2011 15:10
To: Crowley, Brendan - Dell Team
Subject: Re: [PHP] PHP Fatal error: Cannot redeclare class
what about http://ch2.php.net/namespaces in php 5.3?
2011
Hello,
I have an issu with a script launched by cron.
In fact, although i setup php memory_limit to high value (1G or 2Go),
i have the same issue.
By example with 2G :
Output from command /usr/bin/php5 -d memory_limit=2G -f
/home/test/www/cron.php ..
Fatal error: Allowed memory size of
Greetings,
I'm having a very simple problem that I can't seem to find the solution to.
I try and access a method in this class I made called
MyPropertyManagement... the method is named get_complexes(). I try and
strip down the entire class to just focus on this problem with the hopes of
it
Try this:
?php
class PropertyMgmt
{
function PropertyMgmt() {
global $complexes; /* yes I know using globals is dangerous, I
will fix this soon! :-) */
}
public function get_complexes() {
/* null */
}
} // end class
--
João Cândido de Souza Neto
TransientSeeker
After trying everything everyone said in here, I finally had a clear enough
head to read through my logs and both my Apache httpd.conf and my PHP6 php.ini
files. I realized that in my Apache error log, it was listing the fact that
PHP could not load the modules for mysqli and xmlrpc (or
Hi,
Would someone be kind enough to test whether these following functions work?
I'm getting: PHP Fatal error: Call to undefined function easter_date() . . .
easter_days on both local and production sites.
?php
echo easter_days(2009);
print brbr;
echo date(M-d-Y
What platform? If you compiled PHP yourself you need to compile with
--enable-calendar.
Jonathan
On Fri, Oct 9, 2009 at 10:01 AM, kro...@aolohr.com wrote:
Hi,
Would someone be kind enough to test whether these following functions work?
I'm getting: PHP Fatal error: Call to undefined
:
What platform? If you compiled PHP yourself you need to compile with
--enable-calendar.
Jonathan
On Fri, Oct 9, 2009 at 10:01 AM, kro...@aolohr.com wrote:
Hi,
Would someone be kind enough to test whether these following functions
work?
I'm getting: PHP Fatal error: Call to undefined
, 10 Oct 2009 02:01:24 kro...@aolohr.com wrote:
Hi,
Would someone be kind enough to test whether these following functions work?
I'm getting: PHP Fatal error: Call to undefined function
easter_date() . . .
easter_days on both local and production sites.
?php
echo easter_days
getting: PHP Fatal error: Call to undefined function
easter_date() . . .
easter_days on both local and production sites.
?php
echo easter_days(2009);
print brbr;
echo date(M-d-Y, easter_date(2009));
print brbr;
echo date(D d M Y, easter_date(2009
these following functions
work?
I'm getting: PHP Fatal error: Call to undefined function
easter_date() . . .
easter_days on both local and production sites.
?php
echo easter_days(2009);
print brbr;
echo date(M-d-Y, easter_date(2009));
print brbr;
echo date(D d M Y
wrote:
Hi,
Would someone be kind enough to test whether these following functions
work?
I'm getting: PHP Fatal error: Call to undefined function
easter_date() . . .
easter_days on both local and production sites.
?php
echo easter_days(2009);
print brbr;
echo
I am recieving a fatal error trying to connect to my server/mysql. This is
my first attempt at connecting to a remote server, have been successful with
localhost (apache). I had the variation of not putting the hostname others
into a variable, but that did not work either.
I have also
Gary wrote:
I am recieving a fatal error trying to connect to my server/mysql.
This is my first attempt at connecting to a remote server, have been
successful with localhost (apache). I had the variation of not putting
the hostname others into a variable, but that did not work either.
I
On Sat, Mar 14, 2009 at 13:41, Per Jessen p...@computer.org wrote:
Check if the mysqli extension has been loaded.
Also check this page:
http://us.php.net/manual/en/mysqli.connect.php
For some of the mirrors, trying to hit
http://php.net/mysqli_connect erroneously takes you to
Thanks for your quick reply, but I do not know what that means... Where
would I find this out and how would I accomplish this if it is not done?
Thanks again.
Per Jessen p...@computer.org wrote in message
news:gpgq8i$h5...@saturn.local.net...
Gary wrote:
I am recieving a fatal error trying
Gary wrote:
Thanks for your quick reply, but I do not know what that means...
Where would I find this out and how would I accomplish this if it is
not done?
Thanks again.
Hi Gary
see what phpinfo() says - if the extension is loaded, it'll show up
there. To load the extension, add
Ok, I know how to access the php.ini for the local host, is this the same
file that would control the remote server? Or do I need to look for it on
my remote host?
Again, thanks for your help.
Per Jessen p...@computer.org wrote in message
news:gpgr6o$hc...@saturn.local.net...
Gary wrote:
Gary wrote:
Ok, I know how to access the php.ini for the local host, is this the
same file that would control the remote server? Or do I need to look
for it on my remote host?
The php.ini you need to look at is the one one the server where you're
running your PHP code. The remote host is
I had the code written the way you suggested, but changed it to the way the
hosting company suggested.
I am unclear. I have php 5.2.8.8 on my local machine, I also have MySQL
5.1.30 set up locally as well.
I am using godaddy.com as a host. I assumed that the php was running on the
host
Gary,
you can check this by either creating a file containing this:
?php phpinfo(); ?
and putting it up on your webserver, then open in with your browser,
or you could look at the output of php -i | less on the command
line.
After you enabled the mysqli extension on your host, you might change
2009/3/14 Jan G.B. ro0ot.w...@googlemail.com:
One side node.. you should apply addslashes() also to
$_SERVER['REMOTE_ADDR'), because an evil person could manipulate the
value of that variable to execute SQL-Injections.
forget that part - i didn't see that this var is only used in the
email,
Gary wrote:
I had the code written the way you suggested, but changed it to the
way the hosting company suggested.
I think your hosting company might be smoking something they shouldn't
be. Your way is the right one.
I am unclear. I have php 5.2.8.8 on my local machine, I also have
MySQL
Ok.. I have added
[MySQL]
;Gary, this is the code from the forum.
extension=mysqli.so
to the php.ini file on my machine, I saved the file. Is there anything else
I need to do?
Thanks again.
Per Jessen p...@computer.org wrote in message
news:gpgu1t$ho...@saturn.local.net...
Gary wrote:
Ok.. I have added
[MySQL]
;Gary, this is the code from the forum.
extension=mysqli.so
to the php.ini file on my machine, I saved the file. Is there anything else
I need to do?
Thanks again.
Per Jessen p...@computer.org wrote in message
news:gpgu1t$ho...@saturn.local.net...
Gary wrote:
Thanks again to everyone.
I have just checked the servers phpinfo, and turns out they are running PHP
Version 4.3.11 while I have verstion 5.2.8, could this change any of the
advice?
Jan G.B. ro0ot.w...@googlemail.com wrote in message
Gary wrote:
Thanks again to everyone.
I have just checked the servers phpinfo, and turns out they are running PHP
Version 4.3.11 while I have verstion 5.2.8, could this change any of the
advice?
Yes, the mysqli extension is only available for PHP5. Use the mysql_x()
functions or move to
On 3/14/2009 10:36 AM, Gary gwp...@ptd.net wrote:
Can anyone enlighted me as to what I am not doing correctly?
Hi Gary,
I am hosted using a basic cpanel interface ... There's a button = Remote
MySQL which brings up a page: Remote Database Access Hosts
And I put in my HOME IP and all works
revDAVE wrote:
On 3/14/2009 10:36 AM, Gary gwp...@ptd.net wrote:
Can anyone enlighted me as to what I am not doing correctly?
Hi Gary,
I am hosted using a basic cpanel interface ... There's a button = Remote
MySQL which brings up a page: Remote Database Access Hosts
And I put in my
Shawn McKenzie wrote:
revDAVE wrote:
On 3/14/2009 10:36 AM, Gary gwp...@ptd.net wrote:
Can anyone enlighted me as to what I am not doing correctly?
Hi Gary,
I am hosted using a basic cpanel interface ... There's a button = Remote
MySQL which brings up a page: Remote Database Access Hosts
Hi @all,
I was just installing the Moodle-Version 1.9.2 at our university. It was
installed without any problems. But during testing and preparing for use I
got this error message:
Fatal error: Cannot redeclare make_log_url() (previously declared
in
On Tue, Aug 5, 2008 at 9:37 AM, Kai Kauer [EMAIL PROTECTED] wrote:
Hi @all,
I was just installing the Moodle-Version 1.9.2 at our university. It was
installed without any problems. But during testing and preparing for use I
got this error message:
Fatal error: Cannot redeclare
Am Dienstag, 5. August 2008 15:46:42 schrieb Daniel Brown:
On Tue, Aug 5, 2008 at 9:37 AM, Kai Kauer [EMAIL PROTECTED] wrote:
Hi @all,
I was just installing the Moodle-Version 1.9.2 at our university. It was
installed without any problems. But during testing and preparing for use
I got
What is around this line?
/global/WEB_DAT/documents/fme/institute/get/lehre/course/lib.php:25
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Kai Kauer wrote:
Am Dienstag, 5. August 2008 15:46:42 schrieb Daniel Brown:
On Tue, Aug 5, 2008 at 9:37 AM,
Ben Edwards schreef:
Our server has just been upgraded to PHP 5.2.5 and suddenly I am
getting the following error:
Fatal error: Call to a member function web_order_change() on a
non-object in /var/www/vhosts/cultureshop.org/httpdocs/cart.php on
line 32
The code is:
On Tue, Mar 4, 2008 at 5:09 AM, Jochem Maas [EMAIL PROTECTED] wrote:
Ben Edwards schreef:
Our server has just been upgraded to PHP 5.2.5 and suddenly I am
getting the following error:
Fatal error: Call to a member function web_order_change() on a
non-object in
register_globals got turned off.
All your $_SESSION variables (in your case, $_SESSION['SESSION']) need
to be reference explicitly now.
Add this at the top:
$SESSION = $_SESSION['SESSION'];
right after session_start();
On Mon, March 3, 2008 5:48 pm, Chris wrote:
Ben Edwards wrote:
Our server
Our server has just been upgraded to PHP 5.2.5 and suddenly I am
getting the following error:
Fatal error: Call to a member function web_order_change() on a
non-object in /var/www/vhosts/cultureshop.org/httpdocs/cart.php on
line 32
The code is:
$SESSION[cart]-web_order_change( true );
The
Ben Edwards wrote:
Our server has just been upgraded to PHP 5.2.5 and suddenly I am
getting the following error:
Fatal error: Call to a member function web_order_change() on a
non-object in /var/www/vhosts/cultureshop.org/httpdocs/cart.php on
line 32
The code is:
On 03/03/2008, Chris [EMAIL PROTECTED] wrote:
Ben Edwards wrote:
Our server has just been upgraded to PHP 5.2.5 and suddenly I am
getting the following error:
Fatal error: Call to a member function web_order_change() on a
non-object in
I don't think it's a change in OO handling, maybe it's a change in the
error_reporting level for the new version and you hadn't noticed the
problem before.
Its a Fatel Error not a warning. Dont see how level off error
reporting could be relevant.
Fair enough :P
What type of variable is
Chris wrote:
I don't think it's a change in OO handling, maybe it's a change in the
error_reporting level for the new version and you hadn't noticed the
problem before.
Its a Fatel Error not a warning. Dont see how level off error
reporting could be relevant.
Fair enough :P
What type
I'm getting the following error and I don't see whats wrong with my
line. Any ideas?
*Fatal error*: Function name must be a string in
*/var/www/sites/intra-test/contract/perform.php* on line *57*
and my snippet of code is:
if ( $_POST[perform] == View Contracts )
{
On Jan 2, 2008 4:58 PM, Adam Williams [EMAIL PROTECTED] wrote:
I'm getting the following error and I don't see whats wrong with my
line. Any ideas?
*Fatal error*: Function name must be a string in
*/var/www/sites/intra-test/contract/perform.php* on line *57*
and my snippet of code is:
if
I'm attempting to run the sample script on the PHP site:
?php
$dom = new DOMDocument('1.0', 'iso-8859-1');
echo $dom-saveXML(); /* ?xml version=1.0 encoding=iso-8859-1? */
?
but get the error:
Fatal error: Class 'DOMDocument' not found in /var/www/html/ajax/dom.php on
line 2
Jeff Schwartz wrote:
I'm attempting to run the sample script on the PHP site:
?php
$dom = new DOMDocument('1.0', 'iso-8859-1');
echo $dom-saveXML(); /* ?xml version=1.0 encoding=iso-8859-1? */
?
but get the error:
Fatal error: Class 'DOMDocument' not found in
Here's the list :
?php
function salestax($price,$tax) {
function convert_pound($dollars, $conversion=1.6) {
return $dollars * $conversion;
}
$total = $price + ($price * $tax);
echo Total cost in dollars: $total. Cost in British pounds:
.convert_pound($total);
}
echo convert_pound(15);
?
I get
Here's the list :
?php
function salestax($price,$tax) {
function convert_pound($dollars, $conversion=1.6) {
return $dollars * $conversion;
}
$total = $price + ($price * $tax);
echo Total cost in dollars: $total. Cost in British pounds:
.convert_pound($total);
}
echo
Edward Kay wrote:
Here's the list :
?php
function salestax($price,$tax) {
function convert_pound($dollars, $conversion=1.6) {
return $dollars * $conversion;
}
$total = $price + ($price * $tax);
echo Total cost in dollars: $total. Cost in British pounds:
.convert_pound($total);
}
echo
Edward Kay wrote:
Here's the list :
?php
function salestax($price,$tax) {
function convert_pound($dollars, $conversion=1.6) {
return $dollars * $conversion;
}
$total = $price + ($price * $tax);
echo Total cost in dollars: $total. Cost in British pounds:
.convert_pound($total);
}
echo
?php
function salestax($price,$tax) {
function convert_pound($dollars, $conversion=1.6) {
return $dollars * $conversion;
}
$total = $price + ($price * $tax);
echo Total cost in dollars: $total. Cost in British pounds:
.convert_pound($total);
}
salestax(15.00,.075);
echo br / .
Aaron Axelsen wrote:
We are running Novell SUSE Linux Enterprise Server 10 sp1. It has php
5.1.2. We are using a standard out of the box install, and for some
reason the hash functions only work using the cli interface, and fails
to work with apache giving the following error:
PHP Fatal
We are running Novell SUSE Linux Enterprise Server 10 sp1. It has php
5.1.2. We are using a standard out of the box install, and for some
reason the hash functions only work using the cli interface, and fails
to work with apache giving the following error:
PHP Fatal error: Call to undefined
Not only that. think you are also passing the wrong parameters to the
constructor.
On Thu, 07 Dec 2006 15:48:10 +1030, Ryan Creaser [EMAIL PROTECTED] wrote:
XeRnOuS ThE wrote:
First, if a fatal error is occurring on line 24, why is it executing
line 24 successfully and returning data?
I am working on a set of PHP framework so to speak, designed to create
module based community content management based scripts. I just started
updating the authentication handlers, which are all PHP 4 classes, and
reworking a long list of changes. The new version i am coding is near
XeRnOuS ThE wrote:
First, if a fatal error is occurring on line 24, why is it executing
line 24 successfully and returning data?
Second, if there’s a fatal error on line 24, why is line 25 still
processed?
Maybe because you're running it twice? Line 41 with the $this-Auth( ...
seems to
Hi,
Fatal error: session_start(): Failed to initialize storage module in
/home/vernoncompany.biz/includes/validations.php on line 2
validation.php:
#1 ?php
#2 session_start();
# ...
Two weeks ago I got this essage first time. And since, I'm getting more
often. Last three days at aleast once a
Hello
Following code shows within I have some difficulties. Is only an example from
Web Databasse Applications with PHP and MysQL book.
global $dsn;
global $connection;
$template-setCurrentBlock();
$template-setVariable(SUCH-KRITERIUM,Such-Kriterium:
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 28 June 2006 10:10
Fatal error: Call to a member function query() on a
non-object in
C:\Xampp\xampp\htdocs\www2\knowledge_db\searchnew.php on line 81
Even though the $connection has already been
[EMAIL PROTECTED] wrote:
Hello
I am pleased if someone could explain me the behaviour since is wrong the
following function call: ($row = $result-fetchRow(DB_FETCHMODE_ASSOC,
$_SESSION[searchFormVars][offset]+$rowCounter));
I'll explain your behaviour: you repeatedly ask the same
[EMAIL PROTECTED] wrote:
Hello
I am pleased if someone could explain me the behaviour since is wrong the following function call: ($row =
$result-fetchRow(DB_FETCHMODE_ASSOC,
$_SESSION[searchFormVars][offset]+$rowCounter));
as you will find them on the bottom of the email. By the way,
Hello
I am pleased if someone could explain me the behaviour since is wrong the
following function call: ($row = $result-fetchRow(DB_FETCHMODE_ASSOC,
$_SESSION[searchFormVars][offset]+$rowCounter));
as you will find them on the bottom of the email. By the way, fetchRow() is a
method from
Hmm. I wonder if his mail server is stuffed.
Can we get this guy removed from the list? This is getting annoying :/
--
Postgresql php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello
I am pleased if someone could explain me the behaviour since is wrong the
following function call: ($row = $result-fetchRow(DB_FETCHMODE_ASSOC,
$_SESSION[searchFormVars][offset]+$rowCounter));
as you will find them below. By the way, fetchRow() is a method from class
DB(.php). However
[EMAIL PROTECTED] wrote:
Hello
I am pleased if someone could explain me the behaviour since is wrong the
following function call: ($row = $result-fetchRow(DB_FETCHMODE_ASSOC,
$_SESSION[searchFormVars][offset]+$rowCounter));
I am pleased if you'd off with the broken record (pun
Hello
I am pleased if someone could explain me since is wrong the following function
call: ($row = $result-fetchRow(DB_FETCHMODE_ASSOC,
$_SESSION[searchFormVars][offset]+$rowCounter));
as you will find them on the bottom of the email. By the way, fetchRow() is an
object from class DB(.php).
[EMAIL PROTECTED] wrote:
Hello
I am pleased if someone could explain me since is wrong the following
function call: ($row = $result-fetchRow(DB_FETCHMODE_ASSOC,
$_SESSION[searchFormVars][offset]+$rowCounter));
as you will find them on the bottom of the email. By the way, fetchRow() is
Hello
I am pleased if someone could explain me the behaviour since is wrong the
following function call: ($row = $result-fetchRow(DB_FETCHMODE_ASSOC,
$_SESSION[searchFormVars][offset]+$rowCounter));
as you will find them on the bottom of the email. By the way, fetchRow() is a
method from
Hello,
maybe someone know what can be the problem and how to solve it. It appears
on startup of Apache, WinXP.
Apache doesn't start.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Ilja Polivanovas wrote:
Hello,
maybe someone know what can be the problem and how to solve it. It
appears on startup of Apache, WinXP.
Apache doesn't start.
fron a quick google I would hazard a guess that your install is f***ed
due to an earlier apache/php installation.
either that or
Open up a DOS shell and try to start Apache by hand.
On Thu, June 1, 2006 7:42 am, Ilja Polivanovas wrote:
Hello,
maybe someone know what can be the problem and how to solve it. It
appears
on startup of Apache, WinXP.
Apache doesn't start.
--
Using Opera's revolutionary e-mail client:
This function is deprecated, and you ought to use mysql_query() to
send the CREATE DB sql anyway -- So the book is either out-dated or
just plain bad.
If the function doesn't exist, then you either don't have MySQL
extension to PHP installed, or your ISP has removed that function.
On Sat, May
Hi All,
I get the following,
*Fatal error*: Call to undefined function mysql_create_db() in
*/usr/local/apache2/htdocs/createmovie.php* on line 6
for this code,
5 //create the moviesite database
6 mysql_create_db(moviesite) or die(mysql_error());
which is from a tutorial in the book I'm
Have you created a connection to the Server with the correct permissions?
-Original Message-
From: Mark Sargent [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 27, 2006 5:03 PM
To: PHP List
Subject: [PHP] Fatal error: Call to undefined function mysql_create_db()
Hi All,
I get
On Sat, May 27, 2006 11:02, Mark Sargent wrote:
Hi All,
I get the following,
*Fatal error*: Call to undefined function mysql_create_db() in
*/usr/local/apache2/htdocs/createmovie.php* on line 6
Sounds like you don't have the MySQL component of PHP installed. If
you're using the packaged
Peter Lauri wrote:
Have you created a connection to the Server with the correct permissions?
Hi All,
sorry, meant to post that too,
1 ?php
2 //connect to MySQL
3 $connect=mysql_connect(localhost, root, password omitted) or
die(Hey, check your server connection.);
I get no error for that
Mark Sargent wrote:
Peter Lauri wrote:
Have you created a connection to the Server with the correct
permissions?
Hi All,
sorry, meant to post that too,
1 ?php
2 //connect to MySQL
3 $connect=mysql_connect(localhost, root, password omitted) or
die(Hey, check your server connection.);
I get
IF NOT EXISTS .$name);
//this returns error 1007 if it exists already
return mysql_query(CREATE DATABASE .$name);
-Original Message-
From: Mark Sargent [mailto:[EMAIL PROTECTED]
Sent: Saturday, May 27, 2006 3:03 AM
To: PHP List
Subject: [PHP] Fatal error: Call
Odds are really good that you are trying to add (+) something that
ain't a number...
Just print_r() each variable within that function and see what you did.
On Sun, April 16, 2006 5:35 am, kmh496 wrote:
can somebody explain why
$this-param = $this-SYSTEM-db-answer +
2006-04-16 (일), 19:35 +0900, kmh496 쓰시길:
can somebody explain why
$this-param = $this-SYSTEM-db-answer + $this-param;
is causing the error
Fatal error: Unsupported operand types
in /var/www/current/mjguest/modules/settings.php on line 52
context is
On 4/16/06, kmh496 [EMAIL PROTECTED] wrote:
can somebody explain why
$this-param = $this-SYSTEM-db-answer + $this-param;
is causing the error
Fatal error: Unsupported operand types
in /var/www/current/mjguest/modules/settings.php on line 52
context is
function
On 4/16/06, kmh496 [EMAIL PROTECTED] wrote:
2006-04-16 (일), 19:35 +0900, kmh496 쓰시길:
can somebody explain why
$this-param = $this-SYSTEM-db-answer + $this-param;
is causing the error
Fatal error: Unsupported operand types
in
2006-04-16 (일), 21:02 +1000, chris smith 쓰시길:
On 4/16/06, kmh496 [EMAIL PROTECTED] wrote:
2006-04-16 (일), 19:35 +0900, kmh496 쓰시길:
can somebody explain why
$this-param = $this-SYSTEM-db-answer + $this-param;
is causing the error
Fatal error: Unsupported
kmh496 wrote:
can somebody explain why
$this-param = $this-SYSTEM-db-answer + $this-param;
is causing the error
no. because:
a, you don't mention the version of php you use
b, we don't have knowledge of you codebase (posting code listings for
a complete class really isn't going
Hi,
I'm working on the script that has to read csv file (51 column an a little
bit over 3000 rows) with products and store the info in DB.
Script works fine while I tested on csv files up to 200 records.
And, when I tried to upload REAL data I got this.
PHP: Fatal error: Allowed memory size
[EMAIL PROTECTED] wrote:
Hi,
I'm working on the script that has to read csv file (51 column an a little
bit over 3000 rows) with products and store the info in DB.
Script works fine while I tested on csv files up to 200 records.
And, when I tried to upload REAL data I got this.
PHP: Fatal
file (51 column an a
little
bit over 3000 rows) with products and store the info in DB.
Script works fine while I tested on csv files up to 200 records.
And, when I tried to upload REAL data I got this.
PHP: Fatal error: Allowed memory size of 8388608 bytes exhausted ...
On google I found
while I tested on csv files up to 200 records.
And, when I tried to upload REAL data I got this.
PHP: Fatal error: Allowed memory size of 8388608 bytes exhausted ...
On google I found as a solution to put
ini_set(memory_limit,12M);
on the top of the script, except allowed memory size wasn't 8m
on the script that has to read csv file (51 column an a
little
bit over 3000 rows) with products and store the info in DB.
Script works fine while I tested on csv files up to 200 records.
And, when I tried to upload REAL data I got this.
PHP: Fatal error: Allowed memory size of 8388608 bytes exhausted
got this.
PHP: Fatal error: Allowed memory size of 8388608 bytes exhausted ...
On google I found as a solution to put
ini_set(memory_limit,12M);
on the top of the script, except allowed memory size wasn't 8m then
12m
bytes.
I tried with 16M and it worked :)
My question is how far I can go
Hi all!
Recently I am getting the following error on some of my PHP-enabled websites. I
think it started when I went from PHP4 - PHP5.
Here is an example (from http://wos.poboxes.info/) :
Fatal error: Call to undefined function preg_match() in
I assume the lack of response to this means that nobody has come across this
problem before? Any pointers would be helpful - I'm losing hair fast!!
Cheers.
-Stut
On 16/12/05, Stut [EMAIL PROTECTED] wrote:
Hi All,
I've just upgraded the PHP port installation on my server to v4.4.1 and
the
On Fri, Dec 16, 2005 at 03:07:20PM +, Stut wrote:
Hi All,
I've just upgraded the PHP port installation on my server to v4.4.1 and
the mail function has stopped working. I created a script that simply
calls the mail function to send a test email ad this is what I get when
I run it...
Hi All,
I've just upgraded the PHP port installation on my server to v4.4.1 and
the mail function has stopped working. I created a script that simply
calls the mail function to send a test email ad this is what I get when
I run it...
[EMAIL PROTECTED]:~$ php test.php
Fatal error 'Unable to
1 - 100 of 233 matches
Mail list logo