Title: gardulec's Replies | WordPress.org

---

# gardulec

  [  ](https://wordpress.org/support/users/gardulec/)

 *   [Profile](https://wordpress.org/support/users/gardulec/)
 *   [Topics Started](https://wordpress.org/support/users/gardulec/topics/)
 *   [Replies Created](https://wordpress.org/support/users/gardulec/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/gardulec/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/gardulec/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/gardulec/engagements/)
 *   [Favorites](https://wordpress.org/support/users/gardulec/favorites/)

 Search replies:

## Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] [Plugin: Contact Form 7] [ContactForm7] Infinite loading](https://wordpress.org/support/topic/plugin-contact-form-7-contactform7-infinite-loading/)
 *  Thread Starter [gardulec](https://wordpress.org/support/users/gardulec/)
 * (@gardulec)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-contactform7-infinite-loading/#post-1730426)
 * Ya, one of problem is fixed, but next one appears. There was a problem with my
   wp_mail section, I’ve installed plugin that is changing this wp_mail into a SMTP
   connection named WP-Mail-SMTP by Collum Mcdonald.
 * Now every sending email is working uber cool and mega fast. But new problem appears
   with Contact Form. Mail is well sended but the loading icon is blinkind infinity.
 * So contact form is sending an email now, but theres not any info like “Email 
   sent”. Loading icon is running infinity. Is there a possibility to fix this?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] [Plugin: Contact Form 7] [ContactForm7] Infinite loading](https://wordpress.org/support/topic/plugin-contact-form-7-contactform7-infinite-loading/)
 *  Thread Starter [gardulec](https://wordpress.org/support/users/gardulec/)
 * (@gardulec)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-contactform7-infinite-loading/#post-1730385)
 * I don’t think that theres any “screwed up” code in my blog cuz I’m not a coder,
   and I’m not changing anything in files 🙂
    Maybe simply my hoster is a bad company
   with n00bs in work. However this is simply a WordPress + some plugins and a design
   made by Rick Noach (Elegant Themes). Even I’ve disabled whole plugins, set up
   a default theme and english language, nothing changed.
 * Here is a code from line 50 to 88 (only there was a
    `$url = wpcf7_get_request_uri();`
   code). Thanks for your time and that you are helping us/me in some problems with
   this plugin. Hope we will fix this soon 🙂
 *  `/* Generating Form HTML */
    function form_html() { $form = ‘<div class=”wpcf7″
   id=”‘ . $this->unit_tag . ‘”>’; $url = ‘/redakcja/kontakt#wpcf7-f1-p5511-o1’;
   if ( $frag = strstr( $url, ‘#’ ) ) $url = substr( $url, 0, -strlen( $frag ) );
   $url .= ‘#’ . $this->unit_tag; $url = apply_filters( ‘wpcf7_form_action_url’,
   $url ); $enctype = apply_filters( ‘wpcf7_form_enctype’, ” ); $class = apply_filters(‘
   wpcf7_form_class_attr’, ‘wpcf7-form’ ); $form .= ‘<form action=”‘ . esc_url_raw(
   $url ) . ‘” method=”post”‘ . ‘ class=”‘ . esc_attr( $class ) . ‘”‘ . $enctype.‘
   >’ . “\n”; $form .= ‘<div style=”display: none;”>’ . “\n”; $form .= ‘<input type
   =”hidden” name=”_wpcf7″ value=”‘ . esc_attr( $this->id ) . ‘” />’ . “\n”; $form.
   = ‘<input type=”hidden” name=”_wpcf7_version” value=”‘ . esc_attr( WPCF7_VERSION).‘”/
   >’ . “\n”; $form .= ‘<input type=”hidden” name=”_wpcf7_unit_tag” value=”‘ . esc_attr(
   $this->unit_tag ) . ‘” />’ . “\n”; $form .= ‘</div>’ . “\n”; $form .= $this->
   form_elements(); if ( ! $this->responses_count ) $form .= $this->form_response_output();
   $form .= ‘</form>’; $form .= ‘</div>’; return $form; }`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] [Plugin: Contact Form 7] [ContactForm7] Infinite loading](https://wordpress.org/support/topic/plugin-contact-form-7-contactform7-infinite-loading/)
 *  Thread Starter [gardulec](https://wordpress.org/support/users/gardulec/)
 * (@gardulec)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-contactform7-infinite-loading/#post-1730382)
 * It’s not changing anything.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] [Plugin: Contact Form 7] [ContactForm7] Infinite loading](https://wordpress.org/support/topic/plugin-contact-form-7-contactform7-infinite-loading/)
 *  Thread Starter [gardulec](https://wordpress.org/support/users/gardulec/)
 * (@gardulec)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-contactform7-infinite-loading/#post-1730379)
 * Yup, that have changed something – now Contact Form is working, but still isn’t
   working perfect.
 *     ```
       function form_html() {
       form = '<div class="wpcf7" id="' . $this->unit_tag . '">';
       url = '/index.php/'.wpcf7_get_request_uri();
       if ( $frag = strstr( $url, '#' ) )
       $url = substr( $url, 0, -strlen( $frag ) );
       $url .= '#' . $this->unit_tag;
       ```
   
 * I’ve found this line between those code lines.
 * Now Contact Form shows (in Polish):
    Unable to send your message. Try later or
   contact authors in other form.
 * (without this ** in code ofc, I just wanted to show this line up)**
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] [Plugin: Contact Form 7] [ContactForm7] Infinite loading](https://wordpress.org/support/topic/plugin-contact-form-7-contactform7-infinite-loading/)
 *  Thread Starter [gardulec](https://wordpress.org/support/users/gardulec/)
 * (@gardulec)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-contactform7-infinite-loading/#post-1730319)
 * I’ve done this – set up a permalinks into default, try to send email (failed),
   enamble again my option, try to send again (failed).
 * [http://mmoblog.pl/redakcja/kontakt/](http://mmoblog.pl/redakcja/kontakt/)
 * Here you go.

Viewing 5 replies - 1 through 5 (of 5 total)