Local WP installation stopped working while live previewing Farms themes

I have a local test installation of WP with BuddyPress, using MAMP. I was live previewing your Farm pack themes, when suddenly the whole WP stopped working. Now I only get this: http://puu.sh/2tDcb

I think the last theme I had activated was BP Corporate. I also tried to activate Batavia, as it was showing nothing in live preview, but that just gave an error. After that I was live previewing Bluebird I think, don’t remember if there was some other previews between these.

I’ve tried restarting MAMP, that didn’t help. Hope I don’t need to start from a clean installation :disappointed:

  • aristath
    • Recruit

    Hello there @outi, I hope you’re well today!

    Do you have access to your error logs? That would give us some idea about what’s going on.

    It would also be useful if you could open up your wp-config.php file and set WP_DEBUG to true.

    If all else fails, you can simply delete the farms themes from wp-content/themes.

    If it was because of a theme it will automatically use the default twentytwelve theme and you should be able to continue working.

    I hope that helps!

    If you need any further assistance don’t hesitate to post back here.

    Cheers,

    Ari.

  • Outi
    • Flash Drive

    This is my error log for today. Can you see what went wrong? Would be nice to try the Batavia theme also, it looks beautiful. I’ll go turn the debugging on now. And btw, great avatar picture :smiley:

    -Outi

    [Thu Apr 04 09:30:35.834773 2013] [:error] [pid 10189] [client 127.0.0.1:49633] PHP Warning: Creating default object from empty value in /Applications/wordpress-3.5.1-1/apps/wordpress/htdocs/wp-content/plugins/buddypress/bp-members/bp-members-loader.php on line 101

    [Thu Apr 04 09:30:35.856735 2013] [:error] [pid 10189] [client 127.0.0.1:49633] PHP Warning: Creating default object from empty value in /Applications/wordpress-3.5.1-1/apps/wordpress/htdocs/wp-content/plugins/buddypress/bp-core/bp-core-loader.php on line 206

    [Thu Apr 04 09:38:48.354764 2013] [:error] [pid 30223] [client 85.23.152.43:50072] WordPress database error Table ‘bitnami_wordpress.wp_bb_forums’ doesn’t exist for query DESCRIBE wp_bb_forums; made by require(‘wp-blog-header.php’:wink:, require_once(‘wp-includes/template-loader.php’:wink:, do_action(‘template_redirect’:wink:, call_user_func_array, bp_template_redirect, do_action(‘bp_template_redirect’:wink:, call_user_func_array, bp_screens, do_action(‘bp_screens’:wink:, call_user_func_array, bp_forums_directory_forums_setup, do_action(‘bbpress_init’:wink:, call_user_func_array, bp_forums_load_bbpress, referer: http://generationally.dyndns.org:8888/wordpress/activity/

    [Thu Apr 04 09:38:48.358456 2013] [:error] [pid 30223] [client 85.23.152.43:50072] WordPress database error Table ‘bitnami_wordpress.wp_bb_meta’ doesn’t exist for query SELECT meta_value FROM wp_bb_meta WHERE object_type = ‘bb_option’ AND meta_key = ‘wp_table_prefix’ made by require(‘wp-blog-header.php’:wink:, require_once(‘wp-includes/template-loader.php’:wink:, do_action(‘template_redirect’:wink:, call_user_func_array, bp_template_redirect, do_action(‘bp_template_redirect’:wink:, call_user_func_array, bp_screens, do_action(‘bp_screens’:wink:, call_user_func_array, bp_forums_directory_forums_setup, do_action(‘bbpress_init’:wink:, call_user_func_array, bp_forums_load_bbpress, require(‘/plugins/buddypress/bp-forums/bbpress/bb-admin/includes/defaults.bb-schema.php’:wink:, bb_get_option, bb_get_option_from_db, referer: http://generationally.dyndns.org:8888/wordpress/activity/

    [Thu Apr 04 09:38:49.704943 2013] [:error] [pid 30223] [client 85.23.152.43:50072] WordPress database error Multiple primary key defined for query ALTER TABLE wp_usermeta ADD PRIMARY KEY (umeta_id) made by require(‘wp-blog-header.php’:wink:, require_once(‘wp-includes/template-loader.php’:wink:, do_action(‘template_redirect’:wink:, call_user_func_array, bp_template_redirect, do_action(‘bp_template_redirect’:wink:, call_user_func_array, bp_screens, do_action(‘bp_screens’:wink:, call_user_func_array, bp_forums_directory_forums_setup, do_action(‘bbpress_init’:wink:, call_user_func_array, bp_forums_load_bbpress, bp_bb_dbDelta, referer: http://generationally.dyndns.org:8888/wordpress/activity/

    [Thu Apr 04 09:38:49.705593 2013] [:error] [pid 30223] [client 85.23.152.43:50072] WordPress database error Multiple primary key defined for query ALTER TABLE wp_users ADD PRIMARY KEY (ID) made by require(‘wp-blog-header.php’:wink:, require_once(‘wp-includes/template-loader.php’:wink:, do_action(‘template_redirect’:wink:, call_user_func_array, bp_template_redirect, do_action(‘bp_template_redirect’:wink:, call_user_func_array, bp_screens, do_action(‘bp_screens’:wink:, call_user_func_array, bp_forums_directory_forums_setup, do_action(‘bbpress_init’:wink:, call_user_func_array, bp_forums_load_bbpress, bp_bb_dbDelta, referer: http://generationally.dyndns.org:8888/wordpress/activity/

    [Thu Apr 04 09:38:49.843299 2013] [:error] [pid 30223] [client 85.23.152.43:50072] WordPress database error Duplicate key name ‘user_nicename’ for query ALTER TABLE wp_users ADD UNIQUE KEY user_nicename (user_nicename) made by require(‘wp-blog-header.php’:wink:, require_once(‘wp-includes/template-loader.php’:wink:, do_action(‘template_redirect’:wink:, call_user_func_array, bp_template_redirect, do_action(‘bp_template_redirect’:wink:, call_user_func_array, bp_screens, do_action(‘bp_screens’:wink:, call_user_func_array, bp_forums_directory_forums_setup, do_action(‘bbpress_init’:wink:, call_user_func_array, bp_forums_load_bbpress, bp_bb_dbDelta, referer: http://generationally.dyndns.org:8888/wordpress/activity/

    [Thu Apr 04 09:47:15.403516 2013] [:error] [pid 30223] [client 85.23.152.43:50383] PHP Warning: Creating default object from empty value in /Applications/wordpress-3.5.1-1/apps/wordpress/htdocs/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 507, referer: http://generationally.dyndns.org:8888/wordpress/groups/create/step/group-avatar/

    [Thu Apr 04 11:31:46.344471 2013] [:error] [pid 15272] [client 85.23.152.43:55186] PHP Warning: copy(/Applications/wordpress-3.5.1-1/apps/wordpress/htdocs/wp-content/upgrade/wdp-un1.tmp/bp-community/members/single/profile.php): failed to open stream: No such file or directory in /Applications/wordpress-3.5.1-1/apps/wordpress/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 200, referer: http://generationally.dyndns.org:8888/wordpress/wp-admin/admin.php?page=wpmudev-themes

    [Thu Apr 04 11:31:46.378176 2013] [:error] [pid 15272] [client 85.23.152.43:55186] PHP Warning: copy(/Applications/wordpress-3.5.1-1/apps/wordpress/htdocs/wp-content/upgrade/wdp-un1.tmp/bp-community/members/single/profile.php): failed to open stream: No such file or directory in /Applications/wordpress-3.5.1-1/apps/wordpress/htdocs/wp-admin/includes/class-wp-filesystem-direct.php on line 200, referer: http://generationally.dyndns.org:8888/wordpress/wp-admin/admin.php?page=wpmudev-themes

    [Thu Apr 04 12:16:36.337249 2013] [:error] [pid 21344] [client 127.0.0.1:57386] PHP Parse error: syntax error, unexpected ‘<‘ in /Applications/wordpress-3.5.1-1/apps/wordpress/htdocs/wp-content/themes/batavia/functions.php on line 99, referer: http://127.0.0.1:8080/wordpress/wp-admin/themes.php

    [Thu Apr 04 12:17:40.036161 2013] [:error] [pid 12996] [client 127.0.0.1:57441] PHP Parse error: syntax error, unexpected ‘<‘ in /Applications/wordpress-3.5.1-1/apps/wordpress/htdocs/wp-content/themes/batavia/functions.php on line 99, referer: http://127.0.0.1:8080/wordpress/wp-admin/themes.php

    [Thu Apr 04 12:17:47.542767 2013] [:error] [pid 26046] [client 127.0.0.1:57442] PHP Parse error: syntax error, unexpected ‘<‘ in /Applications/wordpress-3.5.1-1/apps/wordpress/htdocs/wp-content/themes/batavia/functions.php on line 99, referer: http://127.0.0.1:8080/wordpress/wp-admin/themes.php

    [Thu Apr 04 12:22:31.711070 2013] [:error] [pid 27206] [client 127.0.0.1:57684] PHP Parse error: syntax error, unexpected ‘<‘ in /Applications/wordpress-3.5.1-1/apps/wordpress/htdocs/wp-content/themes/batavia/functions.php on line 99, referer: http://127.0.0.1:8080/wordpress/wp-admin/edit.php?post_type=page

    [Thu Apr 04 12:22:55.305971 2013] [:error] [pid 26046] [client 127.0.0.1:57694] PHP Parse error: syntax error, unexpected ‘<‘ in /Applications/wordpress-3.5.1-1/apps/wordpress/htdocs/wp-content/themes/batavia/functions.php on line 99, referer: http://127.0.0.1:8080/wordpress/wp-admin/edit.php?post_type=page

    [Thu Apr 04 12:23:12.839745 2013] [:error] [pid 27541] [client 127.0.0.1:57701] PHP Parse error: syntax error, unexpected ‘<‘ in /Applications/wordpress-3.5.1-1/apps/wordpress/htdocs/wp-content/themes/batavia/functions.php on line 99

    [Thu Apr 04 12:23:18.002647 2013] [:error] [pid 26046] [client 127.0.0.1:57709] PHP Parse error: syntax error, unexpected ‘<‘ in /Applications/wordpress-3.5.1-1/apps/wordpress/htdocs/wp-content/themes/batavia/functions.php on line 99

    [Thu Apr 04 12:23:34.578288 2013] [:error] [pid 27206] [client 127.0.0.1:57723] PHP Parse error: syntax error, unexpected ‘<‘ in /Applications/wordpress-3.5.1-1/apps/wordpress/htdocs/wp-content/themes/batavia/functions.php on line 99, referer: http://127.0.0.1:8080/wordpress/wp-admin/nav-menus.php

    [Thu Apr 04 12:24:04.439398 2013] [:error] [pid 28009] [client 127.0.0.1:57736] PHP Parse error: syntax error, unexpected ‘<‘ in /Applications/wordpress-3.5.1-1/apps/wordpress/htdocs/wp-content/themes/batavia/functions.php on line 99, referer: http://127.0.0.1:8080/wordpress/wp-admin/themes.php

    [Thu Apr 04 12:24:36.588520 2013] [mpm_prefork:notice] [pid 9965] AH00169: caught SIGTERM, shutting down

    [Thu Apr 04 12:25:13.596089 2013] [ssl:warn] [pid 28793] AH01909: RSA certificate configured for http://www.example.com:8443 does NOT include an ID which matches the server name

    [Thu Apr 04 12:25:13.631509 2013] [ssl:warn] [pid 28794] AH01909: RSA certificate configured for http://www.example.com:8443 does NOT include an ID which matches the server name

    [Thu Apr 04 12:25:13.631612 2013] [lbmethod_heartbeat:notice] [pid 28794] AH02282: No slotmem from mod_heartmonitor

    [Thu Apr 04 12:25:13.770187 2013] [mpm_prefork:notice] [pid 28794] AH00163: Apache/2.4.3 (Unix) OpenSSL/1.0.1c PHP/5.4.12 configured — resuming normal operations

    [Thu Apr 04 12:25:13.770262 2013] [core:notice] [pid 28794] AH00094: Command line: ‘/Applications/wordpress-3.5.1-1/apache2/bin/httpd -f /Applications/wordpress-3.5.1-1/apache2/conf/httpd.conf’

    [Thu Apr 04 12:25:50.843958 2013] [:error] [pid 28795] [client 127.0.0.1:57778] PHP Parse error: syntax error, unexpected ‘<‘ in /Applications/wordpress-3.5.1-1/apps/wordpress/htdocs/wp-content/themes/batavia/functions.php on line 99, referer: http://127.0.0.1:8080/

  • Outi
    • Flash Drive

    Ok, that seemed to fix it! I got my dashboard back :slight_smile:

    Can I use the Farms themes with BuddyPress? Or what should I do if I need to have different closed member areas (for different members each), preferably each with forums? The farms themes looked beautiful, I would love to use (one of) them.

  • aristath
    • Recruit

    Ok, that seemed to fix it! I got my dashboard back :slight_smile:

    I’m glad to hear that!

    Can I use the Farms themes with BuddyPress?

    I wouldn’t recommend it… We have specialized themes for BuddyPress!

    Or what should I do if I need to have different closed member areas (for different members each), preferably each with forums?

    I’m afraid I don’t quite understand what you mean there… Could you please elaborate?

    Cheers,

    Ari.

  • Outi
    • Flash Drive

    Well, I have this site that I want to use for publishing information on stress, personality, career planning, creativity, mindfulness, life traps, and anything else that has to do with getting a better life. I also want to sell products and online courses there. And I want to run the courses there. And possibly I might want to run a blog later.

    So the course areas needs to be closed, only accessible for people who have bought the corresponding course. For example, X has bought a stress management course and so has access to the stress management course area.

    The course areas would have a course forum, maybe chat, hopefully some system for marking your progress, that kind of stuff that’s needed for running a course.

    And to top this all, I want to run the site both in Finnish and in English :slight_smile: Finnish is the first one on the list, however.

    I’m new to WP (been playing with it a week now), and haven’t done any web design before. But I do have an otherwise geeky background, from engineering and C programming, so thought I could give this a try :smiley: But I do feel a bit lost. And I’m not very graphical at all, so would like to get a theme that’s beautiful as a starting point. I don’t want to invent all the background pictures and colors and layout and fonts and whatnot. I’m really really uncertain with those things.

    I checked your buddypress themes already, and they are a bit empty. Very customizable, I’m sure. But that’s why I already fell in love with the Farms themes, they were all graphical :slight_smile:

    To be honest, I don’t quite know where to start. Could I somehow pick a Farms theme and take the nice graphical things from it to a buddypress theme? Do I need buddypress? (It does look like it could do the job.) Is there a way to make a Farms theme BP-compatible? Wasn’t there a plugin that could be used for that? I did read that you need to know html and css to do that. I’m not afraid of code really, but I haven’t done almost anything with them before :slight_smile:

    Long post, lots of rambling! I’m not sure if I’m asking the right questions, feel free to answer any I’m not asking :smiley:

  • aristath
    • Recruit

    So the course areas needs to be closed, only accessible for people who have bought the corresponding course. For example, X has bought a stress management course and so has access to the stress management course area.

    Have you taken a look at the Membership plugin?

    This could be what you’re looking for… :slight_smile:

    If you want to sell your courses one-by-one you could use the Pay Per View plugin instead!

    And to top this all, I want to run the site both in Finnish and in English :slight_smile: Finnish is the first one on the list, however.

    No problem… WPML is the perfect fit for you! It is the plugin most sites prefer to handle their multilingual needs.

    Do I need buddypress? (It does look like it could do the job.)

    BuddyPress will simply add profiles, activities wall (similar to a facebook wall), groups and other “social”-like stuff to your site.

    If all you need is blogs (and from what you described above that’s what I understood) then bbPress is a better match for you!

    Is there a way to make a Farms theme BP-compatible?

    Though they were not designed to do that, yes you can. But it will require some copy-pasting and basic coding skills. You can try using this plugin to make them compatible: http://wordpress.org/extend/plugins/bp-template-pack/ though I think that the BuddyPress 1.7 won’t need that… you can get a beta of bp 1.7 here: http://buddypress.org/2013/03/buddypress-1-7-beta-2/ let me know if that works for you…

    The safest route (and more helpful to you) would be to upload your site on a test live server and whenever you have an issue create a new thread here with a link to your site so that we may see it in action and help you out with html, php & css. :slight_smile:

    I hope that helps!

    Cheers,

    Ari.

    Was that helpful?

  • Outi
    • Flash Drive

    Ari, thank you so much. I will check those plugins, and also the BP beta version. And I’ll mark this now as resolved. I actually do have an external URL to my local site (so that I got Jetpack working), I’ll remember to post it in any future threads. Had to use a funny port number for it, and set up port forwarding :slight_smile:

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.