Verfasste Forenbeiträge

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

    (@bremen07)

    Danke sehr an alle Helfenden. Habe wieder was gelernt.

    Thread-Starter bremen07

    (@bremen07)

    So, jetzt funktioniert die Site. Seltsam.

    Der Fehler bei den Anführungszeichen war ja bei PHP 7.4 auch schon vorhanden. Nur PHP 8 stört sich daran. Woran kann das denn liegen?

    Thread-Starter bremen07

    (@bremen07)

    Danke. Habe ich geändert. Funktioniert nach PHP-Umstellung wieder nicht.

    Neues Log:

    [21-Feb-2023 17:11:56 UTC] PHP Warning: Use of undefined constant minor - assumed 'minor' (this will throw an Error in a future version of PHP) in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php on line 96
    [21-Feb-2023 17:11:56 UTC] PHP Notice: Constant WP_MEMORY_LIMIT already defined in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php on line 98
    [21-Feb-2023 17:12:05 UTC] PHP Warning: Use of undefined constant minor - assumed 'minor' (this will throw an Error in a future version of PHP) in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php on line 96
    [21-Feb-2023 17:12:05 UTC] PHP Notice: Constant WP_MEMORY_LIMIT already defined in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php on line 98
    [21-Feb-2023 17:12:07 UTC] PHP Warning: Use of undefined constant minor - assumed 'minor' (this will throw an Error in a future version of PHP) in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php on line 96
    [21-Feb-2023 17:12:07 UTC] PHP Notice: Constant WP_MEMORY_LIMIT already defined in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php on line 98
    [21-Feb-2023 17:12:08 UTC] PHP Warning: Use of undefined constant minor - assumed 'minor' (this will throw an Error in a future version of PHP) in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php on line 96
    [21-Feb-2023 17:12:08 UTC] PHP Notice: Constant WP_MEMORY_LIMIT already defined in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php on line 98
    [21-Feb-2023 17:12:50 UTC] PHP Fatal error: Uncaught Error: Undefined constant "minor" in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php:96
    Stack trace: 0 /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-load.php(50): require_once() 1 /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-cron.php(46): require_once('…') 2 {main} thrown in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php on line 96
    [21-Feb-2023 17:12:50 UTC] PHP Fatal error: Uncaught Error: Undefined constant "minor" in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php:96
    Stack trace: 0 /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-load.php(50): require_once() 1 /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-blog-header.php(13): require_once('…') 2 /mnt/web313/e3/46/58791746/htdocs/WordPress_01/index.php(17): require('…') 3 {main} thrown in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php on line 96
    [21-Feb-2023 17:12:55 UTC] PHP Fatal error: Uncaught Error: Undefined constant "minor" in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php:96
    Stack trace: 0 /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-load.php(50): require_once() 1 /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-admin/admin-ajax.php(22): require_once('…') 2 {main} thrown in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php on line 96
    [21-Feb-2023 17:13:05 UTC] PHP Warning: Use of undefined constant minor - assumed 'minor' (this will throw an Error in a future version of PHP) in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php on line 96
    [21-Feb-2023 17:13:05 UTC] PHP Notice: Constant WP_MEMORY_LIMIT already defined in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php on line 98
    • Diese Antwort wurde geändert vor 1 Jahr, 1 Monat von bremen07.
    Thread-Starter bremen07

    (@bremen07)

    Bei der Zeile 96 der wp-config steht:

    define( „WP_AUTO_UPDATE_CORE“, minor );

    Hat das mit den Anführungszeichen zu tun?

    Thread-Starter bremen07

    (@bremen07)

    Habe auf PHP 8 umgestellt. Dann war die Site nicht aufrufbar, dann habe ich wieder auf 7.4 zurückgestellt.

    Hier kommt das debug.log:

    [21-Feb-2023 17:11:56 UTC] PHP Warning: Use of undefined constant minor - assumed 'minor' (this will throw an Error in a future version of PHP) in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php on line 96
    [21-Feb-2023 17:11:56 UTC] PHP Notice: Constant WP_MEMORY_LIMIT already defined in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php on line 98
    [21-Feb-2023 17:12:05 UTC] PHP Warning: Use of undefined constant minor - assumed 'minor' (this will throw an Error in a future version of PHP) in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php on line 96
    [21-Feb-2023 17:12:05 UTC] PHP Notice: Constant WP_MEMORY_LIMIT already defined in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php on line 98
    [21-Feb-2023 17:12:07 UTC] PHP Warning: Use of undefined constant minor - assumed 'minor' (this will throw an Error in a future version of PHP) in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php on line 96
    [21-Feb-2023 17:12:07 UTC] PHP Notice: Constant WP_MEMORY_LIMIT already defined in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php on line 98
    [21-Feb-2023 17:12:08 UTC] PHP Warning: Use of undefined constant minor - assumed 'minor' (this will throw an Error in a future version of PHP) in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php on line 96
    [21-Feb-2023 17:12:08 UTC] PHP Notice: Constant WP_MEMORY_LIMIT already defined in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php on line 98
    [21-Feb-2023 17:12:50 UTC] PHP Fatal error: Uncaught Error: Undefined constant "minor" in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php:96
    Stack trace: 0 /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-load.php(50): require_once() 1 /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-cron.php(46): require_once('…') 2 {main} thrown in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php on line 96
    [21-Feb-2023 17:12:50 UTC] PHP Fatal error: Uncaught Error: Undefined constant "minor" in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php:96
    Stack trace: 0 /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-load.php(50): require_once() 1 /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-blog-header.php(13): require_once('…') 2 /mnt/web313/e3/46/58791746/htdocs/WordPress_01/index.php(17): require('…') 3 {main} thrown in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php on line 96
    [21-Feb-2023 17:12:55 UTC] PHP Fatal error: Uncaught Error: Undefined constant "minor" in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php:96
    Stack trace: 0 /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-load.php(50): require_once() 1 /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-admin/admin-ajax.php(22): require_once('…') 2 {main} thrown in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php on line 96
    [21-Feb-2023 17:13:05 UTC] PHP Warning: Use of undefined constant minor - assumed 'minor' (this will throw an Error in a future version of PHP) in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php on line 96
    [21-Feb-2023 17:13:05 UTC] PHP Notice: Constant WP_MEMORY_LIMIT already defined in /mnt/web313/e3/46/58791746/htdocs/WordPress_01/wp-config.php on line 98
    Thread-Starter bremen07

    (@bremen07)

    <?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.wordpress.org/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‘, ‚‘);
    
    /** MySQL database username */
    define(‚DB_USER‘, ‚…‘);
    
    /** MySQL database password */
    define(‚DB_PASSWORD‘, ‚…‘);
    
    /** MySQL hostname */
    define(‚DB_HOST‘, ‚rdbms.strato.de‘);
    
    /** 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.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‘, ‚‘); 
    define(‚SECURE_AUTH_KEY‘, ‚′);
    define(‚LOGGED_IN_KEY‘, ‚‘); 
    define(‚NONCE_KEY‘, ‚‘);
    define(‚AUTH_SALT‘, ‚‘);
    define(‚SECURE_AUTH_SALT‘, ‚‘);
    define(‚LOGGED_IN_SALT‘, ‚‘); 
    define(‚NONCE_SALT‘, ‚‘);
    /*#@-/
    /**
    
    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.wordpress.org/Debugging_in_WordPress
    */
    define(‚WP_DEBUG‘, false);
    /* That’s all, stop editing! Happy blogging. */
    
    /** 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‘);
    
    define( ‚WP_ALLOW_MULTISITE‘, true );
    
    define (‚FS_METHOD‘, ‚direct‘);
    
    define( „WP_AUTO_UPDATE_CORE“, minor );
    
    define(‚WP_MEMORY_LIMIT‘, ‚200M‘);
    • Diese Antwort wurde geändert vor 1 Jahr, 1 Monat von Hans-Gerd Gerhards. Grund: Bitte den Code immer als "Code" formatieren
    Thread-Starter bremen07

    (@bremen07)

    Danke für den Tipp. Gerade läuft noch ein Backup. Aber gleich eine Frage. Ich habe vorhin zu meinem Thema einen Screenshot vom Zustand der Website hochladen wollen. Dieser kann nicht an. Was mache ich falsch? Geht png nicht?

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