Advertisement
Guest User

README

a guest
Jan 3rd, 2013
320
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.73 KB | None | 0 0
  1.  
  2. #CraftedWeb
  3.  
  4.  
  5. A CMS for game servers.
  6.  
  7. Original by CraftedDev
  8.  
  9. **Generation II by Nomsoft.**
  10.  
  11.  
  12. **Please note that this is a freeware CMS.**
  13.  
  14. But you may NOT:
  15. - Distribute to others, refer them to the Ac-Web forum thread instead.
  16. - Sell the CMS to others. It's freeware, stupid.
  17. - Claim that you are the owner/creator of the site.
  18.  
  19.  
  20. * Note: You will NEED to have your world, auth and website database on the same host.
  21.  
  22. #Installing
  23.  
  24. **AUTOMATIC WAY TO INSTALL:**
  25. 1. Upload all files to your desired location.
  26.  
  27. 2. (Optional)Create a new database ON THE SAME DATABASE AS YOUR 'auth'. Name it for example: craftedweb. If you do not create one now, the installer will do it for you.
  28.  
  29. 3. CHMOD the 'error.log','/install/sql/CraftedWeb_Base.sql','/includes/configuration.php' and lastly, all files found in '/install/sql/updates/'
  30. How to CHMOD on FileZilla: http://www.phpjunkyard.com/tutorials/ftp-chmod-tutorial.php
  31.  
  32. 4. Open up your website. You should be redirected to the Installer. Follow the instructions.
  33.  
  34. 5. When you are finished with the Installer. Rename or Delete(Most secure) the /install directory. When you do this, you website Will be enabled.
  35.  
  36. 6. Browse the page and check for any problems.
  37.  
  38. If you encounter errors/problems.
  39.  
  40. 5.1: Open up your configuration file and set 'useDebug' to true
  41.  
  42. 5.2: Browse your website again. The script Should exit the website if any errors are found. The error will be shown directly on to the site.
  43.  
  44. 5.3: (Info)Errors should always be stored in your error.log file(Your CHMOD must be set to 777 on the error.log file). To view these errors.
  45.  
  46. First off, Open up your configuration file and set 'useDebug' to true.
  47. In your browser, go into: '{YOUR WEBSITE URL}/includes/error-log.php'. If no errors are reported, you're good. Set the useDebug back to false.
  48. But if you still encounter problems with your site, but no errors are returned, ask for help at the forum.
  49. If you do find errors, check the date on them, are they fresh? If yes, read the error, try to solve it on your own if you can. Otherwise, ask for help at the forum.
  50.  
  51. 7. If the website runs smoothly, you're good! Report your thoughts on the forum. Do you miss any small feature you want me to add? What were your opinions on the installation proccess?
  52.  
  53. 8. (Bonus)Open up 'documents/termsofservice.php' and 'documents/refundpolicy.php'. Enable them, and edit the file if you wish to use those.
  54.  
  55. **MANUAL WAY TO INSTALL:**
  56. If somehow, the automatic installation does not work. Try this one.
  57.  
  58. 1. Upload all files to your desired location.
  59.  
  60. 2. Create a new database ON THE SAME DATABASE AS YOUR 'auth'. Name it for example: craftedweb.
  61.  
  62. 3. Open up any SQL software of your choise (eg. HeidiSQL). Run the SQL file located at: install/sql/CraftedWeb_Base.sql.
  63.  
  64. 4. (Optional)Same as above, but run the file named 'item_icons.sql' this time instead.
  65.  
  66. 5. Remove the file 'includes/configuration.php'
  67.  
  68. 6. Upload the file located at 'backups/configuration.php' into 'includes/configuration.php'
  69.  
  70. 7. Edit the configuration file to fit your needs.
  71.  
  72. 8. Browse the page and check for any problems.
  73.  
  74. If you encounter errors/problems.
  75.  
  76. 8.1: Open up your configuration file and set 'useDebug' to true
  77.  
  78. 8.2: Browse your website again. The script Should exit the website if any errors are found. The error will be shown directly on to the site.
  79.  
  80. 8.3: (Info)Errors should always be stored in your error.log file(Your CHMOD must be set to 777 on the error.log file). To view these errors.
  81.  
  82. First off, Open up your configuration file and set 'useDebug' to true.
  83. In your browser, go into: '{YOUR WEBSITE URL}/includes/error-log.php'. If no errors are reported, you're good. Set the useDebug back to false.
  84. But if you still encounter problems with your site, but no errors are returned, ask for help at the forum.
  85. If you do find errors, check the date on them, are they fresh? If yes, read the error, try to solve it on your own if you can. Otherwise, ask for help at the forum.
  86.  
  87. 9. Your website should now work.
  88.  
  89. 10. (Bonus)Open up 'documents/termsofservice.php' and 'documents/refundpolicy.php'. Enable them, and edit the file if you wish to use those.
  90.  
  91.  
  92. #FAQ
  93.  
  94. * Q: I recently updated the core files for my website, and the site tells me I have a mismatch between the databse & core.
  95. * A: Make sure you have loaded all SQL update files found in "sql/updates". You obviously havent updated to the latest database revision.
  96. Example. If the website tells you that the current revision is "r_02", and the expected one is "r_04". Run "CW_Update_03" & "CW_Update_04".
  97.  
  98.  
  99. * Q: The whole page is white!
  100. * A: There are 2 viable problems here.
  101. 1. You have a bunch of errors but the error reporting does not work. Check your /includes/error-log.php page. Also check your configuration file if everything is correct.
  102. 2. Your files cant be loaded since the user dont have access. On some webservers, you might have to CHMOD all files to 755.
  103.  
  104.  
  105. * Q: I miss a function, or I've found a serious or minor bug.
  106. * A: Report any problems you may find at the Ac-Web forum thread. I will read all posts and do my best with the time and effort available to me.
  107.  
  108.  
  109. * Q: What cores does the site support?
  110. * A: Currently, only TrinityCore. Major cataclysm support is available also(Skyfire/ArkCore etc), but some items may be lacking, but the site will still run at ~ 95%.
  111. ArcEmu/Mangos support will Maybe be added in future, but it takes extra effort to make it compatible with multiple cores.
  112.  
  113.  
  114. * Q: My slider images are not uploading!
  115. * A: You must chmod 0777 your styles/global/slideshow/ directory and the folders in it.
  116.  
  117.  
  118. Thank you for using **CraftedWeb**.
  119. Sincerely, @ Nomsoft.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement