Re: Code



"FXDWG" <FXDWG2002@xxxxxxxxxxx> wrote in message
news:scntj.2899$0%3.322@xxxxxxxxxxx
Lets first start out with the small bits. What exactly kind of
improvements would you like to make? Once we know what direction you
want to go, we can help you get there. Hopefully.

Scotty

Well, mostly we're trying to fix bugs that we stumble across.
So with that in mind, let me present one.

We are running a portal on our site.
On that portal we're supposed to be able to see an avatar.
A number of other people have commented in support forums that the error
lies with in a certain file.
We have looked at this file and even attempted to institute the suggested
fixes. But none of them work.
Now I AM confident the error is in the file suggested. But I am dubious of
the suggested fixes.
Anyone want to look at the code and suggest a solution?
Here is the section of code that we believe to be in error.

==============

put this just before the 'if':

echo '<pre style="font-size:10px;">' . print_r(array($row, $user), true) .
'</pre>';

then post the results...we're trying to see the variable values inside the
user object and the $row array at the time of evaluation in the 'if'...i'm
guessing the values aren't what you're expecting and the conditional code is
not being run.


.



Relevant Pages

  • Re: Code
    ... Steve wrote: ... A number of other people have commented in support forums that the error lies with in a certain file. ... We have looked at this file and even attempted to institute the suggested fixes. ... And don't get too frustrated, working out problems with these portals and forums can be irritating, but the can be worked out. ...
    (alt.php)
  • Re: Code
    ... Everyone says they can fix it, but none of the suggested fixes works. ... PHPBB boasts that it is one of the easiest to use pieces of software. ... A number of other people have commented in support forums that the error ...
    (alt.php)