[fixed] cpg_error not shutting blocks down correctly
Post new topic   This topic is locked: you cannot edit posts or make replies.   Printer Friendly Page     Forum IndexProblems AFTER Install/Upgrade
Author Message
unigene
Gold Supporter


Joined: Apr 07, 2005
Posts: 120
Location: Luxembourg

PostPost subject: [fixed] cpg_error not shutting blocks down correctly
Posted: Sun Mar 09, 2008 12:51 pm
Reply with quote

I need some help on an error which occurs when Users try to update their profile information.

Error:
Quote:
On /xyz/index.php?name=Your_Account
While executing query "SELECT g.group_id, g.group_name, g.group_type
FROM xyz_bbgroups g, xyz_bbuser_group ug
WHERE ug.user_id =
AND ug.group_id = g.group_id
AND ug.user_pending = 1
AND g.group_single_user = 0
ORDER BY g.group_name, ug.user_id"

In: /public_html/blocks/block-Groups.php on line: 50

The problem comes form the $userinfo['user_id'] which is blank.
When I insert a number like 2, the error disappears.

I compared the 9.2.1. block with the 9.1. block and this part is unchanged. Maybe I have to look somewhere else.

Can somebody please help me on this. Thanks

_________________
| Luxembourg Amateur Radio RL | RC Heli | My Site |

unigene's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/ 2.6.18 / 5.1.52 / 5.3.2 / 9.3.2.0
Back to top
View user's profile Visit poster's website
unigene
Gold Supporter


Joined: Apr 07, 2005
Posts: 120
Location: Luxembourg

PostPost subject: Re: Error in query of Groups block: missing userinfo
Posted: Sun Mar 09, 2008 8:12 pm
Reply with quote

Looks as if I am the only one or did anyone else encounter this problem too?
_________________
| Luxembourg Amateur Radio RL | RC Heli | My Site |

unigene's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/ 2.6.18 / 5.1.52 / 5.3.2 / 9.3.2.0
Back to top
View user's profile Visit poster's website
mashed
Newbie


Joined: Oct 18, 2006
Posts: 3

PostPost subject: Re: Error in query of Groups block: missing userinfo
Posted: Sun Mar 09, 2008 9:38 pm
Reply with quote

i got same problem mate... not found a fix yet though
_________________
.::Dark Omen::.

mashed's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL version 4.1.21-standard
Back to top
View user's profile Visit poster's website
unigene
Gold Supporter


Joined: Apr 07, 2005
Posts: 120
Location: Luxembourg

PostPost subject: Re: Error in query of Groups block: missing userinfo
Posted: Mon Mar 10, 2008 8:56 am
Reply with quote

Thanks mashed. I'm glad that at least I'm not the only one.

How can I check that $userinfo[user_id] gets its value in that block. This value is used many times and seems to work in other modules/blocks.


unigene's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/ 2.6.18 / 5.1.52 / 5.3.2 / 9.3.2.0
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer


Joined: Jun 29, 2004
Posts: 3677
Location: Melbourne, AU

PostPost subject: Re: Error in query of Groups block: missing userinfo
Posted: Mon Mar 10, 2008 10:13 am
Reply with quote

Unless you are using a custom block, or unless some module or some other block is overwriting the $userinfo i have not clue why you get the error.

I've tried to test by having the groups block at first position on the left side and other combinations but it runs ok.

_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 5.1 / PHP 5.3 / NextGen()
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer


Joined: Jun 29, 2004
Posts: 3677
Location: Melbourne, AU

PostPost subject: Re: Error in query of Groups block: missing userinfo
Posted: Mon Mar 10, 2008 12:14 pm
Reply with quote

Confirmed, working on it.
_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 5.1 / PHP 5.3 / NextGen()
Back to top
View user's profile Visit poster's website
unigene
Gold Supporter


Joined: Apr 07, 2005
Posts: 120
Location: Luxembourg

PostPost subject: Re: Error in query of Groups block: missing userinfo
Posted: Mon Mar 10, 2008 12:23 pm
Reply with quote

Nano,
Now I found a site where it works. This site was upgraded using the first final 9.2.1 release. The first was the one released here bit with the missing documentation files. The others were upgraded using the release with the documentation included.

So I will check the difference between the files from both servers as I don't have the first release anymore. Maybe that there is a different file somewhere.

Can't it come from Your_Account (edit Profile) because it's here that it happens?


unigene's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Linux/ 2.6.18 / 5.1.52 / 5.3.2 / 9.3.2.0
Back to top
View user's profile Visit poster's website
NanoCaiordo
Developer


Joined: Jun 29, 2004
Posts: 3677
Location: Melbourne, AU

PostPost subject: Re: [fixed] cpg_error not shutting blocks down correctly
Posted: Mon Mar 10, 2008 1:00 pm
Reply with quote

Thanks guys!

Bug is fixed, a proper bug report has been filled by me, changelog updated.
Bug #1033

Fix will get included in a bug fix release sheduled for the next weekend.

_________________
.:: I met php the 03 December 2003 :: Unforgettable day! ::.

NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
MySQL 5.1 / PHP 5.3 / NextGen()
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.   Printer Friendly Page     Forum IndexProblems AFTER Install/Upgrade All times are GMT
Page 1 of 1


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

stopsoftwarepatents.eu petition banner
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
This page generated in 0.6542 seconds with 19 DB Queries in 0.1105 seconds
Memory Usage: 2.93 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy