Mjay06
Aug 7 2006, 01:42 PM
This isnt really a tutorial, more like an idiots guide on how to avoid the problems I encountered when setting up my site. This eventually invoved 3 complete reinstalls - you soon learn from your mistakes when that happens. I shall use php-nuke as the example here, but it applies to all scripts you intend to modify. - If you have the disk space available - install your script twice, set up a temporary sub-domain for this. The reason for this is you have a full, clean install to go back & retrieve any files you may mess up whilst changing code (you will have to do this a lot when adding things to your site.)
- You can also use this second installation for trying out themes, without cluttering up your main install with things you probably wont need in the end.
- When modding a .php file, copy the file to your desktop first (ideally the install folder for the particular mod). i.e. if you see this:
#-----[ OPEN ]---------------------------------------- # modules/Forums/games.php
# #-----[ FIND ]---------------------------------------- #
require_once('includes/bbcode.'. $phpEx); # #-----[ AFTER, ADD ]----------------------------------- #
include("includes/functions_post.php"); copy the games.php file to your desktop before you start editing it. This way, its easy to rectify any mistakes you make by simply over-writing the file you have just messed up. - After you have done the mod, check all parts of your site function as they should - its amazing how the most innocent seeming change you make can mess up something totally unrelated. If you are offering members multiple themes to choose from, I recommend you check every mod you make with every theme you have. This sounds very labourious but trust me its worth doing.
- Read every install.txt you get with the mod. Developers have a habit of changing things & hiding an install amendment somewhere in the mod folder. Make sure you read them all as it really can make a huge difference.
- It goes without saying, but make backups of everything before you start a mod, just incase. When you are happy with the mod & have checked everything works ok do a back-up again. This gives you a kind of 'restore point' to go back to if needed. If your site goes wrong, you will know which particular mod caused the problem.
- When you have finished installing a mod, check it has the corresponding mysql database (if needed) before enabling it.
- Finally, a lot of the problems I encountered were easily recified simply by clearing the browser cache & cookies, then restarting your browser. If something does go wrong, thats the first thing I recommend people do.
Thats pretty much it, if anyone has any specific problems with phpnuke, get in touch & I will try & help.
Comment/Reply (w/o sign-up)
Similar Topics
Keywords : fantastico, scripts
- Sql Injection, How To Do It, And How To Prevent It
NOT a hacking tutorial, learn how to secure PHP scripts (0)
[php] Clean Code Functions
Clean up your html output from php scripts (5) There is another Topic about writing 'clean' HTML code posted elsewhere on the Forum.
I'll edit this Topic and add the link so you can review it on your own, and there is no need for
me to comment on it in this thread, but the purpose of this Topic is to introduce a pair of
functions which can be used for making sure that the HTML output from my scripts is readable when a
view-source is reviewed. Two handy functions are included here. They work together quite nicely,
and I will start this Tutorial with a short summary of the reasons for their 'being....
How To Install Php Scripts
for people who don't like uploading all the time (0) OK. Here's what you need: 1. Web hosting that has FTP 2. A script or something to install 3.
A program called SmartFTP I'll use my site for an example... 1. Enter your FTP login info
2. When you login in your files, images, and stuff will show up. 3. Now that you're logged in
you have to choose what file you want to import into your website. Go to "My Documents" and right
click on the file you want to put on your site and select "copy". 4. Next you got to open put the
dictionary that your website is in. Ok what that means the place where the "i....
Simple Scripts In Html And Javascript
Things like BackgroundColorChanger and so (7) like in the topic, here is a description how to change the Backgroundcolor "On The Fly", by klicking
on a button or radio-box first, we ned the html-and body-tags, create a new html-file on your
desktop and write the following: QUOTE browser interpretation: html - tag
means "hey, browser, here comes HTML" in the body-tag you define the looking of your site. you can
add things like "bgcolor" for the background, "text" for the textcolor and link / alink / hlink /
vlink to define the linkcolor ( ) the scripttag is the tag, we'll need now (sorr....
Cpanel Fantastico
Part 7 Of My 7 Part Tutorial (14) This tutorial is going to discuss the entire list of fantastico features that are on the trap17
servers This is an extention of my origional 6 part tutorial, now 7 part tutorial. The links to the
rest are listed below. This tutorial is a follow-up to the Cpanel Tutorials that i wrote last
night, the links can be found below. Part 1: E-mail Management Part 2: Useful Site Management
Tools Part 3: Useful Site Management Tools2.1 Part 4: Analysis/Log Files Part 5: Advanced
Tools Part 6: PreInstalled Scripts, Extras, and Cpanel Options Detailed Cpanel Tutor....
Cpanel Preinstalled Scripts, Extras, And Cpanel Options
Part 6 of My 7 Part Tutorial (1) This Tutorial will be divided into 7 different parts, and this is the first part, when i get the
other parts together, i will post the links under here /biggrin.gif" style="vertical-align:middle"
emoid=":D" border="0" alt="biggrin.gif" /> Enjoy. Part 1: E-mail Management Part 2: Useful Site
Management Tools Part 3: Useful Site Management Tools2.1 Part 4: Analysis/Log Files Part 5:
Advanced Tools Part 7: Fantastico Detailed Cpanel Tutorial Part 4: PreInstalled Scripts,
Extra, and Cpanel Options In this tutorial I will, in detail explain all of th....
How To: Install Scripts And Create Database
preinstalled scripts, own scripts (2) How to install php scripts using MySQL,phpMyAdmin on Trap17 using preinstalled script/auto
installation cPanel > Preinstalled scripts > "Addon Scripts" or "Fantastico" or "phpBB" or the
scripts which you wanted to install screenshot - >
http://i6.photobucket.com/albums/y222/haalaaluu/5.jpg explaination: this method is auto install
the scripts in public_html folder, database name and granted database user respect to its database.
note: by Addon Scripts, you can not choose other folder structure. by fantastico you can choose the
folder structure and it is good ....
Check Your Scripts
(6) As I am reading through some of the (Mostly PHP) scripts posted here, the following posts are that
of people saying that the script does not work. I suggest that you should test and make sure that
your script works BEFORE you post it here. Craig.....
Looking for fantastico, scripts
|
Searching Video's for fantastico, scripts
See Also,
|
advertisement
|
|