![]() |
can't access forums...
I just installed the forums, but whenever i click to go to it, it brings me back to the index page.
|
Did you change the link in the navigation bar to lead to the forum page?
|
don't think i did. let me do that now.
|
Yeah, because if that's what you were clicking, it just leads to the home page by default.
|
it's still routing me to the index page.
|
Can you navigate to the forums by manipulating the url? If you can't find some way to navigate to the forums then it was most-likely not set up correctly.
|
no i can't. I'm looking at the links in the acp. and it's set up right. *sighs*
|
Where did you install the forum script into the FTP?
|
in a folder called forums? I think that's what your asking.
|
Yes, that's what I was asking.
You extracted all the files, ran the forum install script and set up the database for the forum? |
sorry, I'm all new to this LOL. let me run the install stuff. herp-derp
|
Warning: require(../inc/config.php): failed to open stream: No such file or directory in /home/nirainia/public_html/classes/class_initializer.php on line 97
Fatal error: require(): Failed opening required '../inc/config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nirainia/public_html/classes/class_initializer.php on line 97 when i try to install it, this is what i get. Derp? |
Yeah its no problem, the forums are a completely different script package. So, you have to actually install that too. Also, it will instruct you to set up a database and you'll have to edit the config files to have everything done correctly. There's a config_forums file in the mysidia script so that you can sync the adoptables and forums accounts.
|
The files have to be given the right permissions so that it can install, and the package is unzipped into all of its folders, right?
|
everything's right (I think). it's all unzipped and in. I have a database set up already. I got a crash course from my coder on my other 2 sims about that last night so i'm good there.
|
Well your forum needs to have a file called .htaccess. If you use MyBB, it has a file called htaccess.txt, rename it as .htaccess. Alternatively, you can upload the .htaccess file in Mysidia Adoptables' folder /install to your forum root directory. This is explained in MyBB forum integration, and it should apply for any other forumwares too.
|
alright replaced the htaccess file from the install folder. going to try this.
|
There is a htaccess-nginx file also in the mybb forums folder... is that suppose to be there?
|
Well it doesnt matter. Just upload a .htaccess file to your mybb folder, or rename htaccess.txt to .htaccess, otherwise Mysidia's URL rewrite rules will apply to your forum directory, causing undesired behaviors.
|
done and done.
|
and still throwing errors at me.
|
umm thats strange, whats inside that .htaccess file?
|
Options -MultiViews +FollowSymlinks -Indexes
# # If mod_security is enabled, attempt to disable it. # - Note, this will work on the majority of hosts but on # MediaTemple, it is known to cause random Internal Server # errors. For MediaTemple, please remove the block below # <IfModule mod_security.c> # Turn off mod_security filtering. SecFilterEngine Off # The below probably isn't needed, but better safe than sorry. SecFilterScanPOST Off </IfModule> # # MyBB "search engine friendly" URL rewrites # - Note, for these to work with MyBB please make sure you have # the setting enabled in the Admin CP and you have this file # named .htaccess # <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^forum-([0-9]+)\.html$ forumdisplay.php?fid=$1 [L,QSA] RewriteRule ^forum-([0-9]+)-page-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2 [L,QSA] RewriteRule ^thread-([0-9]+)\.html$ showthread.php?tid=$1 [L,QSA] RewriteRule ^thread-([0-9]+)-page-([0-9]+)\.html$ showthread.php?tid=$1&page=$2 [L,QSA] RewriteRule ^thread-([0-9]+)-lastpost\.html$ showthread.php?tid=$1&action=lastpost [L,QSA] RewriteRule ^thread-([0-9]+)-nextnewest\.html$ showthread.php?tid=$1&action=nextnewest [L,QSA] RewriteRule ^thread-([0-9]+)-nextoldest\.html$ showthread.php?tid=$1&action=nextoldest [L,QSA] RewriteRule ^thread-([0-9]+)-newpost\.html$ showthread.php?tid=$1&action=newpost [L,QSA] RewriteRule ^thread-([0-9]+)-post-([0-9]+)\.html$ showthread.php?tid=$1&pid=$2 [L,QSA] RewriteRule ^post-([0-9]+)\.html$ showthread.php?pid=$1 [L,QSA] RewriteRule ^announcement-([0-9]+)\.html$ announcements.php?aid=$1 [L,QSA] RewriteRule ^user-([0-9]+)\.html$ member.php?action=profile&uid=$1 [L,QSA] RewriteRule ^calendar-([0-9]+)\.html$ calendar.php?calendar=$1 [L,QSA] RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)\.html$ calendar.php?calendar=$1&year=$2&month=$3 [L,QSA] RewriteRule ^calendar-([0-9]+)-year-([0-9]+)-month-([0-9]+)-day-([0-9]+)\.html$ calendar.php?action=dayview&calendar=$1&year=$2&mo nth=$3&day=$4 [L,QSA] RewriteRule ^calendar-([0-9]+)-week-(n?[0-9]+)\.html$ calendar.php?action=weekview&calendar=$1&week=$2 [L,QSA] RewriteRule ^event-([0-9]+)\.html$ calendar.php?action=event&eid=$1 [L,QSA] <IfModule mod_env.c> SetEnv SEO_SUPPORT 1 </IfModule> </IfModule> # # If Apache is compiled with built in mod_deflade/GZIP support # then GZIP Javascript, CSS, HTML and XML so they're sent to # the client faster. # <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE application/javascript text/css text/html text/xml </IfModule> # Note: You are able to choose a different name in the Admin CP. If you've done that you need to change it here too <Files "error.log"> Order Deny,Allow Deny from all </Files> _____ in the origonal htaccess |
umm thats enough strange, it shouldnt throw errors anymore, since Mysidia Adoptables should no longer affect your forum directory with a custom .htaccess. I aint sure if your error is indeed caused by the script, it may as well be a MyBB issue. What is the error message you get anyway?
|
Warning: require(../inc/config.php): failed to open stream: No such file or directory in /home/nirainia/public_html/classes/class_initializer.php on line 97
Fatal error: require(): Failed opening required '../inc/config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nirainia/public_html/classes/class_initializer.php on line 97 |
I see, so clearly Mysidia's .htaccess is still affecting your forum. I think one reason is that Mysidia Adoptables was made compatible with MyBB 1.6, so if you use MyBB 1.8 its likely to give you some troubles. I will fix it for you once the ftp works, dont worry.
|
All times are GMT -5. The time now is 03:18 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.