PHP Web Host - Quality Web Hosting For All PHP Applications Sign up for PayPal and start accepting credit card payments instantly
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
tourniqu3t
Hangin' Around


Joined: Jan 16, 2009
Posts: 40

PostPosted: Mon Aug 23, 2010 3:44 pm Reply with quote Back to top

I chose to upgrade from 2.3 version to 2.4. I am actually doing a fresh install instead. I seem that Raven or someone else wrote a wrong code in installSQL.php. You may look at this.

I clicked on step 3b.

Error said

The exact error message that your MySQL server reported is:
MySQL Error # 4 at line 117 in file installSQL.php ==> Duplicate entry '1401432064-1401434111-ie' for key 1

Error in ns_ip2c3.sql.gz at line 1:
INSERT INTO `nuke_nsnst_ip2country` (`ip_lo`, `ip_hi`, `date`, `c2c`) VALUES (1401432064, 1401434111, 1217134800, 'ie');
View user's profile Send private message
nuken
RavenNuke(tm) Development Team


Joined: Mar 11, 2007
Posts: 1536
Location: North Carolina

PostPosted: Mon Aug 23, 2010 3:52 pm Reply with quote Back to top

Are you using the latest version, 2.40.01?
View user's profile Send private message Send e-mail Visit poster's website
tourniqu3t
Hangin' Around


Joined: Jan 16, 2009
Posts: 40

PostPosted: Mon Aug 23, 2010 4:14 pm Reply with quote Back to top

Yes, that's correct.
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce


Joined: Jan 02, 2003
Posts: 2499

PostPosted: Tue Aug 24, 2010 5:29 am Reply with quote Back to top

Reporting errors of this nature without including server info php and mysql versions especially make it very difficult to... well to do anything.

In my case I had a failed install due to the latest PHP Version 5.3.2 date issues.
PHP 5.3 problem: Warning: date() [function.date]: It is not safe ...
I was able to quickly find a dirty hack to fix it but it was specific to my php version.
View user's profile Send private message
jestrella
Moderator


Joined: Dec 01, 2005
Posts: 535
Location: Santiago, Dominican Republic

PostPosted: Tue Aug 24, 2010 9:50 pm Reply with quote Back to top

If you get to this point, It means that the base system sql tables have been populated, so your system must be usable at the moment. But is still weird that error message being displayed.

I'll have to try a fresh install when possible and then report back....
View user's profile Send private message Visit poster's website
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Wed Aug 25, 2010 8:44 am Reply with quote Back to top

FWIW, I did two fresh installs with the same PHP version 5.3.2 and no errors whatsoever. I wonder if dropping the IP2C table and then using the installSQL once again this time only loading those tables will work. I've done just that in the past with success.
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Wed Aug 25, 2010 1:16 pm Reply with quote Back to top

Also wondering if the gzip may be problematic for whatever reason. I'm thinking of my problems with 5.3.2 and apache mods.
View user's profile Send private message
tourniqu3t
Hangin' Around


Joined: Jan 16, 2009
Posts: 40

PostPosted: Wed Aug 25, 2010 2:28 pm Reply with quote Back to top

jestrella wrote:
If you get to this point, It means that the base system sql tables have been populated, so your system must be usable at the moment. But is still weird that error message being displayed.

I'll have to try a fresh install when possible and then report back....


Everything include SQL is fresh.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Wed Aug 25, 2010 2:55 pm Reply with quote Back to top

tourniqu3t, just to clarify, did you drop the tables first or install to a new database? Knowing that will help us determine how to address this.
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Wed Aug 25, 2010 3:31 pm Reply with quote Back to top

Find your PHP.INI file and then look for the timezone setting:

For your timezone, edit the line or uncomment it, such as:
Code:

date.timezone = "America/New_York"

That's just an example.

Cheers, let us know how it turns out.

BTW: On new installs of PHP 5.3.2, the date line is usually commented out.
View user's profile Send private message
tourniqu3t
Hangin' Around


Joined: Jan 16, 2009
Posts: 40

PostPosted: Wed Aug 25, 2010 10:41 pm Reply with quote Back to top

kguske wrote:
tourniqu3t, just to clarify, did you drop the tables first or install to a new database? Knowing that will help us determine how to address this.


I dropped all tables first before I start to install.

Everything is fresh. That's all I did.
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Thu Aug 26, 2010 6:24 am Reply with quote Back to top

Have you tried the PHP.INI edit?? I'm thinking that will do it.

Mine is set to:

Code:
date.timezone="US/Central"
View user's profile Send private message
Palbin
Site Admin


Joined: Mar 30, 2006
Posts: 2456
Location: Pittsburgh, Pennsylvania

PostPosted: Thu Aug 26, 2010 6:51 am Reply with quote Back to top

dad7732 wrote:
Have you tried the PHP.INI edit?? I'm thinking that will do it.

Mine is set to:

Code:
date.timezone="US/Central"



dad7732 what is the reason you are asking him to do that?
View user's profile Send private message
dad7732
RavenNuke(tm) Development Team


Joined: Mar 18, 2007
Posts: 1191

PostPosted: Thu Aug 26, 2010 7:28 am Reply with quote Back to top

Because I googled the error and one of the fixes was to configure the correct timezone entry in PHP.INI

I think it's worth a shot anyways ..

Nevermind, I'm looking at the wrong reply .. Sad
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

PostPosted: Fri Aug 27, 2010 7:38 am Reply with quote Back to top

A duplicate entry error usually means you tried loading the tables without dropping them first.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
tourniqu3t
Hangin' Around


Joined: Jan 16, 2009
Posts: 40

PostPosted: Sat Aug 28, 2010 12:05 am Reply with quote Back to top

Raven wrote:
A duplicate entry error usually means you tried loading the tables without dropping them first.


Ok, I will try again tomorrow morning.
View user's profile Send private message
tourniqu3t
Hangin' Around


Joined: Jan 16, 2009
Posts: 40

PostPosted: Sun Sep 05, 2010 8:57 am Reply with quote Back to top

Sorry to keep you waiting for an answer from me. I struggled with upload. It's solved. And installSQL.php is successful now. Smile
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum