Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Forums ⇒ General ⇒ This Site :: Archives ⇒ Duplication of "Location" user field :: Archived


Duplication of "Location" user field :: Archived
Post your comments about this site or bugs found on this website in here. Please post errors, bugs or other problems found in your installation in the appropriate forum.
Go to page 1, 2, 3  Next
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  This Site

Topic Archived View previous topic :: View next topic  
Author Message
Tarun
Heavy poster
Heavy poster

Offline Offline
Joined: Dec 12, 2004
Posts: 197
Location: http://www.lunarsoft.net/
PostPosted: Fri Jul 01, 2005 2:17 pm
Post subject: Duplication of "Location" user field

The My Location duplicates bug that was submitted and has occured with several users as well as two of my sites that use Dragonfly were marked as bogus.

The has been verified by several users that it's a bug with the installer, as it creates two My Location fields in MySQL. It causes two My Location fields to appear in the user's profile and both have to have the same data to update as well. That being the case, why was this bug marked Bogus?


Tarun's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Tarun's server specs (Linux / Apache 1.3.33(UNIX) / MySQL 4.1.11-standard / PHP 4.3.11 / CPGNuke 9.0.5.0 CVS)
Back to top
View user's profile Visit poster's website
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Fri Jul 01, 2005 2:52 pm
Post subject: Re: Valid bug marked bogus?

the installer checks user_from field (my location) and since there can't be 2 fields with the same name in a table the installer should fail.

The only problem that could occure is that there are 2 records in the cms_user_fields table with the same data.
Since nobody said how they upgraded (like 9.0.3 to 9.0.4) and that the bug only occured by a few people and we couldn't reproduce it, it is marked bogus.

If someone could exactly say after what kind upgrade and which MySQL version they use it would be more clear to debug.
The debug system does ask for several things like reproduce code/instructions, if people forget to fill in those fields we can't help.


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
Tarun
Heavy poster
Heavy poster

Offline Offline
Joined: Dec 12, 2004
Posts: 197
Location: http://www.lunarsoft.net/
PostPosted: Fri Jul 01, 2005 4:05 pm
Post subject: Re: Valid bug marked bogus?

DJMaze wrote:
the installer checks user_from field (my location) and since there can't be 2 fields with the same name in a table the installer should fail.

The only problem that could occure is that there are 2 records in the cms_user_fields table with the same data.
Since nobody said how they upgraded (like 9.0.3 to 9.0.4) and that the bug only occured by a few people and we couldn't reproduce it, it is marked bogus.

If someone could exactly say after what kind upgrade and which MySQL version they use it would be more clear to debug.
The debug system does ask for several things like reproduce code/instructions, if people forget to fill in those fields we can't help.

Server OS: Linux
Apache: Apache 1.3.33(UNIX)
My SQL: MySQL 4.1.11-standard
PHP: PHP 4.3.11
CPGNuke: CPGNuke 9.0.4.0 CVS

The issue occurs with an upgrade and even the CVS installs. I just installed the latest CVS and had to go into MySQL and remove the extra My Location field and fix the number order.

Does that help?

_________________

http://www.lunarsoft.net/
http://forums.lunarsoft.net/
http://wiki.lunarsoft.net/wiki/Anti-Malware_Toolkit

Tarun's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Tarun's server specs (Linux / Apache 1.3.33(UNIX) / MySQL 4.1.11-standard / PHP 4.3.11 / CPGNuke 9.0.5.0 CVS)
Back to top
View user's profile Visit poster's website
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Fri Jul 01, 2005 6:31 pm
Post subject: Re: Valid bug marked bogus?

could you post all records from your cms_users_fields table here.
I think there's something wrong in there.


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
trouble
Heavy poster
Heavy poster

Offline Offline
Joined: Sep 09, 2004
Posts: 189
Location: California
PostPosted: Fri Jul 01, 2005 6:48 pm
Post subject: Re: Valid bug marked bogus?

I think the two locations displayed in the profile were due to some upgrade problem, I think the other post reffered to just removing one from the DB. If I am off topic just kick me in the head and roll me in the ditch. Dont forget to stick a fork in me..

Later..

_________________
www.secureaspects.com
www.armymama.com
www.n6aq.com

trouble's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
XP/mysql 4.0.22-nt/dragonfly 9.0.5.0/php 4.3.1/
Back to top
View user's profile Visit poster's website
Tarun
Heavy poster
Heavy poster

Offline Offline
Joined: Dec 12, 2004
Posts: 197
Location: http://www.lunarsoft.net/
PostPosted: Fri Jul 01, 2005 8:31 pm
Post subject: Re: Valid bug marked bogus?

Screenshot.

Last time I installed I manually went in and deleted the duplicate, then fix the number order.

_________________

http://www.lunarsoft.net/
http://forums.lunarsoft.net/
http://wiki.lunarsoft.net/wiki/Anti-Malware_Toolkit

Tarun's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Tarun's server specs (Linux / Apache 1.3.33(UNIX) / MySQL 4.1.11-standard / PHP 4.3.11 / CPGNuke 9.0.5.0 CVS)
Back to top
View user's profile Visit poster's website
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Sat Jul 02, 2005 12:11 am
Post subject: Re: Valid bug marked bogus?

Just what i thought, someone has renumbered your table.
On entry 8 it says user_from but the installer never creates a fid with 8.
so entry 8 to 25 should have the numbers 9 to 26.

Hack even the installer fixes this by renumbering all entries. So whoever said to you to manualy renumber the entries is wrong. This does again conclude it's not a installer bug.


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
Tarun
Heavy poster
Heavy poster

Offline Offline
Joined: Dec 12, 2004
Posts: 197
Location: http://www.lunarsoft.net/
PostPosted: Sat Jul 02, 2005 1:34 am
Post subject: Re: Valid bug marked bogus?

