+ Reply to Thread
Results 1 to 9 of 9

Thread: PHP Nuke

  1. #1
    Silmaril is offline x10Hosting Member Silmaril is an unknown quantity at this point
    Join Date
    Feb 2009
    Posts
    13

    Post PHP Nuke

    Okay guys here it is,

    I downloaded phpnuke 8.0 (official release from phpnuke.org)

    I first attempted to upload this as a zip and extract but when i uploaded the file size changed and i could not extract. I tried two pieces of software cuteftp and bpftp for the upload aswell as trying the cpanel file manager.

    Cpanel file manager couldnt handle it and messed up after a few mb. The others both yeilded different but unsuccessful results - Both uploaded in full (supposedly) but on checking the file sizes were different depenand on the application used.

    Realising this, I then uploaded the unzipped folder which took some time... i pointed my browser to http://silmaril.pcriot.com/nuke/html in an attempt to start the install process but the page is garbled. I have kept everything on the server incase anyone wants to take a look at it.

    I realise i havent had the PHP Upgrade through yet, and this may be it but my gut tells me that this isnt the problem so i thought i would post for ideas.

    I have used phpnuke before but it has been years since i have even had internet access and i know that theres some stuff im trying to remember but cant, something tells me that i have messed up on the upload process but im just not sure....

    So on that note.... Ideas ?

    SiL
    Last edited by Silmaril; 02-15-2009 at 07:14 PM.

  2. #2
    xxll_martin_llxx is offline x10 Elder xxll_martin_llxx is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    716

    Re: PHP Nuke

    Did you create a database and a database user via the Cpanel?

    Did you change the config file? The config files holds the database information to connect the site up.

    http://silmaril.pcriot.com/nuke/ It looks as though not everything has uploaded anyhow?

    According to our Account Information Popup that staff see you DO have the correct level for php - intermediate.
    Last edited by xxll_martin_llxx; 02-15-2009 at 07:16 PM.

  3. #3
    Silmaril is offline x10Hosting Member Silmaril is an unknown quantity at this point
    Join Date
    Feb 2009
    Posts
    13

    Re: PHP Nuke

    Everything has uploaded fine looking at the directory listings.

    The database & User is created by phpnuke during the setup process which should activate when pointing to the above address. There is a more long winded way of isntalling by manually setting up the database, but i didnt see the point as phpnuke does it for you.

    I believe that the files' integrity have been compromised along the way... I am sure that when i last had to upload php files some years ago that i had to change some settings within my FTP client to ensure they arrived in the same condition they were sent in... i just cant remember what settings.

    Re: PHP Level, i wasnt too sure... I requested it and have recieved the first email saying that its been authorised but not the second to say that its active as yet.

    Edit:

    Okay im thinking ill start over, but first im trying to work out why the .zip that i uploaded has different file sizes

    silmaril.pcriot.com/nuke.zip is 5.18mb BPFTP
    silmaril.pcriot.com/nuke2.zip is 5.18mb BPFTP Second Attempt
    silmaril.pcriot.com/nuke3.zip is 5.14mb CuteFTP

    Local file size is 5.90mb ??

    As i watch the upload i see that it completes the full 5.90 (6,188,245 bytes) yet the size reported on server is 5,388,647 bytes [for the cuteftp upload of nuke3.zip]

    I am only concerned about the file sizes as i think this is the reason i cannot extract the zip
    Last edited by Silmaril; 02-15-2009 at 07:33 PM.

  4. #4
    xxll_martin_llxx is offline x10 Elder xxll_martin_llxx is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    716

    Re: PHP Nuke

    I don't really fancy downloading nuke 8 and uploading it right now because it's getting terribly late here but it sounds a bit wierd that Nuke would create the database.

    Firstly, I still don't believe that all files were uploaded - if I can get to the directory there obviously isn't an index.php.

    On the install page, if you read the readme file then it will give step by step instructions on how to get to the install page, it would ASK for a database, database username and password. These YOU would have had to create in Cpanel.

    There is a PHP Nuke in Fantastico which can be found in your Cpanel - I'm not sure which version it is and this DOES set up a database automatically for you and you could get on with your site straight away too, perhaps that would be something more of interest for you.


    EDIT**: I've just had a brainwave.

    You've uploaded EVERYTHING.

    On your computer, find the folder called html, what's in that? Is there some folders called admin images modules (and many more) and some files like index.php config.php (and a few others).

    What you want to upload is the things inside the html folder. If I'm correct in my thinking you literally need to delete what you've uploaded. Then select everything that is in the html folder (on your computer) and drop it on to your public_html (or in a folder under public_html) on your hosting space.
    Last edited by xxll_martin_llxx; 02-15-2009 at 07:42 PM. Reason: Brain wave

  5. #5
    Silmaril is offline x10Hosting Member Silmaril is an unknown quantity at this point
    Join Date
    Feb 2009
    Posts
    13

    Re: PHP Nuke

    Using Fantastico was my first thought but it is not in my cpanel? this is why i resorted to doing things the old fashioned way.

    The theme i wish to use is from a few years ago anyways, so even if phpnuke is an old version that will be fine... if only i could find fantastico?

    Edit:

    The files are all there im sure..... index.php is located in /nuke/html/
    Last edited by Silmaril; 02-15-2009 at 07:46 PM.

  6. #6
    xxll_martin_llxx is offline x10 Elder xxll_martin_llxx is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    716

    Re: PHP Nuke

    Read my edit.

    I've PM'ed you a link. You'll need to login to Cpanel I think.

  7. #7
    Silmaril is offline x10Hosting Member Silmaril is an unknown quantity at this point
    Join Date
    Feb 2009
    Posts
    13

    Re: PHP Nuke

    Makes sense that does... Okay ill check it out and the message and then im gonna go to bed i think and pick up where i left off in the morning.

    Cheers for the help!
    Edit:
    I managed to install successfully. For anyone else that wants to know how its done, its actually pretty straight forward...

    I had uploaded the files to the wrong place as Martin suggested.

    The contents of the HTML folder in the zip package of PHP Nuke 8.0 should be transfered into public_html/ and then you should point your browser to index.php where the installer then begins.

    the only problem that i encountered is although its meant to create a database for you, it didnt. So i had to do this in cpanel but once i had it made the installer worked fine.

    Thanks to Martin for the help.
    Last edited by Silmaril; 02-16-2009 at 03:45 AM. Reason: Automerged Doublepost

  8. #8
    xxll_martin_llxx is offline x10 Elder xxll_martin_llxx is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    716

    Re: PHP Nuke

    I'm glad you got it fixed.

    When I first started with websites I used PHP Nuke by installing it through Fantastico - this would set up the database automatically for me.

    I then learned I could download it, and upload the files myself. I'm still not sure about you're comments "although its meant to create a database for you, it didnt" - I don't believe that's the case at all. Going through the install part it asks for your database, name and password - these would have had to have been made already for it to work. I'm sure that's still the case now, and was the case before.

  9. #9
    Silmaril is offline x10Hosting Member Silmaril is an unknown quantity at this point
    Join Date
    Feb 2009
    Posts
    13

    Re: PHP Nuke

    Taken from the install.txt file

    Installing the Package (The fast and easy way)
    ----------------------------------------------

    Unzip the package into the directory you want to use on you web
    server, if you're unsure where that is, ask you system administrator.

    Point your browser to your site, for example: http://phpnuke.org

    The system will show you an error message with a link to the web based installer utility (introduced
    with PHP-Nuke 8.0), follow the very easy steps and you're done.


    Installing the Package (The hard way)
    -------------------------------------

    Unzip the package into the directory you want to use on you web
    server, if you're unsure where that is, ask you system administrator.

    Now go to the directory where you uncompressed all files and edit the
    file "config.php". Change all the fields until you are happy with the
    changes and they fits the need of your web site. Give special attention
    to the database configuration section. When you have finished to edit
    config.php file change to the /sql/ directory and there is a file called
    "nuke.sql" this file contains the commands to build the database structure,
    tables and the default data.

    If you're using a software like phpMyAdmin go to step 3.

    1) Create a database called, for example, nuke:

    mysqladmin create nuke

    2) Now fill the databases with the tables in nuke.sql file:

    mysql nuke < nuke.sql

    3) In order to use the ultramode.txt news file please be sure to chmod 666.
    This file is used to show news from your site in some old programs and
    frontends and is reserved to future use in PHP-Nuke. For backend use
    backend.php file instead.

    4) That's it!... now you need to edit the file "config.php" to set the
    database options. Please read carefully the instruction on that file!
    After that, point your browser to:

    http://phpnuke.org/admin.php


    ---> It definately does try to make a database !

    Edit:

    What i meant to say in that post, is that phpmyadmin says i have no access rights, so im thinking that that may be something to do with it.... i didnt make the database with phpmyadmin in the end i made it with the mysql / cpanel method

    You're right that it used to work that way though cos i remember having to make and populate the database last time i did it, but this way is much better! (try it sometime ;) )

    Now i put my theme up and the images dont align properly... it did that last time and i had to manually resize images to get them to fit, this time im just going to use a different theme i think... anyways, its up with one of the themes i like if you wanna take a look @ http://silmaril.pcriot.com/

    Edit 2: OMG!! Both the XD themes that i like are doing the same thing - not alligning the images correctly
    Last edited by Silmaril; 02-16-2009 at 06:07 AM. Reason: Automerged Doublepost

+ Reply to Thread

Similar Threads

  1. PHP Nuke Module Treasury V1.1
    By hadora in forum Programming Help
    Replies: 1
    Last Post: 09-24-2008, 09:52 PM
  2. Replies: 3
    Last Post: 03-10-2008, 12:22 PM
  3. php nuke
    By Masta111 in forum Scripts & 3rd Party Apps
    Replies: 3
    Last Post: 08-26-2006, 06:07 PM
  4. php nuke problem
    By death_knight_the_darkness in forum Free Hosting
    Replies: 2
    Last Post: 10-16-2005, 07:53 PM
  5. How to put ads in php nuke?
    By Nonis in forum Free Hosting
    Replies: 5
    Last Post: 09-04-2005, 12:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers