You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 352 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - downgrading site from 7.8 to 7.6 [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
R5-T2
Nuke Soldier
Nuke Soldier


Joined: Mar 17, 2009
Posts: 14


PostPosted: Thu Mar 19, 2009 1:17 pm Reply with quoteBack to top

I inherited a website and it's time to freshen things up.
The 'Version Number add on' says the current Nuke version is 7.8.
The current phpbb is 2.0.15.

Plan is to perform downgrade/switches locally.

I'm missing a step in getting this site to run locally though. Here's what the error logs say.

apache_error_log (last line)
Thu Mar 19 11:41:59 2009] [notice] caught SIGTERM, shutting down

mysql_error_log
empty

php_error.log (last line)
[19-Mar-2009 11:41:54] PHP Notice: import_request_variables() [<a href='function.import-request-variables'>function.import-request-variables</a>]: No prefix specified - possible security hazard in /Users/*/*/*/html/mainfile.php on line 64

mainfile.php

Code:
$phpver = explode(".", $phpver);
$phpver = "$phpver[0]$phpver[1]";
if ($phpver >= 41) {
   $PHP_SELF = $_SERVER['PHP_SELF'];
}

if (!ini_get("register_globals")) {
   import_request_variables('GPC');
}

if(isset($admin))
{
   $admin = base64_decode($admin);
   $admin = addslashes($admin);
   $admin = base64_encode($admin);
}

if(isset($user))
{
   $user = base64_decode($user);
   $user = addslashes($user);
   $user = base64_encode($user);
}

function makePass() {
   $cons = "bcdfghjklmnpqrstvwxyz";
   $vocs = "aeiou";
   for ($x=0; $x < 6; $x++) {
      mt_srand ((double) microtime() * 1000000);
      $con[$x] = substr($cons, mt_rand(0, strlen($cons)-1), 1);
      $voc[$x] = substr($vocs, mt_rand(0, strlen($vocs)-1), 1);
   }
   mt_srand((double)microtime()*1000000);
   $num1 = mt_rand(0, 9);
   $num2 = mt_rand(0, 9);
   $makepass = $con[0] . $voc[0] .$con[2] . $num1 . $num2 . $con[3] . $voc[3] . $con[4];
   return($makepass);
Find all posts by R5-T2View user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Thu Mar 19, 2009 6:17 pm Reply with quoteBack to top

You probably want to turn your error reporting level down

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
R5-T2
Nuke Soldier
Nuke Soldier


Joined: Mar 17, 2009
Posts: 14


PostPosted: Fri Mar 20, 2009 11:11 am Reply with quoteBack to top

Set it to E_CORE_ERROR
No error in the php file now. But The site still wont load.

when I load the page in a browser I get this.

Image
Find all posts by R5-T2View user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Fri Mar 20, 2009 4:52 pm Reply with quoteBack to top

It means your SQL settings are incorrect in config.php or MySQL is not loaded correctly

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
R5-T2
Nuke Soldier
Nuke Soldier


Joined: Mar 17, 2009
Posts: 14


PostPosted: Fri Mar 20, 2009 5:04 pm Reply with quoteBack to top

config.php


$dbhost = "localhost";
$dbuname = "root";
$dbpass = "";
$dbname = "phpnuke";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";


What should I look for in MySQL ?
Find all posts by R5-T2View user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Fri Mar 20, 2009 5:51 pm Reply with quoteBack to top

The correct MySQL username and password

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
R5-T2
Nuke Soldier
Nuke Soldier


Joined: Mar 17, 2009
Posts: 14


PostPosted: Sat Mar 21, 2009 3:01 pm Reply with quoteBack to top

They are correct. Looks like the database name is one problem.

Where are the original databases stored in phpnuke?
Find all posts by R5-T2View user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Sat Mar 21, 2009 7:44 pm Reply with quoteBack to top

You have to create a database in MySQL

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
R5-T2
Nuke Soldier
Nuke Soldier


Joined: Mar 17, 2009
Posts: 14


PostPosted: Sat Mar 21, 2009 10:37 pm Reply with quoteBack to top

I did. Named it what the config calls for.
Now a blank page loads.

Here's the mssql_error.log
090321 22:33:55 mysqld started
090321 22:33:55 [Warning] You have forced lower_case_table_names to 0 through a command-line option, even though your file system '/Applications/MAMP/db/mysql/' is case insensitive. This means that you can corrupt a MyISAM table by accessing it with different cases. You should consider changing lower_case_table_names to 1 or 2
090321 22:33:55 [Warning] One can only use the --user switch if running as root

090321 22:33:55 InnoDB: Started; log sequence number 0 43665
090321 22:33:55 [Note] /Applications/MAMP/Library/libexec/mysqld: ready for connections.
Version: '5.0.41' socket: '/Applications/MAMP/tmp/mysql/mysql.sock' port: 8889 Source distribution


Should I be importing a db with myphpadmin?
I have a phpbb_db_backup.sql file.
Find all posts by R5-T2View user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Sat Mar 21, 2009 10:43 pm Reply with quoteBack to top

I don't know what those warnings are, but yes.. you'll need to import your data through phpMyAdmin or mysql command line

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
R5-T2
Nuke Soldier
Nuke Soldier


Joined: Mar 17, 2009
Posts: 14


PostPosted: Sun Mar 22, 2009 8:12 am Reply with quoteBack to top

That's fixed. Next problem...
Find all posts by R5-T2View user's profileSend private message
nrw24
Nuke Cadet
Nuke Cadet


Joined: Apr 01, 2009
Posts: 1

Location: none..

PostPosted: Wed Apr 01, 2009 5:41 am Reply with quoteBack to top

what did you do?? Rolling Eyes
This sql makes me evil
Find all posts by nrw24View user's profileSend private messageVisit poster's websiteAIM AddressYahoo MessengerMSN MessengerICQ Number
huang1



Joined: Dec 18, 2015
Posts: 0


PostPosted: Thu Dec 17, 2015 6:46 pm Reply with quoteBack to top

curry one
curry 1 shoes
air max pas cher homme
air max mujer
air max hombre
air max homme
air max 90 femme
air max 90 homme
air max 90 mujer
air max 90 hombre
roshe run damen
roshe run herren
roshe run homme
roshe run femme
roshe run baratas
roshe run mujer
air max zero
roshe run cheap
cheap roshe runs
cheap roshe run
Cheap Curry One
good seller nike shoes
Air Max 2016 Pas Cher
2015 Air Jordan Retro
2016 Air Jordan Shoes
Odell Beckham Jr Jersey
Find all posts by huang1View user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.053 Seconds - 231 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::