Jump to content

Recommended Posts

Guest zethilone
Posted

TCH Rocks

 

 

Like how would I set my php-nuke as my homepage!

 

It just shows up like this www.tuxc.net !

Posted

You have to have your web files in the public_html directory for them to show up. I'm not sure how the cPanel install of phpNuke works and whether it requires you to enter a subdirectory for the install. If you install phpNuke into your public_html directory it should run as your home page. Right now you have nothing in there but the default directories.

Posted

Yeah, although php-nuke isn't my strong point, I'd say you need to install it inside your public_html folder, and not the folder /home. The quickest way though to solve your problem I can think up would be creating an index page with a clickthrough to the /home index. Hope this helps! :)

Posted

Try copying this text into a file and call it index.html. Upload it to your public_html directory. It will do the redirect to the /home directory and run phpNuke from there.

 

<HTML>

<HEAD>

<TITLE>HTML REDIRECT</TITLE>

<META HTTP-EQUIV="REFRESH" CONTENT=".5; URL=http://www.tuxc.net/home">

</HEAD>

 

</HTML>

 

All it does is redirect to your /home directory after half a second.

 

You might also want to create an entry page and have people click to enter.

Guest zethilone
Posted

Now look it just made a File called index but didnt make it my home page :)

Posted

I also noted that you are getting the setlocale error on phpNuke that was discussed on here earlier. You might want to check out this thread for info on how to fix it. It requires editting the php files so be sure to follow the directions carefully if you decide to tackle it.

Guest zethilone
Posted

Rick ur the best! U answer my question and a qurstion I was about to ask!

Nice work! TCH Rocks

Guest zethilone
Posted

Thank you so much! Ur mainfile thing worked great! I think you should talk to HG about being n admin :P

 

 

TCH Rocks TCH Rocks TCH Rocks TCH Rocks TCH Rocks

Posted

Here is a post I made from another thread that details the process to fix the problem whenever it occurs. In particular, I have found the the HTML Kit program I mentioned is invaluable in easily finding the line where the error occurs. I can fix the error in seconds since I can go straight to the line rather than search for the setlocale string. If you look at the error message it tells you the line number and which file has the error. Just delete the quotes around the LC_TIME statement, i.e. changed "LC_TIME" to LC_TIME. Don't change anything else.

 

PhpNuke is a big program with lots of modules that in some cases have been hacked together by different people. As a result you are finding that it is not always easy to get everything working correctly. The site I mentioned in a previous post is a good place to refer to in order to get solutions to some of the common problems. This forum, on the other hand, is designed to support hosting with TCH and the options provided in the cPanel, etc.

 

The problem you are having is apparently a common problem. Doing a quick scan on the phpnuke forum I found several posts concerning the same type of problem. The mainfile.php is only one module that uses the function.setlocale command. Other modules use it as well and you need to edit them as well.

 

I use a free program called HTML-Kit that can be found at http://www.chami.com/html-kit/ to edit HTML, PHP, and other files. The nice thing about it is that it includes line numbers so it was pretty easy to make the change needed by using the info in the error message to find the problem. If you load the index.php file from the main/modules/Web_Links folder you can find line 772 and take out the two quotation marks surrounding the LC_TIME statement then upload it back to your web site.

 

If you are determined to use phpNuke, I would go to the www.nukeforums.com site and do some reading there before doing much more with it. Good luck.

Guest zethilone
Posted

I will have 1/2 a penny if you can do thoughs for me! Cause I have no idea what ur talking about!

Guest zethilone
Posted

I am about to kill my self!!! Rick can you just do that downloads and weblinks for me :)

Guest zethilone
Posted

Well...you did that downloads for me but when I make a folder inside the downloads catigory i get the same error. This time can you attatch the file?

 

Thank you so much for your help

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...