PDA

View Full Version : Problem with PHP Nuke


azzracing
10-25-2004, 07:47 PM
I have PHP Nuke Installed in the following directory.

public_html/PHPNuke

I can see everything if i type in the appropriate URL to the php index file.
I realise that i need to have the index in the main public_html directory for it to be shown as my main page.

The problem is when i move the index file to that directory i loose all images on the page and havent even added any to it yet. Its still the default PHP files. I am just trying to get everything where it needs to be and then start work on the pages any help would be greatly appreciated.

As of right now i am chasing my tail like a dog tryin to get dizzy here.

Creator
10-25-2004, 07:59 PM
azzracing,

Dont move your files to root. Instead use a simple re-directing script. Which is the easiest way to get main page as default.
<?php
header("Location: http://yourdomain/PHPNuke");
?>

Put this code in a new index.php and place it in root.

Hope that helps! :)

azzracing
10-25-2004, 08:26 PM
Is that the only theing that i would put to the html/PHP file or do i leave everything else in.

I'm not trying to be a pain but i am very new to the php thing and i tried the above and left all the html for head tags and body tags in the html and came up with a blank page.

azzracing
10-25-2004, 08:27 PM
I think when im done im going to make a tutorial for the very new beginers on here. I have yet to find one. I even searched the net for PHPNuke tutorials and came up with the conclusion that you would need atleast two years of programming language to be able to understand what the tutorials were saying.....hehehe...... how bout this title "PHPNuke For Dummies"

Lmao.... If i was looking for a tutorial on PHPNuke that would be the first one i would select

Creator
10-25-2004, 08:31 PM
Use your phpnuke in "phpnuke" directory.

which will be first level directory from root.

Then put the above index.php file in root.

So when you type your website name, you will be automatically re-directed to inside directory almost instantly.

azzracing
10-25-2004, 08:35 PM
Originally posted by Creator@Oct 25 2004, 08:31 PM
Use your phpnuke in "phpnuke" directory.

which will be first level directory from root.

Then put the above index.php file in root.

So when you type your website name, you will be automatically re-directed to inside directory almost instantly.
3376


ok so dont make an html file .....create a php file and just apply that code to it? and then upload that php file to the public_html folder and let it direct to the PHPNuke index in the phpnuke directory?

azzracing
10-25-2004, 08:53 PM
Originally posted by azzracing@Oct 25 2004, 08:35 PM
ok so dont make an html file .....create a php file and just apply that code to it? and then upload that php file to the public_html folder and let it direct to the PHPNuke index in the phpnuke directory?
3377


Ok now im lost..

1) i left the PHP Nuke index.php in the PHPNuke directory.

2) applyied that code you gave me to a new File and created a index.php in the public_html main directory.

3) still come up blank page.

I must not be putting the code in correctly. my url is team-swr.hostmatrix.org

If you would explain to me exactly where the code needs to be applied to on that page or show me th epage code and can igure it out from there.

azzracing
10-25-2004, 09:06 PM
OK i got it thank you.

I was leaving all the Head tags and body tags and all in my html document then saving it as an html document i fixed it by removing all Tags in the html document, applying the code to the page and saving it as a PHP document after inserting my domain in the appropriate area.

Thank you very Much Creator