Michael Kracke
Forum Replies Created
-
Ich entschuldige mich im Voraus, ich benutze Google-Übersetzer dafür.
Wenn ich deine Frage verstehe, dann musst du die Datenbank durchsuchen und die neue URL durch die alte URL ersetzen. Das sollte deine Website zurückbringen
Forum: Localhost Installs
In reply to: WordPress as Company IntranetThere are a lot of plugins you can use to restrict content based on membership accounts. Check out the plugins section to find the one that will work best for you https://wordpress.org/plugins-wp/search/membership/
As far as broadcasting your site, if you can see you site with a domain that’s not ‘localhost’ so for example “companyname.local” then your server is configured correctly. You will need to add that domain to the company network DNS and point it your local server.
Forum: Installing WordPress
In reply to: problem configuring wordpressI’ve had this issue before, you need to make sure that the database prefix in the wp-config.php matches the actual prefix of your tables in wordpress. If they do not match the easiest thing is to modify your wp-config.php rather than change the database.
Forum: Fixing WordPress
In reply to: Syntax error in wp-config.phpCheck to see that line 110 is properly formatted,
- is there a closing parenthesis for every opening?
- are your quotes matching? (single to single, double to double)
- proper capitalization
- proper spacing
- statement ends with a semi-colon
Also check like 109 for the same things, often times if a line error is thrown the issue is actually found in the preceding statement.
- This reply was modified 9 years, 3 months ago by Michael Kracke.
Forum: Installing WordPress
In reply to: Failed to connect to MySQL databaseHave you verified that you are using the correct hostname?
Forum: Localhost Installs
In reply to: WP and image headers = strange crop sizeJust a few questions to gather some more information on your issue.
- What theme are you using?
- Is the theme up-to-date?
- What version of WP are you running?
Forum: Plugins
In reply to: [Shortcodes Ultimate - Content Elements] Posts shortcode: IN, NOT_IN, ANDI have the same issue, here is the code that deals with the operators, I am working through this code to see if I can find a fix
// Code from ‘shortcodes.php’, lines 1265 – 1303
// If taxonomy attributes, create a taxonomy query if ( !empty( $taxonomy ) && !empty( $tax_term ) ) { // Term string to array $tax_term = explode( ',', $tax_term ); // Validate operator if ( !in_array( $tax_operator, array( 'IN', 'NOT IN', 'AND' ) ) ) $tax_operator = 'IN'; $tax_args = array( 'tax_query' => array( array( 'taxonomy' => $taxonomy, 'field' => ( is_numeric( $tax_term[0] ) ) ? 'id' : 'slug', 'terms' => $tax_term, 'operator' => $tax_operator ) ) ); // Check for multiple taxonomy queries $count = 2; $more_tax_queries = false; while ( isset( $original_atts['taxonomy_' . $count] ) && !empty( $original_atts['taxonomy_' . $count] ) && isset( $original_atts['tax_' . $count . '_term'] ) && !empty( $original_atts['tax_' . $count . '_term'] ) ) { // Sanitize values $more_tax_queries = true; $taxonomy = sanitize_key( $original_atts['taxonomy_' . $count] ); $terms = explode( ', ', sanitize_text_field( $original_atts['tax_' . $count . '_term'] ) ); $tax_operator = isset( $original_atts['tax_' . $count . '_operator'] ) ? $original_atts[ 'tax_' . $count . '_operator'] : 'IN'; $tax_operator = in_array( $tax_operator, array( 'IN', 'NOT IN', 'AND' ) ) ? $tax_operator : 'IN'; $tax_args['tax_query'][] = array( 'taxonomy' => $taxonomy, 'field' => 'slug', 'terms' => $terms, 'operator' => $tax_operator ); $count++; } if ( $more_tax_queries ): $tax_relation = 'AND'; if ( isset( $original_atts['tax_relation'] ) && in_array( $original_atts['tax_relation'], array( 'AND', 'OR' ) ) ) $tax_relation = $original_atts['tax_relation']; $args['tax_query']['relation'] = $tax_relation; endif; $args = array_merge( $args, $tax_args ); }