Guest zethilone Posted April 15, 2003 Posted April 15, 2003 TCH Rocks Like how would I set my php-nuke as my homepage! It just shows up like this www.tuxc.net ! Quote
TCH-Rick Posted April 15, 2003 Posted April 15, 2003 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. Quote
TCH-Sales Posted April 15, 2003 Posted April 15, 2003 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! Quote
TCH-Rick Posted April 16, 2003 Posted April 16, 2003 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. Quote
Guest zethilone Posted April 16, 2003 Posted April 16, 2003 Now look it just made a File called index but didnt make it my home page Quote
TCH-Rick Posted April 16, 2003 Posted April 16, 2003 You have to name it index.html or index.htm. Go to cPanel and the file manager and rename it adding the extension and it should work. Quote
TCH-Rick Posted April 16, 2003 Posted April 16, 2003 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. Quote
Guest zethilone Posted April 16, 2003 Posted April 16, 2003 Rick ur the best! U answer my question and a qurstion I was about to ask! Nice work! TCH Rocks Quote
Guest zethilone Posted April 16, 2003 Posted April 16, 2003 Thank you so much! Ur mainfile thing worked great! I think you should talk to HG about being n admin TCH Rocks TCH Rocks TCH Rocks TCH Rocks TCH Rocks Quote
Guest zethilone Posted April 16, 2003 Posted April 16, 2003 I will be very happy and give you a nice face if you can fix the problem on these! http://www.tuxc.net/home/modules.php?name=Downloads http://www.tuxc.net/home/modules.php?name=Web_Links EDIT: Oops I checked your post! I did what u said but I still dont really get it >.< Quote
TCH-Rick Posted April 16, 2003 Posted April 16, 2003 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. Quote
Guest zethilone Posted April 16, 2003 Posted April 16, 2003 I will have 1/2 a penny if you can do thoughs for me! Cause I have no idea what ur talking about! Quote
Guest zethilone Posted April 16, 2003 Posted April 16, 2003 I am about to kill my self!!! Rick can you just do that downloads and weblinks for me Quote
Guest zethilone Posted April 18, 2003 Posted April 18, 2003 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 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.