Search Results for 'code'
-
Search Results
-
I was reading a thread yesterday about bbPress registration emails not reaching new members. I can’t find it now, but there were comments in the thread about ISPs having limits, and maybe even auto-banning you from shared server space as a spammer. In case it’s of use to anyone, I emailed my UK hoster, kNet Hosting, and got this reply today;
Hi Michael,
We have a sending limit of 1000 mails per hour for SMTP mail from your account.
Sending mails from scripts e.g., a forum is not included in this so there are no limits. Obviously the higher rate that you send them could mean they are more likely to be flagged as spam by the major ISP’s.
Let me know if I can assist with this further.
Nick
On Wed, Jun 24, 2009 at 10:02 AM, Michael wrote:
Hi,
I’ve been reading on a forum that sending emails to groups of people via your server space can trigger alerts, get you banned from major players like Google and others, and even banned from your hoster. I don’t have many forum members at present, but if I got say, a few hundred, and sent everyone an email would it cause problems?
Essentially, I guess my question is what limits are there for this on shared hosting?
Regards,
Michael
Topic: Installation throws errors
Dear Developers, dear community
currently I am trying to set up the following combination: WordPress MU (2.7.1), Buddypress (tried both, 1.0.1 and 1.0.2) as well as bbpress (1.0-rc-3). My problem is the following error that appears on the “Installation success”-page:
Database error: [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 ') /* WP_Users::append_meta */' at line 1]
SELECT user_id, meta_key, meta_value FROM wp_usermeta WHERE user_id IN () /* WP_Users::append_meta */
Caller: BB_Install->BB_Install, BB_Install->process_form, BB_Install->process_form_finalise_installation, bb_get_user, WP_Users->get_user, WP_Users->append_meta
Database error: [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 ') /* WP_Users::append_meta */' at line 1]
SELECT user_id, meta_key, meta_value FROM wp_usermeta WHERE user_id IN () /* WP_Users::append_meta */
Caller: BB_Install->BB_Install, BB_Install->process_form, BB_Install->process_form_finalise_installation, bb_new_user, bb_get_user_by_nicename, WP_Users->get_user, WP_Users->append_meta
Warning: Cannot modify header information - headers already sent by (output started at [...] bbpressbb-includesbackpressclass.bpdb.php:569) in [...] bbpressbb-includesfunctions.bb-core.php on line 1095To track down the error I will try to explain my installation procedure – the starting point is a vanilla installation of WordPress MU 2.71 and Buddypress 1.0.2:
1) Put bbpress into the same directory as wp-admin, wp-content and wp-includes – basically (“/”)
2) Go to the installation routine on ./bbpress/bb-admin/install.php and start step 1
3) Enter the same database name, user and password as for the WordPress MU installation
4) “Show advanced settings” and set database character collation to “utf8_general_ci”
5) Save and go to step two
6) Add integration settings
7) Add cookie integration
Enter the URL of the page (Note: The description “This value should exactly match the WordPress address (URL) setting in your WordPress general settings.” is wrong, there is no such value under Admin Panel > Settings > General nor under Admin Panel > Buddypress > General settings
9) Have already tried both: Setting the page URL again as well as setting URL + “/bbpress/” (Note: Again the description “This value should exactly match the Blog address (URL) setting in your WordPress general settings.” does no match since there is no such value in the Admin Panel in General Settings
10) Copying all cookie keys from the wp-config.php
11) Add user database integration settings
12) Set MU primary blog id to: 1
13) Save and go to step three
14) Enter site name, enter side address as base URL + “/bbpress/”, enter keymaster and according email address as well as a title for the first board
15) Save and install
From here on I get the error message (white one white background), the installation routine shows a successful installation nonetheless. The protocol is:
Referrer is OK, beginning installation…
>>> Setting up custom user table constants
Step 1 - Creating database tables
>>> Modifying database: [...] (localhost)
>>>>>> Table: bb_forums
>>>>>>>>> Creating table
>>>>>>>>>>>> Done
>>>>>> Table: bb_meta
>>>>>>>>> Creating table
>>>>>>>>>>>> Done
>>>>>> Table: bb_posts
>>>>>>>>> Creating table
>>>>>>>>>>>> Done
>>>>>> Table: bb_terms
>>>>>>>>> Creating table
>>>>>>>>>>>> Done
>>>>>> Table: bb_term_relationships
>>>>>>>>> Creating table
>>>>>>>>>>>> Done
>>>>>> Table: bb_term_taxonomy
>>>>>>>>> Creating table
>>>>>>>>>>>> Done
>>>>>> Table: bb_topics
>>>>>>>>> Creating table
>>>>>>>>>>>> Done
Step 2 - WordPress integration (optional)
>>> WordPress address (URL): http://[...]/
>>> Blog address (URL): http://[...]/
>>> WordPress cookie keys set.
>>> WordPress "auth" cookie salt set from input.
>>> WordPress "secure auth" cookie salt set from input.
>>> WordPress "logged in" cookie salt set from input.
>>> User database table prefix: wp_
Step 3 - Site settings
>>> Site name: [...]
>>> Site address (URL): http://[...]/bbpress/
>>> From email address: [...]
>>> Key master created
>>>>>> Username: forumadmin
>>>>>> Email address: [...]
>>>>>> Password: [...]
>>> Description: Just another bbPress community
>>> Forum name: General
>>>>>> Topic: Your first topic
>>>>>>>>> Post: First Post! w00t.
>>> Making plugin directory at [...] bbpress/my-plugins/.
>>> Making theme directory at [...] bbpress/my-templates/.
>>> Key master email sent
Installation complete!I mean the forum is working, but I fear still something might have gone wrong after the above error message. What do you think?
Kind regards
Hi,
I get the following errors when using bbPress:
Warning: array_map() [function.array-map]: Argument #2 should be an array in /var/www/example.com/forums/bb-includes/class.bb-query.php on line 71
Warning: join() [function.join]: Bad arguments. in /var/www/example.com/forums/bb-includes/class.bb-query.php on line 71
Warning: Invalid argument supplied for foreach() in /var/www/example.com/forums/bb-includes/class.bb-query.php on line 85I’m using bbPress 1.0 alpha 6 and I should also mention that I have integrated BuddyPress and WordPress MU and enabled WordPress’ WP_CACHE as stated here:
http://codex.buddypress.org/getting-started/improving-performance/
Does that have anything to do with the error messages?
Thanks for reading!
Can’t find any post about this error and my SQL is quite rusted.
Fresh install, no WP integration, MySQL 5.0.40
SQL ERROR!
>>> Database: forums (localhost)
>>>>>> CREATE TABLE IF NOT EXISTS
bb_vj_usermeta
(umeta_id
bigint(20) NOT NULL auto_increment,user_id
bigint(20) NOT NULL default 0,meta_key
default NULL,meta_value
default NULL,PRIMARY KEY (
umeta_id
),KEY
user_id
(user_id
),KEY
meta_key
(meta_key
)) DEFAULT CHARACTER SET ‘utf8’;
>>>>>> 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 ‘default NULL,
meta_value
default NULL,PRIMARY KEY (
umeta_id
),KEY `user_’ at line 4
Forum could not be created!