Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Problems AFTER Install/Upgrade :: Archives ⇒ Problem with PMs after upgrade :: Archived


Problem with PMs after upgrade :: Archived
Issues that happen after DragonflyCMS upgrade/install.
DO NOT post module installation issues here!

Go to page Previous  1, 2, 3
Post new topic    Revive this topic    Printer Friendly Page     Forum Index ⇒  Problems AFTER Install/Upgrade

Topic Archived View previous topic :: View next topic  
Author Message
Zason
Newbie
Newbie

Offline Offline
Joined: Jul 24, 2007
Posts: 26

PostPosted: 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
View user's profile Visit poster's website
Zason
Newbie
Newbie

Offline Offline
Joined: Jul 24, 2007
Posts: 26

PostPosted: 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
View user's profile Visit poster's website
rlgura
1000+ Posts Club
1000+ Posts Club

Offline Offline
Joined: Mar 27, 2006
Posts: 1146
Location: Cleveland, OH USA
PostPosted: 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
View user's profile Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: 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
View user's profile Visit poster's website Photo Gallery
Zason
Newbie
Newbie

Offline Offline
Joined: Jul 24, 2007
Posts: 26

PostPosted: 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
View user's profile Visit poster's website
Zason
Newbie
Newbie

Offline Offline
Joined: Jul 24, 2007
Posts: 26

PostPosted: 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
View user's profile Visit poster's website
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Fri Aug 03, 2007 12:45 am
Post subject: Re: Problem with PMs after upgrade

Smile 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
View user's profile Visit poster's website Photo Gallery
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  Problems AFTER Install/Upgrade
Page 3 of 3
All times are GMT
Go to page Previous  1, 2, 3

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.

lesa meira...

   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