But when you install it has entries EIGHT AND NINE as My Location entries.

_________________

http://www.lunarsoft.net/
http://forums.lunarsoft.net/
http://wiki.lunarsoft.net/wiki/Anti-Malware_Toolkit

Tarun's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Tarun's server specs (Linux / Apache 1.3.33(UNIX) / MySQL 4.1.11-standard / PHP 4.3.11 / CPGNuke 9.0.5.0 CVS)
Back to top
View user's profile Visit poster's website
xfsunoles
XHTML Specialist
XHTML Specialist

Offline Offline
Joined: Apr 30, 2004
Posts: 2502
Location: Melbourne, Florida
PostPosted: Sat Jul 02, 2005 1:58 am
Post subject: Re: Valid bug marked bogus?

if you remove user_from fid 8 then you don't see double

_________________

Firefox is my Favorite Browser

xfsunoles's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache/1.3.34 (Unix)/4.0.25-standard/4.4.1/CVS
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger Photo Gallery
Tarun
Heavy poster
Heavy poster

Offline Offline
Joined: Dec 12, 2004
Posts: 197
Location: http://www.lunarsoft.net/
PostPosted: Sat Jul 02, 2005 4:06 am
Post subject: Re: Valid bug marked bogus?

xfsunoles wrote:
if you remove user_from fid 8 then you don't see double

I don't get why two are being created though.

I just manually went in and renumbered each from 8 - xx so they'd be in the right order (so I thought).

_________________

http://www.lunarsoft.net/
http://forums.lunarsoft.net/
http://wiki.lunarsoft.net/wiki/Anti-Malware_Toolkit

Tarun's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Tarun's server specs (Linux / Apache 1.3.33(UNIX) / MySQL 4.1.11-standard / PHP 4.3.11 / CPGNuke 9.0.5.0 CVS)
Back to top
View user's profile Visit poster's website
xfsunoles
XHTML Specialist
XHTML Specialist

Offline Offline
Joined: Apr 30, 2004
Posts: 2502
Location: Melbourne, Florida
PostPosted: Sat Jul 02, 2005 4:09 am
Post subject: Re: Valid bug marked bogus?

fid 8 is depreased so it removed in system. When Installer, it check field and skip fid 8 since it not exist anymore.

_________________

Firefox is my Favorite Browser

xfsunoles's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Apache/1.3.34 (Unix)/4.0.25-standard/4.4.1/CVS
Back to top
View user's profile Visit poster's website AIM Address MSN Messenger Yahoo Messenger Photo Gallery
Tarun
Heavy poster
Heavy poster

Offline Offline
Joined: Dec 12, 2004
Posts: 197
Location: http://www.lunarsoft.net/
PostPosted: Sat Jul 02, 2005 4:18 am
Post subject: Re: Valid bug marked bogus?

Why weren't the fields simply renumbered accordingly then?

_________________

http://www.lunarsoft.net/
http://forums.lunarsoft.net/
http://wiki.lunarsoft.net/wiki/Anti-Malware_Toolkit

Tarun's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Tarun's server specs (Linux / Apache 1.3.33(UNIX) / MySQL 4.1.11-standard / PHP 4.3.11 / CPGNuke 9.0.5.0 CVS)
Back to top
View user's profile Visit poster's website
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Sat Jul 02, 2005 8:11 am
Post subject: Re: Valid bug marked bogus?

because it will be used in 9.1


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
Tarun
Heavy poster
Heavy poster

Offline Offline
Joined: Dec 12, 2004
Posts: 197
Location: http://www.lunarsoft.net/
PostPosted: Sat Jul 02, 2005 4:07 pm
Post subject: Re: Valid bug marked bogus?

Fair enough. So for now just delete field 8?

_________________

http://www.lunarsoft.net/
http://forums.lunarsoft.net/
http://wiki.lunarsoft.net/wiki/Anti-Malware_Toolkit

Tarun's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Tarun's server specs (Linux / Apache 1.3.33(UNIX) / MySQL 4.1.11-standard / PHP 4.3.11 / CPGNuke 9.0.5.0 CVS)
Back to top
View user's profile Visit poster's website
DJ Maze
Developer
Developer

Offline Offline
Joined: Apr 19, 2004
Posts: 5683
Location: http://tinyurl.com/5z8dmv
PostPosted: Tue Jul 12, 2005 11:46 am
Post subject: Re: Valid bug marked bogus?

yes


DJ Maze's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Fedora 15 / 2.2.22 / 5.5.20 / 5.3.10 / CVS
Back to top
View user's profile Visit poster's website Yahoo Messenger Photo Gallery
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  This Site
Page 1 of 3
All times are GMT
Go to page 1, 2, 3  Next

Archive Revive
Username:
This is an archived topic - your reply will not be appended here.
Instead, a new topic will be generated in the active forum.
The new topic will provide a reference link to this archived topic.
 
   Toggle Content User Info

Welcome Anonymous

Nickname
Password
(Register)

   Toggle Content Last CVS commits
· Fixed .ico Expires header.
· Removed domain name from cookies so subdomains wont access them anymore.
· CSS and JS, case insensitives.
· CSS and JS, send correct HTTP 1.1 headers and fixed issues where themes and...
· Further security class improvements.
· 301 redirects on LEO changes
· Option to force 3xx http status codes
· Validate googlebot.com and google.com crawlers.
· CCBot
· Rss with etag and atom.

閱讀詳細內容...

   Toggle Content Community

Support for DragonflyCMS in a other languages:

Deutsch
Español

   Toggle Content X-links
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

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
Interactive software released under GNU GPL, Code Credits, Privacy Policy