On 10-10-15 04:42 PM, Julien Jabouin wrote:
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
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.
";
echo date("M-d-Y", easter_date(2009));
print "";
Thank you to everybody, turns out that in the godaddy control panel, you
have the option of php4 or php5, and they have 4 as the default. A call to
gd and I was able to switch and it now works.
Thanks again for all your help!
Gary
""Gary"" wrote in message
news:d1.a0.60648.83beb...@pb1.pair
Hej,
I created a change request: http://bugs.php.net/bug.php?id=46601
Best regards
Christopher
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Adam Williams 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 ( $_POST["perform"] == "View Contracts" )
[EMAIL PROTECTED] wrote:
Hi,
"Fatal error: session_start(): Failed to initialize storage module in
/home/vernoncompany.biz/includes/validations.php on line 2"
validation.php:
#1
possibly.
or it could be a disk-space problem.
what does your server's error_log say?
Kae
--
PHP General Maili
[EMAIL PROTECTED] wrote:
> 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","S
On Mon, March 20, 2006 4:58 am, Barry wrote:
> M. Sokolewicz wrote:
>> Since when can you "unset" functions from within php scripts??
>> (except
>> with specialized modules, which we'll just ignore for now).
> Why ignore them for now?
> Doesn't make sense for me ...
Because the number of people wh
Barry wrote:
M. Sokolewicz wrote:
Since when can you "unset" functions from within php scripts?? (except
with specialized modules, which we'll just ignore for now).
Why ignore them for now?
Doesn't make sense for me ...
If the OP is capable of installing and using the runkit extension
them
M. Sokolewicz wrote:
> Barry wrote:
>> Evert wrote:
>>
>>> 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
M. Sokolewicz wrote:
Since when can you "unset" functions from within php scripts?? (except
with specialized modules, which we'll just ignore for now).
Why ignore them for now?
Doesn't make sense for me ...
>>Recently I am getting the following error on some of my PHP-enabled
>>websites. I thin
Barry wrote:
Evert wrote:
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
/var/www/wos.pobo
Evert wrote:
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
/var/www/wos.poboxes.info/htdocs/
[snip]
Yes, this may cause error like that, but this occours on different
places I
mean in different included scripts where are not loops at all. Basically
there is only one main loop over main data and some small foreach and
that
can not be infinite. And error happens in different times as well.
[
.
-Original Message-
From: Jason Barnett [mailto:[EMAIL PROTECTED]
Sent: 21 February 2005 15:04
To: php-general@lists.php.net
Subject: [PHP] Re: Fatal error: Maximum execution time
Stanislav Kuhn wrote:
...
>
> PHP Fatal error: Maximum execution time of 30 seconds exceeded in
.php
>
Stanislav Kuhn wrote:
...
>
> PHP Fatal error: Maximum execution time of 30 seconds exceeded in .php
> on line 130
>
> Has somebody seen something like this or has an idea what's going on there?
When I get this error it is often because I found myself running into an
infinite loop someplace
[EMAIL PROTECTED] (Tim) wrote in
news:[EMAIL PROTECTED]:
> Setup:
> 2 servers, one with PHP 4.1.2 and no MySQL installed, the other has
> MySQL and PHP 4.1.2
>
> Problem:
> I am attempting to connect to the MySQL server from the server without
> MySQL, but I get the error that shows in the subje
Matthias Nothhaft schrieb:
Hi,
I'm trying to get the pdflib work...
I use pdflib 4.0.3 downloaded from pdflib.de and php 4.3.4 on Debian Linux.
I wrote this test code:
hi matthias,
if you want to use this lib it's good to be familiar with classes and
objects in php. the manual can help you at
"nabil" <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> when i use str_word_count() i got the following :
> Fatal error: Call to undefined function: str_word_count()
>
> and my PHP is Version 4.2.3
>
> What is the problem ???
Reading English?
us2.php.net/str_word_cou
Yup, that works as well. You could try a debugging echo after that line
and see if it gets executed. You probably have a problem somewhere else.
Bogdan
Leif K-Brooks wrote:
> $actions[] = array("display" => "Discard");
>
> Bogdan Stancescu wrote:
>
>> That piece of code works. Maybe you could
$actions[] = array("display" => "Discard");
Bogdan Stancescu wrote:
> That piece of code works. Maybe you could be so kind as to post the
> exact piece of code which doesn't work? If it's not too much to ask,
> of course.
>
> Bogdan
>
> Leif K-Brooks wrote:
>
>> Any idea what that error means?
That piece of code works. Maybe you could be so kind as to post the
exact piece of code which doesn't work? If it's not too much to ask, of
course.
Bogdan
Leif K-Brooks wrote:
> Any idea what that error means? I'm trying to do something like:
> $array[] = array(a => "a value");
>
--
PHP G
Okay, just upgraded to PHP 4.2.1 and it doesn't appear to care if you do
$val['key'] .= "string";
or other +=, overload-type, operations.
So is it safe to assume that anything Pre-4.2.1 will choke on lines like
that?
---John Holmes...
> -Original Message-
> From: John Holmes [mailto:
This error indicates that the code declaring the function is in the code
more than one time. You can only have the function declaration once. If
you are including the funciones.php in another script, make sure that it is
only included once. If it is included more than once it will give you this
Thanks for pointing me to phpinfo(), the field for the ./configure
command is my old one, I guess I'll go back and start from scratch, must
of forgot a step.
On Thu, 2001-11-15 at 21:06, Johan Holst Nielsen wrote:
> > I know it's probabally overkill but in the configure messages, it says
> > y
> I know it's probabally overkill but in the configure messages, it says
> yes for everything gd, jpeg, png, and zlib. Any suggestions? If anybody
> wants to see the configure messages let me know.
What do PHP tells you about the GD lib extension.
Try making a phpinfo() file and send the output
26 matches
Mail list logo