Site broken server move
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexHelp
Author Message
warden
Silver Supporter


Joined: Dec 16, 2004
Posts: 196
Location: North Carolina

PostPost subject: Site broken server move
Posted: Sat Oct 20, 2007 3:34 am
Reply with quote

My webhost moved to a new server and in the process upgraded from php 4.x to 5.1.x. This error message displayed on a site running DF 9.0.6.1 using the forum last 10 scrolling posts block. Would someone who knows more about this than I please explain what this means and possibly request a fix? This site was working just fine with php 4.x.

Quote:
includes/db/db.php

* CMS Warning line 51: On /index.php While executing query "SELECT t.topic_id, t.topic_last_post_id, t.topic_title, f.forum_name, f.forum_id, u.username, u.user_id, p.poster_id, p.post_time FROM cms_bbtopics t, cms_bbforums f LEFT JOIN cms_bbposts p ON (p.post_id = t.topic_last_post_id) LEFT JOIN cms_users u ON (u.user_id = p.poster_id) WHERE t.forum_id=f.forum_id ORDER BY t.topic_last_post_id DESC LIMIT 10" the following error occured: Unknown column 't.topic_last_post_id' in 'on clause' In: /home/account-name/public_html/blocks/block-Forums_scroll_Last_posts.php on line:

Thanks.

_________________


warden's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
Phoenix
Site Admin


Joined: Apr 19, 2004
Posts: 8729
Location: Netizen

PostPost subject: Re: Site broken server move
Posted: Sat Oct 20, 2007 4:28 am
Reply with quote

dragonflycms.org/Forum...ostid.html

Normally we don't advise mixing CVS files but in this instance you should be okay to use,
dragonflycms.org/cvs/h...php?g=9.10


Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
warden
Silver Supporter


Joined: Dec 16, 2004
Posts: 196
Location: North Carolina

PostPost subject: Re: Site broken server move
Posted: Sat Oct 20, 2007 10:12 am
Reply with quote

Aha... so it was the upgrade to mysql 5.x and not the upgrade to php 5.x that did it.

Thanks Phoenix! It works now.

_________________


warden's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
Jeruvy
Security Team


Joined: Apr 23, 2004
Posts: 1433
Location: Canada

PostPost subject: Re: Site broken server move
Posted: Tue Oct 23, 2007 5:26 pm
Reply with quote

Yup I have verified this also. PHP 5 update is no problem, but upgrading MySQL from 4.0.x to 5.x mysql does cause this. I'm not certain about 4.0 to 4.1
_________________
J.
j e r u v y a t y a h o o d o t c o m

Need help? Look here: www.dragonflycms.org/W...d=112.html
Need to chat? Look for me on irc.freenode.net

Jeruvy's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Ubuntu7.10/Debian3.1 - 2.2.3/1.3.37 - 5.0.38/4.0.27 - 5.2.1/4.4.7 - CVS/9.1.2}
Back to top
View user's profile ICQ Number Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexHelp 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.2911 seconds with 19 DB Queries in 0.0345 seconds
Memory Usage: 2.88 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy