There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
black screen blue screen boot bsod computer connection crash css dell display driver drivers email error explorer firefox firefox 3 hard drive internet internet explorer itunes laptop lcd malware monitor network networking nvidia outlook outlook 2003 outlook express password printer problem problems ram router security slow software sound sprtcmd.exe trojan usb video virus vista windows windows xp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
does anyone have experience setting up phpnuke 7.9?


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
Webman's Avatar
Senior Member with 162 posts.
 
Join Date: Oct 2004
Experience: Intermediate
26-Feb-2007, 01:08 AM #1
does anyone have experience setting up phpnuke 7.9?
Hey I have tried to search for a few but there aren't many tutorials on how to use phpnuke 7.9. I have set up a database so far with phpMyAdmin, and have populated it with the fields from my nuke.sql file. I have edited my php.config file I assumed I needed to change the permissions on the file to rw- rw- rw- . I changed the neccessary values and uploaded them to my server but when I go to my site www.nameofsite.com/html/config.php I get an error message saying there is something wrong with the MySql server. Does anyone know of anything else I might need to change or if there is a tutorial for 7.9 out there? Thanks,

-Andy
Webman's Avatar
Senior Member with 162 posts.
 
Join Date: Oct 2004
Experience: Intermediate
27-Feb-2007, 04:39 PM #2
Postnuke Installation
hey I am trying to do a postnuke installation now, I gave up with phpnuke since it sucks, and I am trying to install postnuke but I got an error when I was going through the install process and I'm not sure what it means. Any thoughts would be greatly appreciated.

Warning: mysql_pconnect(): Access denied for user: 'i5d-stud_Nuke@df44' (Using password: YES) in /home/i5d-stud/public_html/html/install/newinstall.php on line 37

Warning: mysql_query(): Access denied for user: 'root@localhost' (Using password: NO) in /home/i5d-stud/public_html/html/install/newinstall.php on line 38

Warning: mysql_query(): A link to the server could not be established in /home/i5d-stud/public_html/html/install/newinstall.php on line 38
Unable to make database
Cookiegal's Avatar
Administrator with 54,845 posts.
 
Join Date: Aug 2003
Location: Quebec, Canada
28-Feb-2007, 10:36 AM #3
Please do not start more than one post for the same issue. I've merged them both together here.
Webman's Avatar
Senior Member with 162 posts.
 
Join Date: Oct 2004
Experience: Intermediate
28-Feb-2007, 11:21 AM #4
they are completely different things that's why I started a new post. Post Nuke and PHP Nuke are definitely not the same thing....
Cookiegal's Avatar
Administrator with 54,845 posts.
 
Join Date: Aug 2003
Location: Quebec, Canada
28-Feb-2007, 11:32 AM #5
Please forgive my ignorance as I'm not a programmer but aren't they similar applications?
MMJ's Avatar
MMJ MMJ is offline
Distinguished Member with 3,252 posts.
 
Join Date: Oct 2006
28-Feb-2007, 12:58 PM #6
Post nuke is a branch off of php nuke, they are not completely different things.

First post: what exactly was the error message.

second post: set all the permissions to 000 than to 777.
Webman's Avatar
Senior Member with 162 posts.
 
Join Date: Oct 2004
Experience: Intermediate
28-Feb-2007, 01:49 PM #7
permissions on everything or just one particular file or folder?

I guess you are right they are branches of each other but they aren't the same.
MMJ's Avatar
MMJ MMJ is offline
Distinguished Member with 3,252 posts.
 
Join Date: Oct 2006
28-Feb-2007, 02:03 PM #8
Do you have the following database user "i5d-stud_Nuke@df44"?

post newinstall.php in [php][/php] tags.
Webman's Avatar
Senior Member with 162 posts.
 
Join Date: Oct 2004
Experience: Intermediate
28-Feb-2007, 04:30 PM #9
no, my database user is just i5d-stud_Nuke. Here is my newinstall.php file do you have to modify it? In the tutorial I read it didn't say anything about changing it. Here it is:

PHP Code:
<?php
// File: $Id: newinstall.php 17444 2006-01-02 12:20:51Z hammerhead $
// ----------------------------------------------------------------------
// PostNuke Content Management System
// Copyright (C) 2001 by the PostNuke Development Team.
// http://www.postnuke.com/
// ----------------------------------------------------------------------
// Based on:
// PHP-NUKE Web Portal System - http://phpnuke.org/
// Thatware - http://thatware.org/
// ----------------------------------------------------------------------
// LICENSE

// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License (GPL)
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// To read the license please visit http://www.gnu.org/copyleft/gpl.html
// ----------------------------------------------------------------------
// Original Author of file: Gregor J. Rothfuss
// Purpose of file: Provide functions for a new install.
// ----------------------------------------------------------------------
/**
 * This function creates the DB on new installs
 */
function make_db($dbhost$dbuname$dbpass$dbname$prefix$dbtype$dbmake$dbtabletype)
{
    global 
$dbconn;
    echo 
"<center><br /><br />";
    if (
$dbmake) {
        
mysql_pconnect($dbhost$dbuname$dbpass);
        
$result mysql_query("CREATE DATABASE $dbname") or die (_MAKE_DB_1);
        
$message "<br /><br /><span class=\"pn-failed\">$dbname " _MAKE_DB_2 "</span>";
        echo 
$message;
    } else {
        echo 
"<span class=\"pn-failed\">" _MAKE_DB_3 "</span>";
    }
    include(
"install/newtables.php");
}

/**
 * This function inserts the default data on new installs
 */
function input_data($dbhost$dbuname$dbpass$dbname$prefix$dbtype$aid$name$pwd$repeatpwd$email$url)
{
    global 
$currentlang;
    if (
$pwd != $repeatpwd) {
        echo 
_PWBADMATCH;
        exit;
    } else {
        echo 
"<center>";
        echo 
"<span class=\"pn-title\">" _INPUT_DATA_1 "</span>";
        global 
$inst_dbconn;
        
mysql_connect($dbhost$dbuname$dbpass);
        
mysql_select_db("$dbname") or die ("<br /><span class=\"pn-sub\">" _NOTSELECT "</span>");
        
// Put basic information in first
        
include("install/newdata.php");
        
// new installs will use md5 hashing - compatible on windows and *nix variants.
        
$pwd md5($pwd);

        
$result $inst_dbconn->Execute("INSERT INTO " $prefix "_users VALUES ( NULL, '$name', '$aid', '$email', '', '$url', 'blank.gif', " time() . ", '', '', '', '', '', 0, 0, '', '', '', '$pwd', 10, '', 0, 0, 0, '', 0, '', '', 4096, 0, '12.0')") or die ("<strong>" _NOTUPDATED $prefix "_users</strong>");
        echo 
"<br /><span class=\"pn-sub\">" $prefix "_users" _UPDATED "</span>";
        
// We know that the above user is UID 2 and that the admin group is GID 2 from the install/newdata
        
$result $inst_dbconn->Execute("INSERT INTO " $prefix "_group_membership VALUES (2, 2)") or die ("<strong>" _NOTUPDATED $prefix "_group_membership</strong>");
        echo 
"<br /><span class=\"pn-sub\">" $prefix "_group_membership" _UPDATED "</span>";
    }
}

?>
MMJ's Avatar
MMJ MMJ is offline
Distinguished Member with 3,252 posts.
 
Join Date: Oct 2006
02-Mar-2007, 06:26 AM #10
What kind of admin panel do you have?

what version of postnuke did you download?
Webman's Avatar
Senior Member with 162 posts.
 
Join Date: Oct 2004
Experience: Intermediate
03-Mar-2007, 01:27 AM #11
what do you mean what kind of admin panel do I have? Are you referring to the admin panel when I log on to my site, e.g. vdeck, which I am using.

I downloaded postnuke .764 http://noc.postnuke.com/frs/?group_id=5&release_id=700
MMJ's Avatar
MMJ MMJ is offline
Distinguished Member with 3,252 posts.
 
Join Date: Oct 2006
03-Mar-2007, 02:26 AM #12
I downloaded and installed post nuke and had no problems whatsoever.

Which step of the installation did you get that warning?

That warning means that Post Nuke couldn't connect to the db successfully. Make sure that the db user is correct and that it has all permissions.
Webman's Avatar
Senior Member with 162 posts.
 
Join Date: Oct 2004
Experience: Intermediate
03-Mar-2007, 03:58 AM #13
hmm this is interesting.. take a look at these 2 ss's. I don't get why I have permissions on one, but not on the other.
Attached Thumbnails
does-anyone-have-experience-setting-errormyadmin.jpg  does-anyone-have-experience-setting-vdeck_config.jpg  
MMJ's Avatar
MMJ MMJ is offline
Distinguished Member with 3,252 posts.
 
Join Date: Oct 2006
04-Mar-2007, 01:32 AM #14
You inserted something wrong in the installation

Create a new db user, call it nuke, and give it all permissions.

Create a new db, call it nuke.

Use those in the installation.
Webman's Avatar
Senior Member with 162 posts.
 
Join Date: Oct 2004
Experience: Intermediate
04-Mar-2007, 11:26 AM #15
still am getting the same error message as before. Just to make sure here is what I am entering for my values in the configuration part.
Attached Thumbnails
does-anyone-have-experience-setting-postnukeinstall.jpg  
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 11:15 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.