Installation, Configuration, & Upgrades  :: 
Going live...how?
 Top

Goto page: 1 - 2 [+1]

  • This might be a newbie moron question, but have to ask it anyway--how do I "publish" my PostNuke site? I went through the Admin, chose my preferences, themes, modules--but now I'd like this site to now be parked at my domain address of .com, and not reside in .com/Post-Nuke.7x/html/index.php --basically want it to go live.
  • well i suggest you are using apache. and within the apache configuration you should have configured how and where your site should be...

    so first check out the config of apache.
  • Sorry, I'm using a hosting server. Would I then ask the hosting folks to "publish" the site?
  • Simply move the file structure to the root of your web space. See this FAQ.

    -Mark
  • As I understand it the PostNuke system makes use of absolute references, meaning that providing you haven't added links to things outside of the PostNuke folder, you can just move it to the root of your webspace. Make sure that you remove the index.html file that's already in your root, if there is one there, cause it will overide the index.php file of PostNuke.
  • tedsmith

    Make sure that you remove the index.html file that's already in your root, if there is one there, cause it will overide the index.php file of PostNuke.


    Not nessessarily; depends on how they have their index files defined in their apache config; or what the user has in their indexes defined in a .htaccess file...

    --
    UGN Security Administrator.
    Looking for a good quality webhost? I choose
  • 99% of the time index.html is loaded before index.php though. As only one index.* is needed, best to remove/rename any index.htm* files.
  • I removed the root index.html, put index.php in the root, and get this error:

    Warning: main(includes/pnAPI.php): failed to open stream: No such file or directory in c:\domains\mysite.com\wwwroot\index.php on line 31

    Warning: main(): Failed opening 'includes/pnAPI.php' for inclusion (include_path='.;C:\php4\includes\pear') in c:\domains\mysite.com\wwwroot\index.php on line 31

    Fatal error: Unknown function: pninit() in c:\domains\mysite.com\wwwroot\index.php on line 34



    I tried both moving index.php to the root, and deleted it from the PostNuke HTML folder, as well as leaving a copy in the HTML folder. neither work.


    Thanks
  • markwest

    Simply move the file structure to the root of your web space. See this FAQ.

    -Mark


    Sorry, do you mean move the whole HTML folder inside PostNuke to the root?
  • As Mark said above, you need to make sure you move your entire file structure to the root, not just one file. Now, any relative paths that are in your index.php file are going to wrong places, due to your removing it from it's proper place in your directory.

    Bring it all there, and that should do the trick.
  • You don't need the HTML folder itself, just the contents of it.
  • Move everything inside the HTML folder to the root.

    edit: sorry spire - didn't see your posts
  • Spire2000

    You don't need the HTML folder itself, just the contents of it.


    yes, that's what i'm doing, worded the post wrong....
  • Every file and folder in the /html folder has been moved to the document root?
  • yes. worked well for a while til i changed my theme to one i downloaded, but forgot to "install"--now i get a fatal error: Unknown function: themeheader() in c:\domains\mysite.com\wwwroot\header.php on line 141. SO now I gotta figure out how to get into my Admin page to change it back to the default theme.

Goto page: 1 - 2 [+1]

This list is based on the users active over the last 60 minutes.