Jul 27, 2008

Changin My Phpnuke Directory...please Help

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > PHP Programming
Pages: 1, 2

free web hosting

Changin My Phpnuke Directory...please Help

BOAW
ok i wus fantastico to install my nuke...it asked me to give it a name for its directory so ive put down "nuke" so to get to my site ud have to go to www.boaw.trap17.com/"nuke" but now i want to change nuke into something else more related to the site...i was wondering if any1 can tell me the best way to do that...thanks

Reply

Albus Dumbledore
well, i havent dealt with phpnuke before, but i would say the easiest way would be to go into the administration of PHPNuke and change the URL for the site to change it to the NEW directory that it will be in, then you simply change the name of "nuke" to the NEW directory name, and it should work that way....

Reply

BOAW
its not that simple lol cuz then i dont know know if everything thats in that directory changes along with it to b able to link itself correctly so everything works

Reply

Albus Dumbledore
well if PHPnuke is smart enough like other things online (forums, poll etc) if you go into the administration panel and change the URL to the NEW directory, it should automaticy tell the rest of the system to grab all of the images for the skin from the new directory instead of from the old one... same with the links, it should automaticly change itself to make it point towards the new directory unless you had to type in the links by hand, then you need to go and change those by hand.

but if you change the name from 'nuke' to 'whatever' before you change the URL it will be more difficult to change the URL you would either have to go into the config file and change it by hand, or into PHPMy Admin and change it by searching through the logs..

if you want to wait for someone more knowledgable and who might tell you "Yeah do ____" then go ahead tongue.gif lol

*edit*

i just installed phpnuke onto my site....

i logged into the administration panel, and went to prefrences (spelling) and edited my url from http://hogwartsmagic.net/nuke to http://hogwartsmagic.net/change

i went into my file manager and changed the name of the directory to change and then went to the new names directory and was fully available to navigate the PHP Nuke system...

so id say that works....
but now the only problem is, if you posted a link somewhere on PHPNuke on your own... like for say you added a link to the download page on the index page.... then you would need to go in and change that by yourself... because since the system didn't put that in, it is somthing the system will not change...

catch my drift? if no just say and ill explain more, if it can be explained more >_<

 

 

 


Reply

BOAW
hmm well what if i didnt want that sub domain and just wanted it to run off my actual domain lke...www.boaw.trap17.com instead of nething after .com like /nuke how would i do that??

Reply

Mjay06
With Nuke you dont have to specify a directory, you can install it directly onto your domain. Just leave the directory section blank when you install it.

I appreciate that doesnt help with your current problem tho.

If I was you I'd do a quick sql backup, backup all your nuke files, uninstall your nuke, install it again on your domain & just overwrite the nuke files in public_html with the ones you backed up. Do the same with your sql tables & the only difference to your site you will notice will be the new url smile.gif

Reply

BOAW
wow thanks for the adice but that sounds very risky heh i really wanna do that but i dont want to mess up n lose something ya know?? but ill see about that

Reply

Albus Dumbledore
well thats really the only way to do it.... for what you are wanting to do..
lol

just go into the Cpanel back-up tool and download the PhpNUKE MySql database and put it on your computer, then delete the current PHPNuke You have on there now, then re-install it onto the main directory instead of /nuke

but i think you would still have to change the URL in the prefrences before you make the back-up and un-install it....

Reply

BOAW
well i just tried it....and it said its url wus www.boaw.trap17.com...but when i went there it showed the trap17 index page...so i had to add in index.php after the domain...i really shouldnt have to do that should i...how can i just put in the domain name n have it direct me there...

Reply

MIGUE2k7
BOAW,
I really cant understand what you want exactly but as far as im reading you want to access to your PHPnuke index page from your domain (www.boaw.trap17.com)
Well, i can try to tell you step by step how to get it:
1) Backup your database by going to the Administration menu, you see there the backup button tongue.gif (its preferrable to start a fresh installation of the entire CMS, so if you really dont have valuable content yet dont do this)
2) Go to your fantastico panel and unistall your current installation of Nuke.
3) Now, enter to your FTP and delete the .html files that are located on the root directory of your site and public_html folder. (im not sure how if those are the only that makes conflicts at the time or installing nuke, but if you got more errors, post smile.gif )
4) Now make a new installation of nuke with fantastico, but this time, leave the directory name field empety, and fill every other field there... )
5) Click on the button Install, if you got errors like this:
QUOTE
The installation can not be completed:

- You chose to install in the main directory of the domain migue.trap17.com, but there are conflicting filenames, therefore we can not proceed. Following filenames already exist in the main directory of the domain boaw.trap17.com (path="/home/etc.../etc.../").You must manually remove these files before proceeding with auto-installation:

