|
|
| |
Forums ⇒ DragonflyCMS ⇒ Problems AFTER Install/Upgrade :: Archives ⇒ Problem with PMs after upgrade :: Archived
Problem with PMs after upgrade :: ArchivedIssues that happen after DragonflyCMS upgrade/install. DO NOT post module installation issues here!
Go to page Previous 1, 2, 3
| Topic Archived |
View previous topic :: View next topic |
| Author |
Message |
Zason Newbie


Offline Joined: Jul 24, 2007 Posts: 26
|
Posted: Thu Aug 02, 2007 7:37 pm Post subject: ERROR on database when checkng PM |
|
I am getting this DB error when trying to read a PM
| Code:: |
CMS Warning line 75: On /stronghold/index.php?name=Private_Messages&folder=inbox&mode=read&p=1 While executing query "SELECT u.username AS username_1, u.user_id AS user_id_1, u2.username AS username_2, u2.user_id AS user_id_2, u.user_posts, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_skype, u.user_regdate, u.user_msnm, u.user_viewemail, u.user_rank, u.user_sig, u.user_avatar, pm.*, pmt.privmsgs_text FROM wc_bbprivmsgs pm, wc_bbprivmsgs_text pmt, kls_users u, kls_users u2 WHERE pm.privmsgs_id = 1 AND pmt.privmsgs_text_id = pm.privmsgs_id AND pm.privmsgs_to_userid = 2 AND ( pm.privmsgs_type = 0 OR pm.privmsgs_type = 1 OR pm.privmsgs_type = 5 ) AND u.user_id = pm.privmsgs_from_userid AND u2.user_id = pm.privmsgs_to_userid" the following error occured: Unknown column 'u.user_skype' in 'field list' In: /home/kotlscom/public_html/stronghold/modules/Private_Messages/read.php on line: 67 |
I have multiple sites with diferent system prefixes and my user database running one prefix. Any ideas on a fix?
"Z"
Zason's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) OS: Linux / Apache: 1.3.37 (Unix) / MySQL: 5.0.27-standard / PHP: 4.4.6 / Dragonfly (9.1.2.1)
|
|
| Back to top |
|
 |
Zason Newbie


Offline Joined: Jul 24, 2007 Posts: 26
|
Posted: Thu Aug 02, 2007 7:40 pm Post subject: Re: ERROR on database when checkng PM |
|
I also imported the user database from NUKE PHP, and it worked, I am not sure if PMs worked before he importing of users.
Sorry, couldnt edit original post
Zason's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) OS: Linux / Apache: 1.3.37 (Unix) / MySQL: 5.0.27-standard / PHP: 4.4.6 / Dragonfly (9.1.2.1)
|
|
| Back to top |
|
 |
rlgura 1000+ Posts Club


Offline Joined: Mar 27, 2006 Posts: 1146 Location: Cleveland, OH USA
|
Posted: Thu Aug 02, 2007 9:12 pm Post subject: Re: ERROR on database when checkng PM |
|
| Quote:: |
| Unknown column 'u.user_skype' in 'field list' |
user_skype is a relatively new field added. Try just creating that field in the user table.
_________________ Admin - Great Lakes Web Designs
Theme Designer - WebSite Guru Designs
Site Admin - Families with Food Allergies
rlgura's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) Linux 2.6.27-grsec/Apache 2.2.11/MySQL 5.0.67-community-log/PHP 5.2.8/DF 9.2.1
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Thu Aug 02, 2007 9:30 pm Post subject: Re: ERROR on database when checkng PM |
|
there are 5 topics already, one of them is a sticky on this forum which if you read it has the solution to your problem that was caused by importing back your cms_users table.
No one seems to get what an upgrade means, no one seems to read.
Zason do you require the URL for the topic in question or we all might decide to open our eyes and start walking with our own feet?
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
Zason Newbie


Offline Joined: Jul 24, 2007 Posts: 26
|
Posted: Thu Aug 02, 2007 10:05 pm Post subject: Re: ERROR on database when checkng PM |
|
Thank You, rlgura! It worked.
Sorry Nano, I DID search for it but I could not find it.
I obviously did not know what to search for, give us nubs a break.
"Z"
Zason's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) OS: Linux / Apache: 1.3.37 (Unix) / MySQL: 5.0.27-standard / PHP: 4.4.6 / Dragonfly (9.1.2.1)
|
|
| Back to top |
|
 |
Zason Newbie


Offline Joined: Jul 24, 2007 Posts: 26
|
Posted: Thu Aug 02, 2007 10:30 pm Post subject: Re: ERROR on database when checkng PM |
|
I had another DB error, with setting the Timezone. However with your help on the other issue I had, rlgura, I was able to figure out how to fix that too. I think I just leveled up >;+P
"Z"
Zason's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) OS: Linux / Apache: 1.3.37 (Unix) / MySQL: 5.0.27-standard / PHP: 4.4.6 / Dragonfly (9.1.2.1)
|
|
| Back to top |
|
 |
NanoCaiordo Developer


Offline Joined: Jun 29, 2004 Posts: 3878 Location: Melbourne, AU
|
Posted: Fri Aug 03, 2007 12:45 am Post subject: Re: Problem with PMs after upgrade |
|
 yes you did
_________________ .:: I met php the 03 December 2003 :: Unforgettable day! ::.
Linux 64bit / Apache 2.2 / PHP 5.4 / MySQL 5.5.22 / v9, v10
Linux 32bit / Apache 2.2 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
Windows 64bit / IIS 7.5 / PHP 5.3.10 / MySQL 5.5.22 / v9, v10
NanoCaiordo's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS) mixed
|
|
| Back to top |
|
 |
|
|
|
| |
 |
 Welcome Anonymous
|
|
|
|