Need Help with PHP-Nuke

Discussion in 'Web Design & Coding' started by gmagnuson, Jul 6, 2003.

  1. gmagnuson

    gmagnuson Guest

    Ok, I am trying to setup this website with php nuke. My host has all of the required components (PHP, MySQL). I get 3 error messages when I try to log into the admin pannel for the first time.

    Warning: Invalid argument supplied for foreach() in /users/coolfreepages.com/****Site name goes here****/html/mainfile.php on line 42

    Warning: Invalid argument supplied for foreach() in /users/coolfreepages.com/****Site name goes here/html/mainfile.php on line 57

    Fatal error: Call to undefined function: message_die() in /users/coolfreepages.com/****Site name goes here/html/db/db.php on line 88


    Thanks in advance!
     
  2. ZAnwar

    ZAnwar Guest

    why use PHP-Nuke, get the IPB gapman portal.

    looks much nicer! :)

    and it is free aswell! :cool:
     
  3. gmagnuson

    gmagnuson Guest

    Do you have a website? I found one, but it seams to be down. I just want something easy to setup and that has lots of mod's and add on packs to choose from.
     
  4. Geffy

    Geffy Moderator Folding Team

    Messages:
    7,805
    Location:
    United Kingdom
    it would help if you tell us what is at those lines in those files that the error messages describe
     
  5. gmagnuson

    gmagnuson Guest

    foreach ($_GET as $secvalue) {


    foreach ($_POST as $secvalue) {


    message_die(CRITICAL_ERROR, "Could not connect to the database");


    Ok, That is what it says, I do not know much about PHP. I am not sure if that will help or not. If someone is willing to help me by checking the PHP file(s) I can give them the file or access to the website. (PM me for that info) I am trying to make this website for our local 4-H Club and hope to get it working soon.....
     
  6. Geffy

    Geffy Moderator Folding Team

    Messages:
    7,805
    Location:
    United Kingdom
    make a page with this
    PHP:
    <?php phpinfo(); ?>
    call the page like phpinfo.php
    then look for "register globals"
    is it on or off
     
  7. gmagnuson

    gmagnuson Guest

    Comes up with error:
    Fatal error: Call to undefined function: phpinfo() in /users/coolfreepages.com/awesomeachiever/html/phpinfo.php on line 1

    Attached is the document I used notepad.
     
  8. ZAnwar

    ZAnwar Guest

    Here: The Hacking Underground
     
  9. Geffy

    Geffy Moderator Folding Team

    Messages:
    7,805
    Location:
    United Kingdom
  10. gmagnuson

    gmagnuson Guest

    Ok, I am working through the installation process and am at the step using phpMyAdmin. Here is what the error says:

    Welcome to phpMyAdmin 2.5.1
    Error
    MySQL said:
    Access denied for user: 'root@localhost' (Using password: NO)


    What now? I don't know where I put my password
     
  11. gmagnuson

    gmagnuson Guest

    never mind, I got that part figured out
     
  12. ZAnwar

    ZAnwar Guest