then you must locate the files that tells you fantastico in that path= line, and erase them, but if everything goes fine, then you are done!

Good luck, hope this helps

BTW if when opening your site it shows the default trap17 index page then you didnt erase complety the index.html that is on the root directory.

Reply

Latest Entries

MIGUE2k7
I just found out that also the .htaccess file interferes with the CMS installation and the images folder that comes into the public_html folder must be renamed, cause Nuke and many other CMS's uses the same name for their images folder.

Reply

Mjay06
I did what ive suggested a couple of weeks ago when I upgraded the fantastico nuke to nuke-max.

With your ftp, manually move all your nuke files to the top level (you should be able to drag & drop), that way you know you wont lose anything. When the new installation is done just drag them back & it should automatically overwrite duplicate files.

Reply

masterleous
Its not so much simple and easy to move your preinstalled PHP-Nuke in any other directory.
The best way is to install new and clean PHP-Nuke and than backup you previous SQL Data and than import it in new installation...........may be this will work........or may be i am wronge as i never try this before.......

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Pages: 1, 2
Similar Topics

Keywords : changin, phpnuke, directory

  1. How To Display Images Of A Directory
    (4)
  2. Php Ftp Upload Form
    Adding User Directory to PHP Upload Form - Help (0)
    Alright I am trying to have a PHP FTP Upload Form that allows the user to create the directory
    folder for where they want to upload there files to. example: Main Directory: vainsoft.com There
    directory: vainsoft.com/modeling or vainsoft.com/photography But I dont want them to be able to
    upload things into the main directory, only sub-directories, is that possible with this coding that
    I have: //uses $_FILES global array //see manual for older PHP version info //This
    function will be used to get the extension from the filename function get_extension($fi....
  3. Unofficial Trap17 Hosted Members Directory
    (13)
    This is the Trap17 edition of the Hosted Members Directory. A script initially written by me for the
    Astahost forums. The script has gone through many a changes and is currently in version 4 which
    includes the following features:- > Listing of hosted members. > Listing of the websites of the
    hosted members. > Validation of the websites (whether the site is suspended, working or not not
    working, etc) > Save/Load result to/from database. > Multithreaded for faster operation. > Status
    messages, images and progress bar to keep you informed of the process. Link to the Scrip....
  4. Reading Files From Directory To Array, And Using $_get To Get Them
    Simple way to manage lot's of files (2)
    Some user posted a similar problem i had when i tried to figure out how to update content on my
    website in less work as possible. This is just part of the "big" plan i have for my site but it can
    be helpfull to you guys if you like FlatFile. I hope that mod's don't mind me posting the
    same code here and on their forums, couse if they do i'll delete it from their forums
    /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> So
    here's the situation. Let's say you have a folder called 'myfilesdirectory' on your
    s....
  5. Help Needed With Directory/file Listing Code Infinite Loop
    Made an infinite loop but why is this so? (5)
    Hi all ive got a small and simple (for the moment atleast /unsure.gif"
    style="vertical-align:middle" emoid=":unsure:" border="0" alt="unsure.gif" /> )file and directory
    listing script in php as follows CODE $dir = "."; $num = 0; $file =
    scandir($dir); while($file = scandir($dir)){     echo
    $file[$num];     echo "<BR>";     $num = $num + 1;     
    }; the concept is simple enough, the directory to start with is the current one, so scan this
    directory and wh....
  6. Display Random File In A Directory
    how to display a random file from a set directory. (9)
    hi, could someone please help me with this? I have some files in a directory and i want to know how
    i can randomly display link/s to one or more of the files in my directory for download. But it must
    not at any time display index.php which is also in the directory with the downloads. Thanks in
    advance for any help given /unsure.gif" style="vertical-align:middle" emoid=":unsure:" border="0"
    alt="unsure.gif" />....
  7. Phpnuke Newsletter Sending Problems
    (0)
    i have a problem sending newsletters....when i send them no1 receives it...i tried sending to the
    registered users on my site which im in and i didnt recieve it in my mail...i dont know why this is
    happening...it says the newsletter is sent...but we get nothing in our mail... heres the code
    QUOTE /************************************************************************/ /* PHP-NUKE:
    Web Portal System */ /* ===========================
    */ /* ....
  8. Displaying Files Of A Directory
    (2)
    I want to display the contents of a directory.. i have the following code.. It gives the output in
    one column only... like file1 file2 file3 file4 . . . . . Since there are lot of files so this
    column gets very long..i want to display the x number of files in each column.. like if there are 22
    files.. then file 1 file 11 file 21 file 2 . file 22 file 3 .. . . . file 10
    file 20 This was just an example..I know it can be done by using but i dont know how to do it
    with loop. Please help me. QUOTE $dir = './'; $handle =....
  9. Meta Tage On My Phpnuke
    (5)
    when i view source on my website i can see my meta tags displayed right on the top of the file, but
    i can seem to find the file that containt the meta tag content. I want to be able to edit it and
    change and/or add into it. please someone help this is probably an easy problem to solve =/....
  10. Phpnuke Add Download Section
    i want to edit/change stuff around (2)
    In order to add a download onto the website up mine you have to upload it or get it linked from
    another place. There is a form that asks you for Program Name, File Link, Author's Name,
    Author's Email, Filesize: (in bytes), Version, and HomePage. Now im using phpnuke and i want to
    change some parts of the form like Program Name to Artist - Title, or perhaps just take some of the
    stuff out like Authors Name. And where it says "(in bytes)" id like to change it to "(in MB)"
    instead. what do i have to do to edit these? help please i want this to work please reply if ....
  11. How To List Files In A Directory + Subdirectory And Then Use Them.
    (8)
    So lets say i have folders called friends and work in a folder called pics. how would i make a
    function that lists the files in those folderscalled images kinda like this: CODE
    $directory = "./" function listfiles($directory) { //here should go the
    script to list the files in those directories. so that i can continue to work with them. like for
    example if there were images it would list all  the images and i could write a script to make a
    thumb of them and then save it into a thumb folder(not asking for all of that). but how w....
  12. Directory Files Displaying
    (5)
    I have many files in a directory..I want to create a page , like A B C D E F ..... when some one
    click on A , it should display all the files starting from letter A , and when clicks on B , it
    should show all the files in that directory starting from B , and so on... I have no idea how to
    display the files of the directory iin that way. Kindly assist me......
  13. How To Sort Files Of A Directory using Php
    (11)
    The following code displays the files of folder...but they are displaced by the order of adding... i
    want to sord the files / folders alphabetically and sord by accending order and by decending
    order.. can some one help me. $path = ""; $dir_handle = @opendir($path) or
    die("Unable to open $path"); echo "Directory Listing of $path "; while($file =
    readdir($dir_handle)) { if(is_dir($file)) { continue; } else
    if($file != '.' && $file != '..') { echo " $fi....
  14. Phpnuke Themes
    (4)
    can anyone make a good list of sites that allow you to download some nice lookin free phpnuke
    themes?....
  15. Adapting Html Code Embed To Work On Phpnuke
    Help With This Html Code Pls (7)
    QUOTE how can get this html code to work on my phpnuke site? what tags would i
    have to enable in the $Allowable HTML part of my config.php file?? Edited topic title. Moved
    to Programming. ....
  16. Phpnuke...postnuke
    (1)
    wuts the difference between the two?? n wuts phpbbhacks....is that only to build yourself a forums
    page?....
  17. Phpnuke, E107 Or Post Nuke?
    (13)
    I would say that php nuke and e107 are the best.....
  18. Help With Removing Files And Folders
    removing all files from a directory (4)
    Is there a function or a group of functions which I can use to delete all the files an folders in a
    directory? I've tried rmdir() but it complains that it can't remove it because there are
    files/folders in it. ....
  19. Directory Function
    - I need some help (1)
    Hey, I'm really in a jam. Here's whats happening, I have to post over 350 streaming WMA
    files on a server. But it would be nice to not have to script it out in HTML. And I know that in PHP
    you can set a directory or folder and PHP will place all the files out there. Would somone show me a
    way to do that? and please note where I must insert filenames, folder, ect.... So, I have tons of
    files that I need to have on the page, but scrpiting it takes long. Heres the page I'm working
    on: http://www.cbf-wa.org/sermons.php thanx so much....
  20. Getting List Of Directories And Files Using Php
    PHP Function for Directory and File List (6)
    is there a php function that lists the content of some folder.... example: /New folder new.txt
    left.gif download.zip dc.exe ....so is there..? /rolleyes.gif' border='0'
    style='vertical-align:middle' alt='rolleyes.gif' /> ....
  21. NukeAmazon 2.7.1 for PhpNuke
    (0)
    NukeAmazon is a complete software package for Amazon Affiliate members. The software allows members
    to advertise products sold by Amazon in their PHP-Nuke (http://phpnuke.org/) powered Web sites. This
    package uses the Amazon Web Services version 3.0 via XML-based protocols to integrate Amazon.com
    features and content into PHP-Nuke site. Included in this package are blocks and administration /
    configuration files that allows the Web site Administrator to manage very easily the selected Amazon
    products. NukeAmazon is simple to install and manage. You enter Amazon product ....

    1. Looking for changin, phpnuke, directory

Searching Video's for changin, phpnuke, directory
advertisement



Changin My Phpnuke Directory...please Help



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE