Forum Replies Created

Viewing 8 replies - 16 through 23 (of 23 total)
  • Thread Starter Emineminero

    (@emineminero)

    So i should create a php.ini inside the cfdb folder.
    inside that php.ini should be “
    error_log=/wp-content/plugins/contact-form-7-to-database-extension/error_log.txt”
    And then i should put this piece of code

    function &log_form_submissions(&$formData)
    {
        error_log('Form Submission: ' .
                print_r($formData, true));
        return $formData;
    }
    add_filter('cfdb_form_data', 'log_form_submissions');
    error_log("your message");"

    with in the plugin add actions and filters?
    Is that correct? Thanks in advance

    Thread Starter Emineminero

    (@emineminero)

    Thanks for your answer!
    I checked in there and there is nothing in those fields

    Thread Starter Emineminero

    (@emineminero)

    Ok, i figured it out, if someone wants to do the same just go to the plugin folder /group-invite/template/invite-anyone.php
    and delete this:

    <?php if ( ! invite_anyone_is_large_network( 'users' ) ) : ?>
    			<p><?php _e( 'Select members from the directory:', 'bp-invite-anyone' ) ?></p>
    
    			<div id="invite-anyone-member-list">
    				<ul>
    					<?php bp_new_group_invite_member_list() ?>
    				</ul>
    			</div>
    		<?php endif ?>

    Thread Starter Emineminero

    (@emineminero)

    I enabled the apache module “rewrite module” and now if i put the .htaccess file in the folder when i enter localhost/wordpress it redirects me to the live site ??
    here is the .htaccess modified:

    # Created by Redirection Module: Apache
    # Thu, 01 Aug 2013 23:19:57 -0300
    # Redirection 2.2.13 - https://urbangiraffe.com/plugins/redirection/
    
    <Files .htaccess,.svn>
    order allow,deny
    deny from all
    </Files>
    Options +FollowSymlinks
    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    
    </IfModule>
    
    # End of Redirection
    RewriteEngine On
    RewriteBase /wordpress/
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    Thread Starter Emineminero

    (@emineminero)

    So I found the problem, i really dont know how but it work so here is the thing:
    in the wordpress network set up menu says that you have to replace all the lines with that code.
    The thing is that it tells you to write something that is wrong
    the line in italic should be erased:

    ….
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) YOUR-FOLDER/$2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ YOUR-FOLDER/$2 [L]
    ….

    So it would be:

    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) /$2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ YOUR-FOLDER/$2 [L]

    Thread Starter Emineminero

    (@emineminero)

    So to be clear, pt.comunidadcrm.com runs from /public_html/Portuguese ?

    Or something like that?

    Exactly!

    I edited the .htaccess (replace everythiing with the lines:

    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) PortuguesTest/$2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ PortuguesTest/$2 [L]
    RewriteRule . index.php [L]

    Thread Starter Emineminero

    (@emineminero)

    The error says: “The page isn’t redirecting properly

    Firefox has detected that the server is redirecting the request for this address in a way that will never complete.

    This problem can sometimes be caused by disabling or refusing to accept cookies.”

    Another thing, in order to create pt.comunidadcrm.com being Multisite, I modified the wp-config.php inside the subdomain folder (/Portuguese).
    BUT i had to modify the “.htaccess” wich i did not do because in the network set up said that i had to edit the .htacces in the main domain folder, if i change that file the main domain wont work.

    Thread Starter Emineminero

    (@emineminero)

    pt.comunidadcrm.com its a separate site, “almost” completely independent (i said “almost” because it’s a subdomain).

Viewing 8 replies - 16 through 23 (of 23 total)