Dreamhost Users and require_once
-
I’m a newb, guys, and just wanted to share with other newbs who might have problems with require_once at Dreamhost.
/*the following line of code got the forums to appear correctly but then admin didn’t work. Note: registration does not work here now–email address not accepted.
require_once(‘../wp-load.php’);
*/
/*The program told me: Warning: require_once(../wp-load.php) [function.require-once]: failed to open stream: No such file or directory in /home/my_db_username/foo.com/forums/bb-config.php on line 66
Fatal error: require_once() [function.require]: Failed opening required ‘../wp-load.php’ (include_path=’.:/usr/local/lib/php:/usr/local/php5/lib/pear’) in /home/my_db_username/foo.com/forums/bb-config.php on line 66
So let’s try the full path and see if admin works. Otherwise, we’re going to see if we can load the bbpress admin functions in the main install.
*/
/*first using the /home/my_db_username path*/
require_once(‘/home/my_db_username/foo.com/wp-load.php’);
/*this works to display the forum correctly. Checking the admin side: admin side also working. Note: don’t work on stuff late at night if you’re going to miss simple stuff like this */
YMMV. Hope this helps somebody.
-
My next problem was:
Registration worked with default themes but not once I got integration correct.
The form would not accept the email address, even when typed in plainly. Dismay!
The following plug fixed everything for me:
https://bbpress.org/plugins/topic/zaerl-wordpress-3-integration/
and I learned about it here:
https://bbpress.org/forums/topic/strange-registration-problems
My next problem was:
Registration worked with default themes but not once I got integration correct.
The form would not accept the email address, even when typed in plainly. Dismay!
The following plug fixed everything for me:
https://bbpress.org/plugins/topic/zaerl-wordpress-3-integration/
and I learned about it here:
https://bbpress.org/forums/topic/strange-registration-problems
- You must be logged in to reply to this topic.