MyBB Community Forums

Full Version: Installing Mybb On Local Server
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
i want to install mybb on Local Server.

I have done as explained by applaps.

1. Log into myPhpAdmin on my web server, and exported a copy of my database.

2. Via ftp, copied the entire contents of my public_html/www directory to my computer (this contains all my forum files) into a foler called 'mybb'.

3. Create database, same name as on my web server (database of live forum) (matches /inc/config.php details). Verified contents and everything

4. Create user + password, same as on web server (matches /inc/config.php details).
Its necessary to create user here.
If yes, than which username to be created? Admin?

if i create user than how all user of my running live forum shown after import live forum database?


5. Copied the 'mybb' folder created in step 2, to C:/wamp/www/


One Question..
Should i go as per given number above means 1-->2--> 3-->4--->5-->

Than localhost//mybb/install.

Please guide.
If you intend to install the forum software, don't create a config.php file. Install the board, let it do the config, drop the tables and import your existing database.
No.. i am not creating confg.php file. Just creating database name on local host same as of my live forum database from that file.

I want to live board usernames and whole database on localhost.

No after I upload my live forum data in wamp/www/mybb and try to install through localhost//mybb/install
and giving following error.

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

apache error log from local host ais as below:
[Thu Nov 19 11:47:53.446057 2015] [mpm_winnt:notice] [pid 6344:tid 384] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations
[Thu Nov 19 11:47:53.447057 2015] [mpm_winnt:notice] [pid 6344:tid 384] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Thu Nov 19 11:47:53.447057 2015] [core:notice] [pid 6344:tid 384] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Thu Nov 19 11:47:53.449057 2015] [mpm_winnt:notice] [pid 6344:tid 384] AH00418: Parent: Created child process 4952
[Thu Nov 19 11:47:54.788134 2015] [mpm_winnt:notice] [pid 4952:tid 300] AH00354: Child: Starting 64 worker threads.
[Thu Nov 19 11:55:53.682356 2015] [cgi:error] [pid 4952:tid 820] [client 115.230.124.164:3173] script not found or unable to stat: C:/wamp/bin/apache/apache2.4.9/cgi-bin/common
[Thu Nov 19 12:58:11.518166 2015] [core:warn] [pid 7088:tid 272] AH00098: pid file C:/wamp/bin/apache/apache2.4.9/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Nov 19 12:58:12.742236 2015] [mpm_winnt:notice] [pid 7088:tid 272] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations
[Thu Nov 19 12:58:12.742236 2015] [mpm_winnt:notice] [pid 7088:tid 272] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Thu Nov 19 12:58:12.742236 2015] [core:notice] [pid 7088:tid 272] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Thu Nov 19 12:58:12.774238 2015] [mpm_winnt:notice] [pid 7088:tid 272] AH00418: Parent: Created child process 5680
[Thu Nov 19 12:58:13.199262 2015] [mpm_winnt:notice] [pid 5680:tid 300] AH00354: Child: Starting 64 worker threads.
[Thu Nov 19 13:10:24.988615 2015] [mpm_winnt:notice] [pid 7088:tid 272] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Thu Nov 19 13:10:27.016619 2015] [mpm_winnt:notice] [pid 5680:tid 300] AH00364: Child: All worker threads have exited.
[Thu Nov 19 13:10:27.079019 2015] [mpm_winnt:notice] [pid 7088:tid 272] AH00430: Parent: Child process 5680 exited successfully.
[Thu Nov 19 14:51:52.662048 2015] [mpm_winnt:notice] [pid 4788:tid 384] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations
[Thu Nov 19 14:51:52.677048 2015] [mpm_winnt:notice] [pid 4788:tid 384] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59
[Thu Nov 19 14:51:52.677048 2015] [core:notice] [pid 4788:tid 384] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'
[Thu Nov 19 14:51:52.681049 2015] [mpm_winnt:notice] [pid 4788:tid 384] AH00418: Parent: Created child process 3708
[Thu Nov 19 14:51:53.684106 2015] [mpm_winnt:notice] [pid 3708:tid 300] AH00354: Child: Starting 64 worker threads.
[Thu Nov 19 15:20:19.916814 2015] [authz_core:error] [pid 3708:tid 364] [client 176.53.16.3:59852] AH01630: client denied by server configuration: C:/wamp/www/
[Thu Nov 19 15:20:20.377840 2015] [authz_core:error] [pid 3708:tid 364] [client 176.53.16.3:59868] AH01630: client denied by server configuration: C:/wamp/www/
[Thu Nov 19 16:01:46.034505 2015] [core:alert] [pid 3708:tid 436] [client ::1:64901] C:/wamp/www/mybb1616/.htaccess: Invalid command 'AddOutputFilterByType', perhaps misspelled or defined by a module not included in the server configuration
[Thu Nov 19 16:01:57.053737 2015] [core:alert] [pid 3708:tid 344] [client ::1:64902] C:/wamp/www/mybb1616/.htaccess: Invalid command 'AddOutputFilterByType', perhaps misspelled or defined by a module not included in the server configuration
[Thu Nov 19 16:04:02.473613 2015] [core:alert] [pid 3708:tid 364] [client ::1:65119] C:/wamp/www/mybb1616/.htaccess: Invalid command 'AddOutputFilterByType', perhaps misspelled or defined by a module not included in the server configuration
[Thu Nov 19 16:10:21.668302 2015] [core:alert] [pid 3708:tid 380] [client ::1:49313] C:/wamp/www/mybb1616/.htaccess: Invalid command 'AddOutputFilterByType', perhaps misspelled or defined by a module not included in the server configuration
[Thu Nov 19 16:10:26.416573 2015] [core:alert] [pid 3708:tid 428] [client ::1:49314] C:/wamp/www/mybb1616/.htaccess: Invalid command 'AddOutputFilterByType', perhaps misspelled or defined by a module not included in the server configuration

