kusaba RequirementsTo run kusaba, you should have a webserver with at least the following: - An apache or apache2 installation
- mod_php version 4 or better, with GD and MBStrings support
- A mysql server with the MyISAM engine
Extracting kusaba- Download the most recent kusaba release from www.kusaba.org
- Extract it to a directory that your apache installation has access to
- Make sure the permissions for everything are readable and writable by your web server
- Edit config.php
Editing config.phpTo enable a feature, change the value to true: define('TC_INSTANTREDIRECT', true);
To disable a feature, change the value to false: define('TC_INSTANTREDIRECT', false);
To change the text value of a configuration, edit the text in the single quotes: define('TC_NAME', 'kusaba');
Becomes: define('TC_NAME', 'Mychan');
Warning: Do not insert single quotes in the value yourself, or else you will cause problems. To overcome this, you use what is called escaping, which is the process of adding a backslash before the single quote, to show it is part of the string: define('TC_NAME', 'Jason\'s chan');
The postbox is where you mix dynamic values with your own text. The text from what you enter is then parsed and will be displayed under the postbox on each board page and thread page: define('TC_POSTBOX', '- Supported file types are: <!tc_filetypes />
- Maximum file size allowed is <!tc_maximagekb /> KB.
- Images greater than <!tc_maxthumbwidth />x<!tc_maxthumbheight /> pixels will be thumbnailed.
- Currently <!tc_uniqueposts /> unique user posts.
');
Will become (if you had my settings): - Supported file types are: GIF, JPG, PNG
- Maximum file size allowed is 1000 KB.
- Images greater than 200x200 pixels will be thumbnailed.
- Currently 221 unique user posts.
Possible values you may use: - <!tc_filetypes />
- <!tc_maximagekb />
- <!tc_maxthumbwidth />
- <!tc_maxthumbheight />
- <!tc_uniqueposts />
Setting kusaba Up- Move the files install.php, install-mysql.php, and kusaba_freshinstall.sql from .OTHER to your kusaba root directory
- Visit http://yoursite/yourkusabadir/install-mysql.php
- Visit http://yoursite/yourkusabadir/install.php
- Log into http://yoursite/yourkusabadir/manage.php and make a new administrator account. From your new administrator account, delete the old administrator account.
- Remove .OTHER, install.php, install-mysql.php, and kusaba_freshinstall.sql from your kusaba root directory
|
Umm... how do I log into the administrator account? What's the name and password?
Umm... how do I log into the administrator account? What's the name and password?
User: admin Password: admin
All the images come from localhost, so when someone tries to check out my page, their browser tries to get all the stuff from localhost, posting, pictures etc
Any ideas?
You're going to need to find your external IP and change your paths accordingly to use that instead.
I know my external IP, but what paths do I need to change?
KU_WEBPATH and KU_DOMAIN
Gawd.. Do you have aim or msn? This really isn't working for me lol
Aww cmon, please answer me i'm dying! T_T
I have MSN and gTalk. See the support board for my information.
MySQL database connection error: Access denied for user 'root'@'localhost' (using password: NO)
I don't get it.
win
Q: All the images come from localhost, so when someone tries to check out my page, their browser tries to get all the stuff from localhost, posting, pictures etc
Any ideas?
A:
Change KU_WEBPATH and KU_DOMAIN accordingly your domain or ip and rebuild all htmp pages from admin menu.
What is table prefix in config? How to get that? ;;
You forgot to put the passcheck table scrutcture in the sql schema file.
>You forgot to put the passcheck table scrutcture in the sql schema file.
Actually that was a problem which I fixed a few days ago. You have the old zip file, and re-downloading will fix this problem. This was noted in the support board.
I set up this wonderful system quick and painlessly, but I can't find any way to change the max file size manually. I've looked all over the documentation and wiki, but still no luck. Am I just missing something?
Actually, now I see the "max image size" value. I guess that applies to other file types as well and it corresponds to each board? I'm still wondering if there's a way to change the global size though. Any help would be appreciated. :D
what is this $cf'KU_DBPREFIX'? = ''; / Database table prefix / and where do i find it
Warning: Cannot modify header information - headers already sent by (output started at /location/to/the/directory/www/pantsuland.org/chan/config.php:299) in /location/to/the/directory/www/pantsuland.org/chan/inc/classes/manage.class.php on line 114
for some reason i get this error whenever i create a new board or post on that board, i don't know why or how to fix it, any help?
alright i got it to work but the main page is black and white and i cant log in to the manage page gives me a 404
>Make sure the permissions for everything are readable and writable by your web server
What is everything? All files and subfolders in the kusaba folder to 777? I'm still getting an internal server error when visiting install-mysql.php :|
Attempting to create table 'testfiletypes'... (mysql): INSERT INTO testfiletypes (filetype, force_thumb) VALUES ('jpg', 0), ('gif', 0), ('png', 0) Error (1364): Field 'mime' doesn't have a default value failed. Enable debugging by setting KU_DEBUG to true to see this error. Table creation failed. Please rerun this script again or attempt to fix the problem if you know how to solve it.
i get a error: Fatal error: require() function.require?: Failed opening required 'CHANGEMElib/gettext/gettext.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/a44548/public_html/board/config.php on line 222
and...
Warning: require(CHANGEMElib/gettext/gettext.inc.php) function.require?: failed to open stream: No such file or directory in /home/a4466311/public_html/board/config.php on line 222
I get the same thing as webmaster dell.
Everything in my folder is set perfectly except, it states that I have a an undefined text function textdomain() on config line 226.
I go to config line 226 and the code that was put there was textdomain('kusaba')
However, right above it, there is a warning not to change these lines.
Any suggestions?
I'm also having the same problem as webmaster.dell.
Same problem as webmaster.dell here too : (
OK, to fix the issue webmaster.dell (and others) have, you need to fix your paths. They are what's causing the problem.
It's probably the ROOTDIR that's causing issues as the others are pretty obvious.
For me the solution was in the error message Kusaba threw up.
Warning: require(/test.net/k/lib/gettext/gettext.inc.php) function.require?: failed to open stream: No such file or directory in /home/.maudred/downloader/test.net/k/config.php on line 222
Fatal error: require() function.require?: Failed opening required '/test.net/k/lib/gettext/gettext.inc.php' (include_path='.:/usr/local/php5/lib/php:/usr/local/lib/php') in /home/.maudred/downloader/test.net/k/config.php on line 222
The correct root dir for me (assuming my domain is test.net and the script is installed in a sub directory /k/ is /home/.maudred/downloader/test.net/k/
As you can see above, the error message does inform you of your 'homepath' so I'd try using that in your .config files. It worked for me and I hope it helps you too.
The easy way to find your root dir is to just write a info.php file, use the code:
<?php
?>Load it to where Kubsba is installed and point your web browser to it. Kill it afterwards as it poses a security risk.
I Got Warning: Invalid argument supplied for foreach() in D:\wamp\www\i\inc\classes\menu.class.php on line 128
Warning: Invalid argument supplied for foreach() in D:\wamp\www\i\inc\classes\menu.class.php on line 128
what should i do?
and
Warning: Invalid argument supplied for foreach() in D:\wamp\www\i\news.php on line 101
Simon,
You sure your local server is set-up correctly?
yes i use Wamp so I got all defualt settings. I have a database named kusaba but do i need to make a table for it to work?
I got it to work:D
What solved your problem in the end?
I fellt realy stupid thats wy i dident put up the awnswer.
Anwser = I found Install.php. dident know it existed until know:P
rumourisnews,
I had this same problem, remove NOT NULL from the end of lines 123 and 124 in kusaba_freshinstall.sql
Change:
TO:
Everything is fine except for when I try to add a board. When I try to add a board, the board does not show up.
to be specific, the board.html file is not created when I create a board
It seems like the following part from /inc/classes/board-post.class.php
'''$dir = KU_BOARDSDIR.$this->board_dir;
Has a really nasty habit of deleting the pages when it shouldn't. This should be fixed.
I'm trying to create a MySQL database table with phpMyAdmin but I have no idea what values to enter for the table. Here is a screen capture of what I'm talking about.
Do you even need to make a table to install Kusaba?
What should I enter for textdomain()?
actually, i solved that problem, but now when i try to run install-mysql, it says
MySQL database connection error: Access denied for user 'root'@'localhost' (using password: NO)
where do i logon?
also, now it is saying:
MySQL database connection error: Unknown database 'kusaba'
what am i supposed to do?
lol, disregard all my previous questions, I've fixed them. I just have one more problem: when i attempt to login to the manage page, it simply redirects me to the login page without logging me in. What do I do?
please help me, I have this problem after installing everything and then when i go to myboard/manage.php says this:
Warning: putenv() function.putenv?: Safe Mode warning: Cannot set environment variable 'TZ' - it's not in the allowed list in /home/teenscha/domains/teenschan.com/public_html/config.php on line 196
what can I do? thanks in advance
MySQL database connection error: Access denied for user 'level1'@'localhost' (using password: YES)
Everthing from config.php seems to have been changed correctly, but I still get this error no matter what. Yes, there is a user and it's password is correct.
ok, so whenever i run the mysql import script, i get this: Attempting to create table 'filetypes'... failed. Enable debugging by setting KU_DEBUG to true to see this error. this kinda annoying
after i install everything (it's says successfully installed for everything) i attempt to go to manage.php (as said in this installation guide), but when i go to it, it is blank. i enabled debugs, but everything that runs comes back with 0 errors. so i'm wondering what i'm doing wrong. any help would be appreciated.
im getting this error:
Warning: main(/kusaba/lib/gettext/gettext.inc.php): failed to open stream: No such file or directory in /home/content/b/b/a/bbarker123/html/kusaba/config.php on line 227
Fatal error: main(): Failed opening required '/kusaba/lib/gettext/gettext.inc.php' (include_path='.:/usr/local/lib/php') in /home/content/b/b/a/bbarker123/html/kusaba/config.php on line 227
whenever i go to install-mysql.php
i tried to go to install-mysql.php, and install.php, and after i press the button, it says it's working but it does nothing.
I got this error:
Fatal error: Smarty error: unable to write to $compile_dir '/home/communis/public_html/ME/smarty/templates_c'. Be sure $compile_dir is writable by the web server user. in /home/communis/public_html/ME/lib/smarty/Smarty.class.php on line 1095
on kusaba.php and manage.php (and probably others) after doing all installing. I've checked this smarty.class.php for anything related to $compile_dir, but diddnt find out anything useful.
While i am an idiot and misread the error, i now also made sure its writeable, with no result.
Hmm, install-mysql.php succeeds, then I progress to install.php where the script appears to freeze on "Inserting default administrator account... Account inserted." If I progress to manage.php and log in, I'm given a blank page.
What's going wrong here?
""Hmm, install-mysql.php succeeds, then I progress to install.php where the script appears to freeze on "Inserting default administrator account... Account inserted." If I progress to manage.php and log in, I'm given a blank page.
What's going wrong here?"""
This is exactly waht is happening to me. I have installed this script now over 15 times. I know exactly how to do it.
But this problem is happening and I have a feeling it has nothing to with an error on my part.
anybody know what the fuck is happening here?
Ok, so far so good. Ran the install-mysql, sinch, ran install. got success acroaa all elements. changed admin pass. created a couple of test boards. Problem is : no css, just raw html. Meaning i get text, and links ( News, FAQ) but no pretty Lullaby or B. just white page, some generic font texts, and a few links. I know im forgetting something. HALP! thnx
Also WKM, make sure your file permissions are correct. What works best for me and my host is to upload the zip folder than extract. Also make sure your SQL & PHP are up to date. if not bug your webmin to get on it :) also edit slowly, i know if i edit too much too fast i break stuff. :) just some tips that are easy to overlook.
Hi people. I need help. I readed all the guide and when i try to install kusaba i get this: Fatal error: Call to undefined function apc_load_constants() in /www/vndv.com/l/o/l/blahchan/htdocs/config.php on line 65
thanks.
Hey. I installed Kusaba fine. Whenever I try to login as admin/admin, it just brings me back to the login page. it doesnt say username/pass is incorrect, but it doesnt login. Why?
Alright with the install, but board list doesnt appear anywhere for the users.
Even made a board and it's accesable, but there isnt a board menu where it appears.
Can anyone help please? Actually it's very important since i'm working with it.
HELP ME FUCKERS!!
Warning: require() function.require?: URL file-access is disabled in the server configuration in /home/sakura/public_html/kusaba/config.php on line 227
Warning: require(http://www.kawaiianime.co.cc/kusaba/lib/gettext/gettext.inc.php) function.require?: failed to open stream: no suitable wrapper could be found in /home/sakura/public_html/kusaba/config.php on line 227
Fatal error: require() function.require?: Failed opening required 'http://www.kawaiianime.co.cc/kusaba/lib/gettext/gettext.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sakura/public_html/kusaba/config.php on line 227
I GET ERROR HERE!!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!
Warning: require() function.require?: URL file-access is disabled in the server configuration in /home/sakura/public_html/kusaba/config.php on line 227
Warning: require(http://www.kawaiianime.co.cc/kusaba/lib/gettext/gettext.inc.php) function.require?: failed to open stream: no suitable wrapper could be found in /home/sakura/public_html/kusaba/config.php on line 227
Fatal error: require() function.require?: Failed opening required 'http://www.kawaiianime.co.cc/kusaba/lib/gettext/gettext.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sakura/public_html/kusaba/config.php on line 227
I GET ERROR HERE!!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!
Warning: require() function.require?: URL file-access is disabled in the server configuration in /home/sakura/public_html/kusaba/config.php on line 227
Warning: require(http://www.kawaiianime.co.cc/kusaba/lib/gettext/gettext.inc.php) function.require?: failed to open stream: no suitable wrapper could be found in /home/sakura/public_html/kusaba/config.php on line 227
Fatal error: require() function.require?: Failed opening required 'http://www.kawaiianime.co.cc/kusaba/lib/gettext/gettext.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sakura/public_html/kusaba/config.php on line 227
I GET ERROR HERE!!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!
Warning: require() function.require?: URL file-access is disabled in the server configuration in /home/sakura/public_html/kusaba/config.php on line 227
Warning: require(http://www.kawaiianime.co.cc/kusaba/lib/gettext/gettext.inc.php) function.require?: failed to open stream: no suitable wrapper could be found in /home/sakura/public_html/kusaba/config.php on line 227
Fatal error: require() function.require?: Failed opening required 'http://www.kawaiianime.co.cc/kusaba/lib/gettext/gettext.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sakura/public_html/kusaba/config.php on line 227
I GET ERROR HERE!!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!
Warning: require() function.require?: URL file-access is disabled in the server configuration in /home/sakura/public_html/kusaba/config.php on line 227
Warning: require(http://www.kawaiianime.co.cc/kusaba/lib/gettext/gettext.inc.php) function.require?: failed to open stream: no suitable wrapper could be found in /home/sakura/public_html/kusaba/config.php on line 227
Fatal error: require() function.require?: Failed opening required 'http://www.kawaiianime.co.cc/kusaba/lib/gettext/gettext.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/sakura/public_html/kusaba/config.php on line 227
I GET ERROR HERE!!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
HELP ME FUCKERS!!!
I GET ERROR HERE!!! http://kawaiianime.co.cc/kusaba/install-mysql.php
kikyochan2007, no one will help you.
What is the difference between the web path and web folder? I think this is the root of my prolem.
Whenever I try to post to a board that I created successfully, it goes to the root of the server. So it does this: /board.php instead of /kusaba/board/board.php
I second nigra.waters problem!
webpath solved http://img.kusaba.org/sup/res/1529.html >.<
I just installed everything fine I thought but it's not calling to the CSS. Everything is white and text, just html. What this shniznol?
Installed successfully, just a white screen.
Ok, I'm getting the same problem as vib.juan:
When I run install-mysql.php it sez: Fatal error: Call to undefined function apc_load_constants() in /var/www/kusabav104/config.php on line 65
Can anyone provide any help, please?
I installed it all no errors, but once i go to the login into the manage.php it comes up with just a blank white screen, HELP!
OK, I've managed to install the PHP APC modules using the deb package manager (one reason to switch to linux, lol) but there is a problem here:
Warning: require(/var/www/kusabav104/lib/gettext/gettext.inc.php) function.require?: failed to open stream: No such file or directory in /var/www/html/kusabav104/config.php on line 230
Fatal error: require() function.require?: Failed opening required '/var/www/kusabav104/lib/gettext/gettext.inc.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/kusabav104/config.php on line 230
I've been trying to install this... I've gotten past the installation of the MySQL tables, now when I get to install.php I get the error "Fatal error: Smarty error: unable to write to $compile_dir '/<system_path>/<my_site>.com/<boardname>/smarty/templates_c'. Be sure $compile_dir is writable by the web server user. in /<system_path>/<my_site>.com/<boardname>/smarty/Smarty.class.php on line 1095" and that happens whenever I try to visit it. What exactly does this mean?
check your permissions.
I can't get anywhere with this. I run install-mysql.php and it can't even execute the php file or give me an error. I just get an internal server error with no information about what the error is.
I have one: If i try to post with a picture, it just goes to board.php and has no background or anything, but if I post without a picture it works great. Any ideas?
I have found error with MySQL 5.0, when returning SQL error #1364.
There are several workarounds 1. Replace in my.ini the current sql-mode line with sql-mode="MYSQL40" 2. Start MySQL with the option --sql-mode="MYSQL40" 3. Execute the query SET GLOBAL sql_mode='MYSQL40'
If you faglets can't follow a simple set of instructions then don't use it.
may be this is kind of bug. I install kusaba in mysite.com/chan. When I set KU_WEBPATH='/chan' and dry log in to mysite.com/chan/manage.php it redirects me to mysite.com/chan/chan/manage.php. When I set KU_WEBPATH='/' or KU_WEBPATH='' it redirects me to mysite.com/manage.php. What must I set to get mysite.com/chan/manage.php redirection?
WTF!
yeah it happens to me as well when modifying the KU_WEBPATH, is there any solution to that?
I'm getting this error: Fatal error: Call to undefined function textdomain() in /home/vhosts/mysite.com/config.php on line 231
rutroll, chmod the kusaba folder to 777 or 766.
Does anyone know why this is happening.
When I log into manage.php, I keep getting a 404 not found.
how do i login? or post as ##mod## in the boards?
my imageboard is at <mysite>/imageboard
all the links on the imageboard keep going to <mysite>/imageboard/imageboard
I have no idea why D: help pleaase