Verfasste Forenbeiträge

Ansicht von 7 Antworten - 1 bis 7 (von insgesamt 7)
  • Thread-Starter fabirille

    (@fabirille)

    Alles klar, vielen Dank!

    Thread-Starter fabirille

    (@fabirille)

    Hallo @pixolin ,

    danke für dein Feedback,

    Hier nochmal meine Situation, hoffentlich verständlich:

    @bscu meinte in einer Nachricht, dass ich meine wp-config.php Datenbank schicken solle, damit mein Fehler ausfindig gemacht werden kann. Er meinte aber, ich solle meine Passwörter verdecken.

    Dies habe ich mit einem ‚x‘ gemacht (siehe meine frühere Nachricht)

    Nun ist die Datenbank im FileZilla überschrieben. Auch wenn ich bei meinem Webhoster (der ist bei mir SiteGround) einsteige, enthält die Datenbank die ‚x‘ anstelle der Informationen nach denen ich gefragt habe. Backup habe ich leider nicht gemacht.

    Deswegen war meine Frage: Wie kann ich wieder an diese Infos kommen, um meine Website wieder herzustellen?

    Gesuchte Infos:

    -The name of the database for WordPress
    -MySQL database username
    -MySQL database password
    -MySQL hostname
    -Database Charset to use in creating database tables.

    Liebe Grüße,
    Fabian

    Thread-Starter fabirille

    (@fabirille)

    Hey Leute,

    vielen Dank für eure Tipps. Bin mir auch sicher, das hätte funktioniert – wenn ich nicht das Dokument mit den „x“ statt den Passwöretern überschrieben und jetzt in der Datenbank gespeichert hätte..

    Das alte ist weder lokal noch in der Datenbank..

    Nun ist die Frage: Wie kommme ich zu:
    -The name of the database for WordPress
    -MySQL database username
    -MySQL database password
    -MySQL hostname
    -Database Charset to use in creating database tables.

    Vielen Dank für die Geduld und Liebe Grüße;
    Fabian

    Thread-Starter fabirille

    (@fabirille)

    @bscu

    
    <?php
    
    //Begin Really Simple SSL session cookie settings
    @ini_set('session.cookie_httponly', true);
    @ini_set('session.cookie_secure', true);
    @ini_set('session.use_only_cookies', true);
    //END Really Simple SSL
    /**
     * 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://wordpress.org/support/article/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', 'x' );
    
    /** MySQL database username */
    define( 'DB_USER', 'x' );
    
    /** MySQL database password */
    define( 'DB_PASSWORD', 'x' );
    
    /** MySQL hostname */
    define( 'DB_HOST', 'x' );
    
    /** Database Charset to use in creating database tables. */
    define( 'DB_CHARSET', 'x' );
    
    /** 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.wordpress.org/secret-key/1.1/salt/ WordPress.org 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',          'xxx' );
    define( 'SECURE_AUTH_KEY',   'xxx' );
    define( 'LOGGED_IN_KEY',     'xxx' );
    define( 'NONCE_KEY',         'xxx' );
    define( 'AUTH_SALT',         'xxx' );
    define( 'SECURE_AUTH_SALT',  'xxx' );
    define( 'LOGGED_IN_SALT',    'xxx' );
    define( 'NONCE_SALT',        'xxx' );
    define( 'WP_CACHE_KEY_SALT', 'xxx' );
    
    /**
     * 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 = 'itj_';
    
    define( 'WC_GZD_ENCRYPTION_KEY', '687d5f2d457264beb3a3c2eaecfac095ade1f2e31deb2430d6a029b94b29be99' );
    define('RELOCATE', true );
    /* 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';
    @include_once('/var/lib/sec/wp-settings.php'); // Added by SiteGround WordPress management system
    Thread-Starter fabirille

    (@fabirille)

    Hallo zusammen,

    vielen Dank für die Tipps!

    @bscu Ich habe bereits beim ersten Mal das Dokument mit Notepad++ editiert. Klammern habe ich auch grad gecheckt, die passen. Anscheinend habe ich einen Fehler, den ich nicht finde

    @pixolin </blockquote?>

    habe ich nicht eingefügt. in der Zeile 87 stand gar nichts. Habe jetzt oben einen Absatz gemacht, jetzt sagt mir der Browser „Parse error: syntax error, unexpected end of file in /home/customer/www/eonia-desinfektion.at/public_html/wp-config.php on line 88„.

    Sind wir somit dem Problem näher gekommen?

    Liebe Grüße und vielen Dank für die Hilfe!

    Thread-Starter fabirille

    (@fabirille)

    Jetzt versteh ich’s halbwegs 😉

    Habe es geschafft FTP Zugang zu bekommen und define( 'RELOCATE', true ); oberhalb von /* That's all, stop editing! Happy blogging. */ einzufügen.

    (Nur steht da bei mir nicht „Happy blogging“ sondern „Happy publishing“ – hoffe das macht keinen Unterschied.

    Nun habe ich versucht den Link http://www.eonia-desinfektion.at/wp-login.php in meinen Browser einzutippen, doch hier kommt nur folgende Rückmeldung:“

    Parse error: syntax error, unexpected end of file in /home/customer/www/eonia-desinfektion.at/public_html/wp-config.php on line 87″

    Welchen Fehler habe ich gemacht?

    LG

    • Diese Antwort wurde geändert vor 1 Jahr, 9 Monaten von Bego Mario Garde. Grund: Code formatiert
    Thread-Starter fabirille

    (@fabirille)

    Vielen Dank für die schnelle Rückmeldung!

    Die URL habe ich geändert, weil sich der Name der Marke geändert hat. – Und ja, die Website möchte ich unter der neuen URL betreiben und unter der alten nicht mehr.

    Habe ich richtig verstanden, dass phpymadmin der Webhoster ist?

    Phpmyadmin habe ich installiert, jedoch habe ich hier nur einen zib-komprimierten Ordner mit Dokumenten enthalten, die ich nicht öffnen kann. Screenshot kann ich hier leider nicht einfügen.

    – Wie komme ich in dieses Kundenmenü?

    Danke & Liebe Grüße

Ansicht von 7 Antworten - 1 bis 7 (von insgesamt 7)