Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Forum: Fixing WordPress
    In reply to: Unable to import
    Thread Starter ntms2020

    (@ntms2020)

    Hi @t-p thanks I did file an issue.

    • This reply was modified 5 years, 1 month ago by ntms2020.

    Hi, I have same problem. What should I do. I already increase the max size to 256 MB but problem is not a file size it cannot open or read the file. Any help please.

    Unable to import
    Unable to open file for reading. File: /Applications/MAMP/htdocs/wordpress/wp-content/plugins/all-in-one-wp-migration/storage/m2pis1k069nn/tramsinsuranceagency.com-20200107-171502-113.wpress
    Thread Starter ntms2020

    (@ntms2020)

    Thanks @t-p after searching I find that I should open phpadmin and create a database first. And now is working. Kind thanks

    Thread Starter ntms2020

    (@ntms2020)

    Bit more info:

    My MAMP shows
    Apache port: 8888
    Nginx Port: 8888
    MySQL Port: 8889

    and uses PHP standart version 7.3.8 and I am using Apache as web server and mysql version shows 5.7.26

    In tools when I press Check MySQL database didn’t show any error at all. I am running these on macOS Catalina 10.15.2

    Thread Starter ntms2020

    (@ntms2020)

    Hi @t-p

    In follow the link and your post. I copied the wp-config-sample.php to wp-config.php and change my credentials. Than I start the server again and this time I got ‘Error establishing a database connection’ in a single line and no other error text. Here is my settings after change in wp-config.php.

    Ignore the mydbname, myusername and mypassword. I didn’t want to write my credentials.

    <?php
    /**
     * The base configuration for WordPress
     *
     * The wp-config.php creation script uses this file during the
     * installation. You don't have to use the web site, you can
     * copy this file to "wp-config.php" and fill in the values.
     *
     * This file contains the following configurations:
     *
     * * MySQL settings
     * * Secret keys
     * * Database table prefix
     * * ABSPATH
     *
     * @link https://codex.www.ads-software.com/Editing_wp-config.php
     *
     * @package WordPress
     */
    
    // ** MySQL settings - You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define( 'DB_NAME', 'mydbname' );
    
    /** MySQL database username */
    define( 'DB_USER', 'myusername' );
    
    /** MySQL database password */
    define( 'DB_PASSWORD', 'mypassword' );
    
    /** MySQL hostname */
    define( 'DB_HOST', 'localhost' );
    
    /** Database Charset to use in creating database tables. */
    define( 'DB_CHARSET', 'utf8' );
    
    /** The Database Collate type. Don't change this if in doubt. */
    define( 'DB_COLLATE', '' );
    
    /**#@+
     * Authentication Unique Keys and Salts.
     *
     * Change these to different unique phrases!
     * You can generate these using the {@link https://api.www.ads-software.com/secret-key/1.1/salt/ www.ads-software.com secret-key service}
     * You can change these at any point in time to invalidate all existing cookies. This will force all users to have to log in again.
     *
     * @since 2.6.0
     */
    define( 'AUTH_KEY',         'put your unique phrase here' );
    define( 'SECURE_AUTH_KEY',  'put your unique phrase here' );
    define( 'LOGGED_IN_KEY',    'put your unique phrase here' );
    define( 'NONCE_KEY',        'put your unique phrase here' );
    define( 'AUTH_SALT',        'put your unique phrase here' );
    define( 'SECURE_AUTH_SALT', 'put your unique phrase here' );
    define( 'LOGGED_IN_SALT',   'put your unique phrase here' );
    define( 'NONCE_SALT',       'put your unique phrase here' );
    
    /**#@-*/
    
    /**
     * WordPress Database Table prefix.
     *
     * You can have multiple installations in one database if you give each
     * a unique prefix. Only numbers, letters, and underscores please!
     */
    $table_prefix = 'wp_';
    
    /**
     * For developers: WordPress debugging mode.
     *
     * Change this to true to enable the display of notices during development.
     * It is strongly recommended that plugin and theme developers use WP_DEBUG
     * in their development environments.
     *
     * For information on other constants that can be used for debugging,
     * visit the Codex.
     *
     * @link https://codex.www.ads-software.com/Debugging_in_WordPress
     */
    define( 'WP_DEBUG', false );
    
    /* That's all, stop editing! Happy publishing. */
    
    /** Absolute path to the WordPress directory. */
    if ( ! defined( 'ABSPATH' ) ) {
    	define( 'ABSPATH', dirname( __FILE__ ) . '/' );
    }
    
    /** Sets up WordPress vars and included files. */
    require_once( ABSPATH . 'wp-settings.php' );
    Thread Starter ntms2020

    (@ntms2020)

    Hi @t-p

    I don’t have wp-config.php and The WordPress setup process didn’t create a wp-config.php file for me based on the information I provide !!!

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