php error log
[19-Nov-2015 06:17:53 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.

 in Unknown on line 0

[19-Nov-2015 06:17:53 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.

 in Unknown on line 0

[19-Nov-2015 06:17:54 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.

 in Unknown on line 0

[19-Nov-2015 06:17:54 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.

 in Unknown on line 0

[19-Nov-2015 07:28:12 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.

 in Unknown on line 0

[19-Nov-2015 07:28:12 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.

 in Unknown on line 0

[19-Nov-2015 07:28:13 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.

 in Unknown on line 0

[19-Nov-2015 07:28:13 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.

 in Unknown on line 0

[19-Nov-2015 09:21:52 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.

 in Unknown on line 0

[19-Nov-2015 09:21:52 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.

 in Unknown on line 0

[19-Nov-2015 09:21:53 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found.

 in Unknown on line 0

[19-Nov-2015 09:21:53 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.

 in Unknown on line 0

Above two error log appear when i try to install copy of my live board .

But if i install fresh copy of mybb, it install perfectly.
Remove the "AddOutputFilterByType line and the IfModule around it. It looks like that may be causing your problems.
Where to remove bro?
i cant understand.

even not adding my forum files, it giving following error and import database.

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<!-- PMA-SQL-ERROR -->
<div class="error"><h1>Error</h1>
<p><strong>SQL quer' at line 1

SQL query:




<!-- PMA-SQL-ERROR -->

<div class="error"><h1>Error</h1>
<p><strong>SQL query:</strong>
<a href="tbl_sql.php?sql_query=SHOW+TABLE+STATUS+FROM+%60my_database%60+LIKE+%27mybb_templatesets%27&amp;show_query=1&amp;db=my_database&amp;table=mybb_templatesets&amp;token=cbab4fdb65d0ac469764ff35049798bc"><span class="nowrap"><img src="themes/dot.gif" title="Edit" alt="Edit" class="icon ic_b_edit" /> Edit</span></a> </p>
<p>
<span class="syntax"><span class="inner_sql"><a href="./url.php?url=http%3A%2F%2Fdev.mysql.com%2Fdoc%2Frefman%2F5.5%2Fen%2Fshow.html&amp;token=cbab4fdb65d0ac469764ff35049798bc" target="mysql_doc"><span class="syntax_alpha syntax_alpha_reservedWord">SHOW</span></a> <span class="syntax_alpha syntax_alpha_reservedWord">TABLE</span> <span class="syntax_alpha syntax_alpha_reservedWord">STATUS</span> <span class="syntax_alpha syntax_alpha_reservedWord">FROM</span> <span class="syntax_quote syntax_quote_backtick">my_database</span> <a href="./url.php?url=http%[...]
Sorry. It'll be in your .htaccess file.
pls guide i am posting my .htaccess..

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]+)\.html$ calendar.php?action=yearview&calendar=$1&year=$2 [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&month=$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.
#

RewriteEngine on

# Some hosts require RewriteBase to make RewriteRules work.
RewriteBase /

# Google SEO workaround for search.php highlights:
# Make this rule the first rewrite rule in your .htaccess!
RewriteRule ^([^&]*)&(.*)$ http://localhost/test/$1?$2 [L,QSA,R=301]

# Google SEO 404:
ErrorDocument 404 /misc.php?google_seo_error=404

# Google SEO Sitemap:
RewriteRule ^sitemap\-([^./]+)\.xml$ misc.php?google_seo_sitemap=$1 [L,QSA,NC]

# Google SEO URL Forums:
RewriteRule ^Forum\-([^./]+)$ forumdisplay.php?google_seo_forum=$1 [L,QSA,NC]

# Google SEO URL Threads:
RewriteRule ^Thread\-([^./]+)$ showthread.php?google_seo_thread=$1 [L,QSA,NC]

# Google SEO URL Announcements:
RewriteRule ^Announcement\-([^./]+)$ announcements.php?google_seo_announcement=$1 [L,QSA,NC]

# Google SEO URL Users:
RewriteRule ^User\-([^./]+)$ member.php?action=profile&google_seo_user=$1 [L,QSA,NC]

# Google SEO URL Calendars:
RewriteRule ^Calendar\-([^./]+)$ calendar.php?google_seo_calendar=$1 [L,QSA,NC]

# Google SEO URL Events:
RewriteRule ^Event\-([^./]+)$ calendar.php?action=event&google_seo_event=$1 [L,QSA,NC]




i modified setting.php at below value:
$settings['homeurl'] = "http://localhost/test";
$settings['cookiedomain'] = ".";
$settings['cookiepath'] = "http://localhost/test/";
$settings['cookieprefix'] = "";
$settings['bburl'] = "http://localhost/test";

php error log on wamp show
[20-Nov-2015 03:26:34 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found.

 in Unknown on line 0

apache error log show :
[Fri Nov 20 10:18:50.228045 2015] [core:alert] [pid 5740:tid 792] [client ::1:57675] C:/wamp/www/test/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration


FINAL UPDATE:
No .htaccess file issues.
i figure out with various experiment on databases and finally i sortout problem.

I Will post proper step wise tutorial for installing Your Live board copy on localhost.


Front end page not open. means http://localhost/mybb or http://localhost/mybb/index.php not work

Back end (ACP) Working fine. http://localhost/mybb/admin/index.php is working.

How to make working http://localhost/mybb or http://localhost/mybb/index.php?
I Have modify site details on ACP as per setting.php file even not open.

Please guide.
How is it not working? What is happening.

Saying only that it's not working is absolutely useless to troubleshooting, unfortunately.
This webpage is not available

ERR_CONTENT_DECODING_FAILED
Hide details
The webpage at http://localhost/16218/ might be temporarily down or it may have moved permanently to a new web address.

One plugin was creating problem.
vip membership plugin.
Ok. Does everything work now, or are there still problems to resolve?
Pages: 1 2