[prev in list] [next in list] [prev in thread] [next in thread] 

List:       phorum
Subject:    Re: [phorum] Errors in read.php3???
From:       "Brian Moon" <brian () phorum ! org>
Date:       1999-05-26 19:32:38
[Download RAW message or body]

What version of PHP3 are you running?

Brian Moon
-------------------------------------------------------------------------
Phorum Dev Team - http://www.phorum.org
Making better forums with PHP
-------------------------------------------------------------------------


----- Original Message -----
From: Derek Neighbors - OMBX <dneighbo@mail.maricopa.gov>
To: <phorum@phorum.org>
Sent: Wednesday, May 26, 1999 2:29 PM
Subject: [phorum] Errors in read.php3???


> I was encountering issues with expanded threads not showing properly in
v3b3
> so I downloaded v3b7 today.  I overwrote all files except for my inf
files.
> The expanded thread problem seems to have disappeared.  However on opening
> of read.php3 I get a Warning:  Cannot pass expression as argument by
> reference /home/d_neighbors/public_html/ballistic/phorum/read.php3 on line
> 107.  The rest of the page renders fine and no functionality seems to be
> lost.
>
>
> I did a brief look at the code.  It is the following line.
>
> $datestamp = date_format($msg_list->field("datestamp", $loc));
>
> I think it does not like the pointer reference in the date_format
function.
> I altered to the following as a test:
>
>   $wildguess = $msg_list->field("datestamp", $loc);
> //  $datestamp = date_format($msg_list->field("datestamp", $loc));
>   $datestamp = date_format($wildguess);
>
> This change made the error go away.
>
> First question.  Is this is bug or do I have something configured
> incorrectly.
> Second question.  Will storing the contents into a variable then using the
> variable for the function have any adverse affects?
>
> Thanks,
>
> -Derek Neighbors
> derek@forchrist.com
> http://ballistic.forchrist.com/phorum
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phorum-unsubscribe@phorum.org
> For additional commands, e-mail: phorum-help@phorum.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: phorum-unsubscribe@phorum.org
For additional commands, e-mail: phorum-help@phorum.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic