Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter kordas88

    (@kordas88)

    Hi there!

    It was actually quite simple. My database wasn’t clean. There were some random characters added to my password and since it is encrypted, I didn’t spot it right away. I simply created new user and deleted previous one. It has been working fine since then.

    Forum: Fixing WordPress
    In reply to: PHPMailer
    Thread Starter kordas88

    (@kordas88)

    It actually works! Thank you so much for your help!

    Forum: Fixing WordPress
    In reply to: PHPMailer
    Thread Starter kordas88

    (@kordas88)

    It may sound stupid, but there actually is no “new PHPMailer” line in any file of my website (i checked that with a script). I’m sure it’s created somehow, but I have no idea, where to find it. I know, that my message is created here:

    // AJAX Callback: Send contact form data
    if ( !function_exists( 'sc_contact_form_send' ) ) {
    	function ancora_sc_contact_form_send() {
    		global $_REQUEST;
    
    		if ( !wp_verify_nonce( $_REQUEST['nonce'], 'ajax_nonce' ) )
    			die();
    
    		$response = array('error'=>'');
    		if (!($contact_email = ancora_get_theme_option('contact_email')) && !($contact_email = ancora_get_theme_option('admin_email')))
    			$response['error'] = __('Nieznany e-mail administratora!', 'ancora');
    		else {
    			$type = ancora_substr($_REQUEST['type'], 0, 7);
    			parse_str($_POST['data'], $post_data);
    
    			if ($type=='contact') {
    				$user_name	= ancora_strshort($post_data['username'],	100);
                    $last_name	= ancora_strshort($post_data['lastname'],	100);
    				$user_email	= ancora_strshort($post_data['email'],	100);
                    $user_phone	= ancora_strshort($post_data['phone'],	100);
    				$user_msg	= ancora_strshort($post_data['message'],	ancora_get_theme_option('message_maxlength_contacts'));
                    $user_serv	= ancora_strshort($post_data['service'],	100);
    
                    $subj = sprintf(__('Strona %s - wiadomosc od %s', 'ancora'), get_bloginfo('site_name'), $user_name);
    				$msg = "\n".__('Imie:', 'ancora')   .' '.esc_html($user_name)
                        .  "\n".__('Nazwisko:', 'ancora')   .' '.esc_html($last_name)
    				//	.  "\n".__('E-mail:', 'ancora') .' '.esc_html($user_email)
                        .  "\n".__('Telefon:', 'ancora') .' '.esc_html($user_phone)
    					.  "\n".__('Wiadomosc:', 'ancora').' '.esc_html($user_msg);
                       // .  "\n".__('Usługa:', 'ancora').' '.esc_html($user_serv);

    My host supplier says it should work fine.

    Thread Starter kordas88

    (@kordas88)

    Thanks for your replay. I’m sure that my installation is clean, because i whiped out my serwer and installed a new fresh copy of wordpress. My problem occured as soon as I connected it to my database. I used SQL query from

    http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/

    but there is nothing suspicious. Is there anything else I should look for in my database? I’m never cleaned one, so I honestly don’t know. I removed one wierd user, but that’s all. I still can’t get in.

    Thread Starter kordas88

    (@kordas88)

    Those two post above are now resolved. I’m sorry I’m a new user and I don’t know how to remove them. I commented out one line in the plugin file about setcookie function, and there are no more warnings or errors. Yet still, i can’t log in into wp-admin. There is only a blank page. So it wasn’t the plugin I think. The site is working ok. Do any of you have any idea what maybe wrong?

    Thanks, and sorry again for posting three times in a row.

    Thread Starter kordas88

    (@kordas88)

    Ok, it showed up when I enabled debugging mode, but why? I don’t want it to work in debbuging mode all the time.

    Thread Starter kordas88

    (@kordas88)

    Thanks for your help. I’ll try that. I’ve got one more question: why is my site showing correctly on Google Chrome (with warning on the top, but the rest is fine), but on Firefox there is only a blank page with warning? Any ideas? It’s also ok on IE.

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