Hallo Ihr WP-Profis,
Ich bin leider keiner und habe irgendwie ein index.php-Problem - vllt. auch eines mit meiner .htaccess.
Derzeit lässt sich mein noch sehr neues Blog nicht erreichen unter seiner Domain http://www.der-schwarze-planet.de
Fehlermeldung ist kryptisch: Fatal error: Call to undefined function add_meta_box() in /www/htdocs/w00c584f/wordpress/wp-admin/includes/dashboard.php on line 130
Jetzt hab ich gar keine Datei namens dashboard.php (jedenfalls nicht im includes-Ordner). Aber in der index.php steht öfters was von dashboard:
- [COLOR=#000000]<?php[/COLOR]
- [COLOR=#009933]/**[/COLOR]
- [COLOR=#009933] * Dashboard Administration Panel[/COLOR]
- [COLOR=#009933] *[/COLOR]
- [COLOR=#009933] * @package WordPress[/COLOR]
- [COLOR=#009933] * @subpackage Administration[/COLOR]
- [COLOR=#009933] */[/COLOR]
- [COLOR=#009933]/** Load WordPress Bootstrap */[/COLOR]
- [COLOR=#B1B100]require[/COLOR][COLOR=#009900]([/COLOR][COLOR=#0000FF]'./wordpress/wp-blog-header.php'[/COLOR][COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR]
- [COLOR=#009933]/** Load WordPress dashboard API */[/COLOR]
- [COLOR=#B1B100]require_once[/COLOR][COLOR=#009900]([/COLOR]ABSPATH [COLOR=#339933].[/COLOR] [COLOR=#0000FF]'wp-admin/includes/dashboard.php'[/COLOR][COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR]
- wp_dashboard_setup[COLOR=#009900]([/COLOR][COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR]
- wp_enqueue_script[COLOR=#009900]([/COLOR] [COLOR=#0000FF]'dashboard'[/COLOR] [COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR]
- wp_enqueue_script[COLOR=#009900]([/COLOR] [COLOR=#0000FF]'plugin-install'[/COLOR] [COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR]
- wp_enqueue_script[COLOR=#009900]([/COLOR] [COLOR=#0000FF]'media-upload'[/COLOR] [COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR]
- wp_admin_css[COLOR=#009900]([/COLOR] [COLOR=#0000FF]'dashboard'[/COLOR] [COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR]
- wp_admin_css[COLOR=#009900]([/COLOR] [COLOR=#0000FF]'plugin-install'[/COLOR] [COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR]
- add_thickbox[COLOR=#009900]([/COLOR][COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR]
- [COLOR=#000088]$title[/COLOR] [COLOR=#339933]=[/COLOR] __[COLOR=#009900]([/COLOR][COLOR=#0000FF]'Dashboard'[/COLOR][COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR]
- [COLOR=#000088]$parent_file[/COLOR] [COLOR=#339933]=[/COLOR] [COLOR=#0000FF]'index.php'[/COLOR][COLOR=#339933];[/COLOR]
- [COLOR=#B1B100]require_once[/COLOR][COLOR=#009900]([/COLOR][COLOR=#0000FF]'admin-header.php'[/COLOR][COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR]
- [COLOR=#000088]$today[/COLOR] [COLOR=#339933]=[/COLOR] current_time[COLOR=#009900]([/COLOR][COLOR=#0000FF]'mysql'[/COLOR][COLOR=#339933],[/COLOR] [COLOR=#CC66CC]1[/COLOR][COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR]
- [COLOR=#000000]?>[/COLOR]
- <div class="wrap">
- [COLOR=#000000]<?php[/COLOR] screen_icon[COLOR=#009900]([/COLOR][COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR] [COLOR=#000000]?>[/COLOR]
- <h2>[COLOR=#000000]<?php[/COLOR] [COLOR=#B1B100]echo[/COLOR] esc_html[COLOR=#009900]([/COLOR] [COLOR=#000088]$title[/COLOR] [COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR] [COLOR=#000000]?>[/COLOR]</h2>
- <div id="dashboard-widgets-wrap">
- [COLOR=#000000]<?php[/COLOR] wp_dashboard[COLOR=#009900]([/COLOR][COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR] [COLOR=#000000]?>[/COLOR]
- <div class="clear"></div>
- </div><!-- dashboard-widgets-wrap -->
- </div><!-- wrap -->
- [COLOR=#000000]<?php[/COLOR] [COLOR=#B1B100]require[/COLOR][COLOR=#009900]([/COLOR]ABSPATH [COLOR=#339933].[/COLOR] [COLOR=#0000FF]'wp-admin/admin-footer.php'[/COLOR][COLOR=#009900])[/COLOR][COLOR=#339933];[/COLOR] [COLOR=#000000]?>[/COLOR]
Was kann das sein? Was muss ich tun?
Außerdem hab ich noch ein 2. Problem:
Meine Blogadresse ist http://www.der-schwarze-planet.de. Meine Wordpress-Adresse ist http://www.der-schwarze-planet.de/wordpress . Mein Blog wird bei all-inkl.com gehostet, verfügt über eine .htaccess (in der ich auch schon Eintragungen vorgenommen hab), die aber im Ordner blogadresse/usage liegt, nicht im Wordpress-Ordner. Daher kann Wordpress scheinbar auch nicht auf die Datei zugreifen (z.B. bei Einstellng der Permalinks).
Ich hab versucht gemäß der Anleitung die htaccess ins Root zu verschieben (zur Blogadresse). Aber wenn sie dort liegt, kann ich nicht mehr auf meinen Blog noch auf Wordpress (403 forbidden) zugreifen. Woran liegt das? :confused: Alles ganz schön kompli...
Ich danke Euch für schnelle Hilfe!