Hi,
habe soeben eine frische lokale Contao-Installation auf MAMP aufgesetzt. Hatte keine Probleme während der Installation und konnte auch das Backend erreichen, konfigurieren und mein Theme inkl. Layouts, die Seitenstruktur, Artikel usw. befüllen.
Möchte ich aber meine Seite im Frontend aufrufen (über den "Vorschau" Link im Backend) oder durch direkt Eingabe von http://localhost:8888/ erhalte ich eine Fehlermeldung im Browser:
Bildschirmfoto 2019-03-08 um 23.26.05.png
Habe die logs innerhalb von meinem htdocs Order durchgeschaut und diese Fehlermeldungen gefunden:
mysql_error_log.err:
Code:
2019-03-08T22:19:33.6NZ mysqld_safe Logging to '/Applications/MAMP/logs/mysql_error_log.err'.
2019-03-08T22:19:33.6NZ mysqld_safe Starting mysqld daemon with databases from /Applications/MAMP/db/mysql57
2019-03-08T22:19:34.177685Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2019-03-08T22:19:34.177947Z 0 [Note] --secure-file-priv is set to NULL. Operations related to importing and exporting data are disabled
2019-03-08T22:19:34.178000Z 0 [Note] /Applications/MAMP/Library/bin/mysqld (mysqld 5.7.25) starting as process 11919 ...
2019-03-08T22:19:34.181126Z 0 [Warning] Setting lower_case_table_names=2 because file system for /Applications/MAMP/db/mysql57/ is case insensitive
2019-03-08T22:19:34.182807Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2019-03-08T22:19:34.182835Z 0 [Note] InnoDB: Uses event mutexes
2019-03-08T22:19:34.182846Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2019-03-08T22:19:34.182856Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2019-03-08T22:19:34.183178Z 0 [Note] InnoDB: Number of pools: 1
2019-03-08T22:19:34.183305Z 0 [Note] InnoDB: Using CPU crc32 instructions
2019-03-08T22:19:34.184725Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2019-03-08T22:19:34.194160Z 0 [Note] InnoDB: Completed initialization of buffer pool
2019-03-08T22:19:34.210396Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2019-03-08T22:19:34.254213Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2019-03-08T22:19:34.254448Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2019-03-08T22:19:34.265244Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2019-03-08T22:19:34.266213Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2019-03-08T22:19:34.266242Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2019-03-08T22:19:34.266489Z 0 [Note] InnoDB: Waiting for purge to start
2019-03-08T22:19:34.319240Z 0 [Note] InnoDB: 5.7.25 started; log sequence number 340527355
2019-03-08T22:19:34.319678Z 0 [Note] InnoDB: Loading buffer pool(s) from /Applications/MAMP/db/mysql57/ib_buffer_pool
2019-03-08T22:19:34.319893Z 0 [Note] Plugin 'FEDERATED' is disabled.
2019-03-08T22:19:34.323873Z 0 [Note] InnoDB: Buffer pool(s) load completed at 190308 23:19:34
2019-03-08T22:19:34.326935Z 0 [Warning] Failed to set up SSL because of the following SSL library error: SSL context is not usable without certificate and private key
2019-03-08T22:19:34.326976Z 0 [Note] Server hostname (bind-address): '*'; port: 8889
2019-03-08T22:19:34.327352Z 0 [Note] IPv6 is available.
2019-03-08T22:19:34.327393Z 0 [Note] - '::' resolves to '::';
2019-03-08T22:19:34.327478Z 0 [Note] Server socket created on IP: '::'.
2019-03-08T22:19:34.344588Z 0 [Note] Event Scheduler: Loaded 0 events
2019-03-08T22:19:34.344733Z 0 [Note] /Applications/MAMP/Library/bin/mysqld: ready for connections.
Version: '5.7.25' socket: '/Applications/MAMP/tmp/mysql/mysql.sock' port: 8889 MySQL Community Server (GPL)
2019-03-08T22:19:49.453368Z 2 [ERROR] InnoDB: Table `mysql`.`innodb_table_stats` not found.
2019-03-08T22:19:49.453410Z 2 [ERROR] InnoDB: Fetch of persistent statistics requested for table `noller`.`tl_page` but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structure. Using transient stats instead.
2019-03-08T22:19:49.543432Z 2 [ERROR] InnoDB: Table `mysql`.`innodb_table_stats` not found.
2019-03-08T22:19:49.543464Z 2 [ERROR] InnoDB: Fetch of persistent statistics requested for table `noller`.`tl_cron` but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structure. Using transient stats instead.
2019-03-08T22:19:49.577921Z 2 [ERROR] InnoDB: Table `mysql`.`innodb_table_stats` not found.
2019-03-08T22:19:49.577952Z 2 [ERROR] InnoDB: Fetch of persistent statistics requested for table `noller`.`tl_nc_gateway` but the required system tables mysql.innodb_table_stats and mysql.innodb_index_stats are not present or have unexpected structure. Using transient stats instead.
apache_error.log:
Code:
[Fri Mar 08 23:19:34 2019] [notice] Digest: generating secret for digest authentication ...
[Fri Mar 08 23:19:34 2019] [notice] Digest: done
[Fri Mar 08 23:19:34 2019] [notice] FastCGI: process manager initialized (pid 11924)
[Fri Mar 08 23:19:34 2019] [notice] Apache/2.2.34 (Unix) mod_wsgi/3.5 Python/2.7.13 PHP/7.3.1 mod_ssl/2.2.34 OpenSSL/1.0.2o DAV/2 mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_perl/2.0.9 Perl/v5.24.0 configured -- resuming normal operations
Hat jemand eine Idee?
Mir ist auch aufgefallen, dass mein Browser automatisch auf https://localhost weiterleitet, auch wenn ich nur http://localhost:8888/. Kann es damit zusammenhängen? Ich erhalte hier auch eine andere Fehlermeldung im Browser:
Bildschirmfoto 2019-03-08 um 23.31.23.png
Lesezeichen