Home Forums WoodMart support forum Split: Import AJAX problem. Please, try import data manually.

Split: Import AJAX problem. Please, try import data manually.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #132195

    csealtaf
    Participant

    Hello, I’m facing same problem. How I resolve the issue?
    Please give me solution as soon as possible.

    Attachments:
    You must be logged in to view attached files.
    #132225

    Artem Temos
    Keymaster

    Hello,

    Try to edit the file woodmart/inc/classes/Importversion.php and replace this code

    private function _revolution_import( $filename ) {
    	if( ! apply_filters('woodmart_old_sliders_import', false ) ) {
    		$file = $this->_download_file_to_import( $filename );
    	} else {
    		$file = $this->_get_file_to_import( $filename );
    	}
    	if( ! $file ) return;
    	$revapi = new RevSlider();
    	ob_start();
    	$slider_result = $revapi->importSliderFromPost(true, true, $file);
    	ob_end_clean();
    }

    with this one

    private function _revolution_import( $filename ) {
    	if( ! apply_filters('woodmart_old_sliders_import', false ) ) {
    		$file = $this->_download_file_to_import( $filename );
    	} else {
    		$file = $this->_get_file_to_import( $filename );
    	}
    	if( ! $file ) return;
    	$revapi = new RevSliderSliderImport();
    	ob_start();
    	$slider_result = $revapi->import_slider(true, $file);
    	ob_end_clean();
    }

    And then try to import the dummy content again.

    Kind Regards

    #132252

    proaudifonos
    Participant

    I have the same problem. Not found with the new code

    #132253

    proaudifonos
    Participant

    It works now.
    I deleted the whole subject.
    Then, install the file (.zip) with the modified code.
    Then, I can import the database without problems.

    Thanks

    Attachments:
    You must be logged in to view attached files.

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)