Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
Toggle Content
 
Forums ⇒ DragonflyCMS ⇒ Problems AFTER Install/Upgrade :: Archives ⇒ 9.1.1 upgrade - new members join date is Dec 31, 1969 :: Archived


9.1.1 upgrade - new members join date is Dec 31, 1969 :: Archived
Issues that happen after DragonflyCMS upgrade/install.
DO NOT post module installation issues here!

Go to page Previous  1, 2
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
NanoCaiordo
Developer
Developer

Offline Offline
Joined: Jun 29, 2004
Posts: 3878
Location: Melbourne, AU
PostPosted: Mon Apr 02, 2007 11:45 am
Post subject: Re: 9.1.1 upgrade - new members join date is Dec 31, 1969

Thank you very much!

Run this query for me please and pass the output here:
Code::
show variables where variable_name like '%time_zone'

_________________
.:: 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
rosbif
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Jan 13, 2005
Posts: 593
Location: Paris, France
PostPosted: Mon Apr 02, 2007 12:13 pm
Post subject: Re: 9.1.1 upgrade - new members join date is Dec 31, 1969

Nano,

Is that an SQL query? I get a message:

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where variable_name like %time_zone' at line 1


rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
ChantillyExpat.com - Others-
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: Mon Apr 02, 2007 12:20 pm
Post subject: Re: 9.1.1 upgrade - new members join date is Dec 31, 1969

then try
Code::
show variables like '%time_zone'

_________________
.:: 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
rosbif
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Jan 13, 2005
Posts: 593
Location: Paris, France
PostPosted: Mon Apr 02, 2007 12:27 pm
Post subject: Re: 9.1.1 upgrade - new members join date is Dec 31, 1969

That returned this:

Code::
Variable_name  Value  
system_time_zone EDT 
time_zone SYSTEM 


rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
ChantillyExpat.com - Others-
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: Mon Apr 02, 2007 1:13 pm
Post subject: Re: 9.1.1 upgrade - new members join date is Dec 31, 1969

just to be sure that you updated even your languages, english from the core package and others lang from our downloads section that have been updated one month ago i think and are 9.1.2.1 compatibles

_________________
.:: 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
rosbif
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Jan 13, 2005
Posts: 593
Location: Paris, France
PostPosted: Mon Apr 02, 2007 1:20 pm
Post subject: Re: 9.1.1 upgrade - new members join date is Dec 31, 1969

Nano,

OK - was just going to try and upgrade to the latest version 9.1.2.1 - can I just overwrite everything with the new version for an upgrade from 9.1.1? That should ensure I have the latest language files too?


rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
ChantillyExpat.com - Others-
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: Mon Apr 02, 2007 1:23 pm
Post subject: Re: 9.1.1 upgrade - new members join date is Dec 31, 1969

There are no language changes from 9.1.1 and 9.2.1, but you are welcome to upgrade to 9.2.1 to get the latest improvements.

_________________
.:: 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
rosbif
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Jan 13, 2005
Posts: 593
Location: Paris, France
PostPosted: Mon Apr 02, 2007 1:31 pm
Post subject: Re: 9.1.1 upgrade - new members join date is Dec 31, 1969

OK - have just upgraded my test server to the latest version - so presumably have the latest language files. Dates still showing as before...


rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
ChantillyExpat.com - Others-
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: Mon Apr 02, 2007 2:26 pm
Post subject: Re: 9.1.1 upgrade - new members join date is Dec 31, 1969

If you still have the old db back, could you please try to do an upgrade again to see if that happen again, if that happen again add this on top of your install.php (existing code in includes/functions/language.php)
PHP:
<?php
if (!setlocale(LC_TIME, 'en_US.UTF-8')) {
if (!
setlocale(LC_TIME, 'en_US.utf8')) {
if (!setlocale(LC_TIME, 'en_US')) {
if (!setlocale(LC_TIME, 'english') && PHPVERS >= 43) {
setlocale(LC_TIME, array('en', 'eng', 'ISO-8859-1'));
}
}
}}

_________________
.:: 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
rosbif
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Jan 13, 2005
Posts: 593
Location: Paris, France
PostPosted: Mon Apr 02, 2007 3:20 pm
Post subject: Re: 9.1.1 upgrade - new members join date is Dec 31, 1969

Mm, OK. How do I get the old database back? Back up the new, insert the old? Do I need to have all my 9.0.6.1 files back in place to do the insert? This sounds like a bit of a nightmare!


rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
ChantillyExpat.com - Others-
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: Mon Apr 02, 2007 3:30 pm
Post subject: Re: 9.1.1 upgrade - new members join date is Dec 31, 1969

No, just create a test database and put your backup in there.
Then modify config.php to connect to that database.


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
rosbif
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Jan 13, 2005
Posts: 593
Location: Paris, France
PostPosted: Mon Apr 02, 2007 6:13 pm
Post subject: Re: 9.1.1 upgrade - new members join date is Dec 31, 1969

ok - will try this tomorrow - got to fly home from India first!


rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
ChantillyExpat.com - Others-
Back to top
View user's profile Visit poster's website
rosbif
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Jan 13, 2005
Posts: 593
Location: Paris, France
PostPosted: Fri Apr 06, 2007 9:09 am
Post subject: Re: 9.1.1 upgrade - new members join date is Dec 31, 1969

OK - I pointed config.php to a backup of the old database, recreated the install directory and php file and ran install again. It did the db update and the members all show the correct joining date.

Getting the hang of this I then exported an UPDATE query of the old users, updating the regdate with the version that had been fixed on my test database. Hey presto - all working now!

I have no idea why it didn't work before, but want to thank you guys for this. All I need to do know is update to the latest version and I'll be off and running again...


rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
ChantillyExpat.com - Others-
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 Apr 06, 2007 10:18 am
Post subject: Re: 9.1.1 upgrade - new members join date is Dec 31, 1969

so all is working without the "setlocale()" hack previously posted by me?

_________________
.:: 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
rosbif
500+ Posts Club
500+ Posts Club

Offline Offline
Joined: Jan 13, 2005
Posts: 593
Location: Paris, France
PostPosted: Fri Apr 06, 2007 10:49 am
Post subject: Re: 9.1.1 upgrade - new members join date is Dec 31, 1969

yes - I just ran the update on the old database again which updated the table. I then exported the user_id and regdate fields and updated my new table. All working now with no other hack.

No idea what happened in the first place - looking at my 9.1.1 user table it had a blank entry originally for the regdate.


rosbif's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
ChantillyExpat.com - Others-
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic    Revive this topic    Printer Friendly Page    Forum Index ⇒  Problems AFTER Install/Upgrade
Page 2 of 2
All times are GMT
Go to page Previous  1, 2

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