Re: Update a block
Joe Stewart <[email protected]> Wed, 9 Apr 2003 12:16:33 -0500
| Newsgroups | gmane.comp.cms.phpslash.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Apr 09, 2003 at 10:35:09AM -0500, Joshua A Udall wrote:
> Users -
>
> When updating blocks I get this error:.
> ERROR: Updating Block 163. Checking db...Error adding block. Query returned
> multiple results.
>
> The blocks still update - but the error is annoying. There's probably
> something screwing in the data of one or more of the tables. I know there
> are not two block 163's in the psl_block table or the psl_block_type
> table. Any ideas where to look next?
>
This annoyance has been there awhile. I know what is causing it:
Block.class::349 if ($this->db->affected_rows() == 1) {
There are other about three queries there instead of just the
psl_block update/insert.
Do you know a easy way to reproduce this? It will be pretty easy to
fix, I'm just having a hard time generating the error now.
> Could this be put on the mailing list wish list of features?
> I'm sure it's already been talked about, but just to be sure this feature
> isn't over looked. Instead of including an email address right into the
> list have the individual confirm their subscription by clicking on a link
> that was sent to that email address.
>
done.
http://sourceforge.net/tracker/index.php?func=detail&aid=718390&group_id=10566&atid=360566
Joe
> Thanks
>
> Josh
>
>
-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com