Home Private Messages Search
CPG Dragonfly™ CMS Dedicated Server & Bandwidth Sponsored by DedicatedNOW
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Installation Issues ⇒ Upgrade problems from 9.1.2.5


Upgrade problems from 9.1.2.5
Post your DragonflyCMS installation questions and problems here.
Note that we have "Switch from X" forums for other CMS/forum conversions.
DO NOT post those or module installation issues here!

Go to page Previous  1, 2
Post new topic    Reply to topic    Printer Friendly Page     Forum Index ⇒  Installation Issues

View previous topic :: View next topic  
Author Message
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Wed Nov 26, 2008 2:21 am
Post subject: Re: Upgrade problems from 9.1.2.5

Somehow config table entry is corrupted. Update cms_config_custom to use "downloads" and clear your cache to fix 1 and 2.

_________________
.:: 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
Ronin
Dragonfly addicted
Dragonfly addicted

Offline Offline
Joined: Jun 07, 2004
Posts: 475
Location: Calgary, AB
PostPosted: Wed Nov 26, 2008 2:49 am
Post subject: Re: Upgrade problems from 9.1.2.5

Crap. Looks like all the cfg_name fields got snipped to 6 characters in length in the cms_config_custom table. I've fixed that now and deleted the cache.

Now I'm also seeing this when I try to access posts in the forum:

Quote::
includes/db/db.php

* CMS Warning line 75: On /Forums/viewtopic/t=97.html While executing query "SELECT COUNT(*) FROM cms_cppictures AS p, cms_cpalbums AS a WHERE a.aid=p.aid AND a.category=10002 LIMIT 0,1" the following error occured: Table 'dragonfly.cms_cppictures' doesn't exist In: /var/www/html/modules/Forums/viewtopic.php on line: 900

cms_cppictures and cms_cpalbums should probably be cms_cpg_pictures and cms_cpg_albums. Something else got truncated?

_________________
Cheers,

Ronin
Ronin Technologies
Dragonfly Google Maps Module

Ronin's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Lunarpages Linux / 1.3.37 / 4.1.22-standard-log / 4.4.4 / 9.1.2.5
Back to top
View user's profile Visit poster's website Photo Gallery
Ronin
Dragonfly addicted
Dragonfly addicted

Offline Offline
Joined: Jun 07, 2004
Posts: 475
Location: Calgary, AB
PostPosted: Wed Nov 26, 2008 2:58 am
Post subject: Re: Upgrade problems from 9.1.2.5

OK, figured out that cms_cpg_installs dirname and prefix also got truncated to 6 chars in length. Hopefully there's not too much more. Wonder how this happened? The db fields were definitely greater than 6 chars at the start of the install.

_________________
Cheers,

Ronin
Ronin Technologies
Dragonfly Google Maps Module

Ronin's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Lunarpages Linux / 1.3.37 / 4.1.22-standard-log / 4.4.4 / 9.1.2.5
Back to top
View user's profile Visit poster's website Photo Gallery
Ronin
Dragonfly addicted
Dragonfly addicted

Offline Offline
Joined: Jun 07, 2004
Posts: 475
Location: Calgary, AB
PostPosted: Wed Nov 26, 2008 2:31 pm
Post subject: Re: Upgrade problems from 9.1.2.5

P.S. Here's the php script I used to get the collation of my DB sorted out. You just need to edit it with your own dbuser, dbpasswd and dbname, and change localhost to your mySQL server's name if it isn't on the same machine as your dragonfly site:

PHP:
<?php
mysql_connect
("localhost","dbuser","dbpasswd");
mysql_select_db("dbname");

$res = mysql_query("SHOW TABLES");
while (
$row = mysql_fetch_array($res))
{
foreach (
$row as $key => $table)
{
mysql_query("ALTER TABLE " . $table . " CONVERT TO CHARACTER SET utf8 COLLATE utf8_unicode_ci");
echo
$key . " =&gt; " . $table . " CONVERTED<br />";
}
}
?>

_________________
Cheers,

Ronin
Ronin Technologies
Dragonfly Google Maps Module

Ronin's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Lunarpages Linux / 1.3.37 / 4.1.22-standard-log / 4.4.4 / 9.1.2.5
Back to top
View user's profile Visit poster's website Photo Gallery
Display posts from previous:   
Post new topic    Reply to topic    Printer Friendly Page    Forum Index ⇒  Installation Issues
Page 2 of 2
All times are GMT
Go to page Previous  1, 2



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 can download files in this forum


 
   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.

Číta ďalej...

   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