Hi all, Ubuntu 12.04 desktop 64bit I have WordPress installed locally. It was working and can be started on browser running /localhost/wordpress/wp-admin/ For unknown reason now it only starts a blank page. Please help. TIA B.R. satimis
Hey there! Do you have error reporting set in your php.ini file, sounds like you have an error in the theme code or a broken plugin. If error reporting is turned off you will see just a white page instead of the php error message! If it shows the white page on the /wp-admin then possibly you have a php error in the themes functions.php or a plugin file which has an admin page. Have you changed any code in the site files?
No error msg displayed only a blank page. This only happened after I installed the plugin-blackbird. Before WP was working $ sudo find / -name functions.php [sudo] password for satimis: /usr/share/wordpress/wp-includes/functions.php /usr/share/wordpress/wp-content/themes/default-fr/functions.php /usr/share/wordpress/wp-content/themes/twentyeleven/functions.php /usr/share/wordpress/wp-content/themes/default/functions.php /usr/share/wordpress/wp-content/themes/twentyten/functions.php /usr/share/wordpress/wp-content/themes/blackbird/functions.php Code (markup): Which functions.php I have to check? Thanks Site files? This is a local installed WP. I haven't created any page yes. After installation I just played around on it learning its features. Regards satimis
Hi, well it sounds like the blackbird 'plugin' could be the culprit. Is it a plugin or theme or both? Try manually removing it by browsing to the /usr/share/wordpress/wp-content/themes/ and deleting the blackbird folder. Also, Find your php.ini file and turn on error reporting, that will get rid of the white screen and show any error messages which will help debug the problem!
$ sudo find / -name plugins | grep blackbird No output $ sudo find / -name plugins | grep black Also no out put. $ sudo find / -name plugins /home/satimis/.gconf/apps/compiz-1/plugins /home/satimis/.gconf/apps/gedit-2/plugins /usr/share/pyshared/twisted/plugins /usr/share/apt-xapian-index/plugins /usr/share/update-notifier/plugins /usr/share/bluefish/plugins /usr/share/gedit/plugins /usr/share/tinymce/www/plugins /usr/share/gwibber/plugins /usr/share/computerjanitor/plugins /usr/share/wordpress/wp-includes/js/tinymce/plugins /usr/share/wordpress/wp-includes/js/swfupload/plugins /usr/share/wordpress/wp-content/plugins /usr/share/checkbox/plugins /usr/share/hplip/ui4/plugins /usr/share/rhythmbox/plugins /usr/share/ubufox/plugins /usr/lib/telepathy/salut-0/plugins /usr/lib/telepathy/gabble-0/plugins /usr/lib/gnome-bluetooth/plugins /usr/lib/remmina/plugins /usr/lib/unity-2d/plugins /usr/lib/thunderbird-addons/plugins /usr/share/wordpress/wp-includes/js/swfupload/plugins /usr/share/wordpress/wp-content/plugins /usr/share/checkbox/plugins /usr/share/hplip/ui4/plugins /usr/share/rhythmbox/plugins /usr/share/ubufox/plugins /usr/lib/telepathy/salut-0/plugins /usr/lib/telepathy/gabble-0/plugins /usr/lib/gnome-bluetooth/plugins /usr/lib/remmina/plugins /usr/lib/unity-2d/plugins /usr/lib/thunderbird-addons/plugins /usr/lib/totem/plugins /usr/lib/brasero3-1/plugins /usr/lib/thunderbird/plugins /usr/lib/firefox/plugins /usr/lib/shotwell/plugins /usr/lib/gedit/plugins /usr/lib/firefox-addons/plugins /usr/lib/iceape/plugins /usr/lib/eog/plugins /usr/lib/x86_64-linux-gnu/qt4/plugins /usr/lib/x86_64-linux-gnu/krb5/plugins /usr/lib/nautilus-sendto/plugins /usr/lib/python2.7/dist-packages/twisted/plugins /usr/lib/mozilla/plugins /usr/lib/xulrunner/plugins /usr/lib/xulrunner-addons/plugins /usr/lib/rhythmbox/plugins /usr/lib/midbrowser/plugins /usr/lib/iceweasel/plugins Code (markup): I can't find blackbird plugin. $ sudo find / -name php.ini /etc/php5/apache2/php.ini /etc/php5/cgi/php.ini /etc/php5/cli/php.ini Code (markup): Is it /etc/php5/apache2/php.ini ? $ grep html_errors /etc/php5/apache2/php.ini ; html_errors html_errors = Off ; If html_errors is set On PHP produces clickable error messages that direct Code (markup): Thanks
Is it /etc/php5/apache2/php.ini ? Thats the one.. look for the error_reporting line. You said earlier it only started when you installed the plugin-blackbird, from the output of $ sudo find / -name functions.php it looks like this is a theme not a plugin. Delete /usr/share/wordpress/wp-content/themes/blackbird/ and see if that helps. Sorry I dont have a lot of exp with *nix commands, I use a mac but only use terminal rarely. Main thing is to get error reporting on in php.ini, that will help a lot! Hope this is some help, let me know how you get on. Mark.
Hi Mark, Performed following steps: $ sudo nano /etc/php5/apache2/php.ini Change; html_errors = On Restart Apache2 $ sudo service apache2 restart * Restarting web server apache2 ... waiting ...done. Code (markup): Still a blank page. No error message displayed. # ls /usr/share/wordpress/wp-content/themes/blackbird 404.php css index.php search.php archive.php editor-style.css js sidebar-footer.php attachment.php footer.php languages sidebar.php author.php front-page.php license.txt single.php blog.php functions loop.php style.css category.php functions.php page.php tag.php changelog.txt header.php screenshot.png comments.php images searchform.php Code (markup): # rm -r /usr/share/wordpress/wp-content/themes/blackbird On browser; /localhost/wordpress/wp-admin WP login page comes back -> login -> starting Dashboard Appearance -> Themes -> Install Themes [blackbird] -> search BlackBird[code] Install | Preview Blackbird is a Uniquely Designed, Professional, Responsive and beautiful ...... ...... Code (markup): Before installing this theme again. Is there any way checking the server here to find out any other possible cause making the installation fail? Thanks Regards satimis
Satimis, Reopen php.ini with nano, look for these lines: error_reporting = E_ALL display_errors = on make sure they are not commented out (have ; in front is commented out) So it was the blackbird theme causing the problem. Once you have edited php.ini and restarted apache, re-install the theme and see what happens. You should see some error output on the white screen. Mark.
Hi Mark, # grep error_reporting /etc/php5/apache2/php.ini ; error_reporting error_reporting = E_ALL & ~E_DEPRECATED ; Eval the expression with current error_reporting(). Set to true if you want ; error_reporting(0) around the eval(). Code (markup): # grep display_errors /etc/php5/apache2/php.ini ; display_errors display_errors = Off ; separately from display_errors. PHP's default behavior is to suppress those Code (markup): Change; display_errors = Off To; display_errors = On # service apache2 restart * Restarting web server apache2 ... waiting ...done. Code (markup): Login WP; On search blackbird following warning popup twice: An Unexpected HTTP Error occurred during the API request. Code (markup): Try again I have to try 3 times. then following page displayed requesting to fill in details Install themes - blackbird Hostname localhost FTP Username satimis FTP Password satimis_passwd Connection Type FTP -> Proceed Code (markup): warning: Failed to connect to FTP Server localhost:21 (remark: $ hostname localhost $ hostname -f blog.preciseserver.com I used "localhost") It seems FTP server not running/not installed Install FTP server: $ sudo apt-get install vsftpd $ sudo nano /etc/vsftpd.conf uncomment following lines #local_enable=YES #write_enable=YES #chroot_local_user=YES (There are 2 lines with exact wording. I only uncomment one line) Also change; anonymous_enable=YES to; anonymous_enable=NO $ sudo service vsftpd restart vsftpd stop/waiting vsftpd start/running, process 11796 Code (markup): Installing Theme: BlackBird 1.1.4 Downloading install package from http://wordpress.org/extend/themes/download/blackbird.1.1.4.zip… Unpacking the package… Could not create directory. /usr/share/wordpress/wp-content # ls -ald /usr/share/wordpress/wp-content drwxrwx--- 6 www-data www-data 4096 Jan 24 23:04 /usr/share/wordpress/wp-content Code (markup): satimis doesn't have authentication power? He is administrator? root does have. Tried again using root. Still failed; Warning: Username/Password incorrect for root Why? Do I need to perform following steps on FTP server? $ sudo touch /etc/vsftp.chroot_list $ sudo useradd ftp user1/user2 etc. ? Edit === Could I download blackbird on; http://wordpress.org/extend/themes/download/blackbird.1.1.4.zip and manually install it on /usr/share/wordpress/wp-content/blackbird/ ? B.R. satimis
Hi Satimis, Looks like we are getting somewhere! seems the problem stems from the fact that its running locally and the lamp stack isnt fully configured yet. Try downloading the theme manually and unziping into the themes folder. See how that works out? Just post another message to tell me how it goes.
I wonder whether there is something wrong on the LAMP server here? Performed following steps; Download blackbird version 1.1.4 on; http://wordpress.org/extend/themes/blackbird # ls -ald /usr/share/wordpress/wp-content/themes/twentyeleven drwxr-xr-x 7 www-data www-data 4096 Jan 23 17:19 /usr/share/wordpress/wp-content (above confirms permission = www-data www-data) unzip blackbird.1.1.4.zip # mv /home/satimis/blackbird /usr/share/wordpress/wp-content/themes/ # chown -R www-data:www-data /usr/share/wordpress/wp-content/themes/blackbird # ls -ald /usr/share/wordpress/wp-content/themes/blackbird drwxr-xr-x 7 www-data www-data 4096 Jan 2 22:24 /usr/share/wordpress/wp-content/themes/blackbird Code (markup): login WP Appearance -> Themes After playing around a while the screen became blank. Then /localhost/wordpress/wp-admin popup only a blank screen without Login page but without warning message displayed. # rm -r /usr/share/wordpress/wp-content/themes/blackbird Login page comes back. I'll install a new WP on a VM of Oracle VirtualBox to check what will happen. I followed; 1) How To Install WordPress in Ubuntu Server 12.04 LTS http://ubuntuserverguide.com/2012/05/how-to-install-latest-wordpress-in-ubuntu-server-12-04-lts.html and 2) Ubuntu Server Guide http://ubuntuserverguide.com/2012/05/how-to-install-latest-wordpress-in-ubuntu-server-12-04-lts.html to install WP here. I hesitate whether I made a mistake on Step 4 of 2) above; $ sudo bash /usr/share/doc/wordpress/examples/setup-mysql -n wordpress_preciseserver blog.preciseserver.com In order to ping blog.preciseserver.com I edited; /etc/hosts 127.0.0.1 blog.preciseserver.com localhost 127.0.1.1 localhost.localdomain localhost # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters Code (markup): on /etc/hostname localhost Code (markup): therefore; $ hostname localhost $ hostname -f blog.preciseserver.com I'll follow another document; WordPress installation https://help.ubuntu.com/community/WordPress and ApacheMySQLPHP https://help.ubuntu.com/community/ApacheMySQLPHP to install WP and LAMP server on Ubuntu 12.04 desktop 64bit Any comment before start? TIA satimis
Hi all, Made another round installing Wordpress on a VM also without luck. host Ubuntu 12.04 desktop 64bit VM (guest) Ubuntu 12.04 desktop 64bit vituralizer Oracle VirtualBox Performe following steps; Documents to follow; 1) ApacheMySQLPHP https://help.ubuntu.com/community/ApacheMySQLPHP 2) WordPress installation https://help.ubuntu.com/community/WordPress (This is a local installation without pointing to mydomain on Godaddy) Installation went through without much problem. $ sudo apt-get install tasksel $ sudo tasksel install lamp-server 2) WordPress installation https://help.ubuntu.com/community/WordPress $ sudo bash /usr/share/doc/wordpress/examples/setup-mysql -n wordpress localhost PING localhost (127.0.0.1) 56(84) bytes of data. 64 bytes from localhost (127.0.0.1): icmp_req=1 ttl=64 time=0.030 ms --- localhost ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.030/0.030/0.030/0.000 ms /etc/wordpress/config-localhost.php written Trying to create upload directory: /srv/www/wp-uploads/localhost Setting up permissions Goto http://localhost to setup Wordpress Code (markup): $ sudo bash /usr/share/doc/wordpress/examples/setup-mysql -n wordpress_mydomain_org wordpress.mydomain.org ping: unknown host wordpress.mydomain.org Code (markup): $ sudo bash /usr/share/doc/wordpress/examples/setup-mysql -n localhost localhost PING localhost (127.0.0.1) 56(84) bytes of data. 64 bytes from localhost (127.0.0.1): icmp_req=1 ttl=64 time=0.026 ms --- localhost ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.026/0.026/0.026/0.000 ms WARNING: /etc/wordpress/config-localhost.php exists! Code (markup): $ sudo /etc/init.d/apache2 restart * Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ...done. Code (markup): On browser http://localhost/wordpress/wp-admin/install.php Site Title Testing Username admin Password mypassword Your E-mail Privacy (check)Allow my site to appear in search engines like Google and Technorati. --> Install WordPress Logout WP $ sudo chown -R www-data /usr/share/wordpress Relogin WP -> Update You have the latest version of WordPress. -> update plugin select all -> update theme select all Appearance -> Themes -> Install Theme blackbird -> Install Downloading install package from http://wordpress.org/extend/themes/download/blackbird.1.1.4.zip… Unpacking the package… Installing the theme… Successfully installed the theme BlackBird 1.1.4. Code (markup): -> Activate Only a blank page displayed -> backwards -> preview also a blank page -> Logout Also only a blank page displayed On browser; http://localhost/wordpress/wp-admin/ Only a blank page displayed On terminal: ls -ald /usr/share/wordpress/wp-content/themes/blackbird drwxr-xr-x 7 www-data www-data 4096 Jan 25 17:07 /usr/share/wordpress/wp-content/themes/blackbird Code (markup): # ls -al /usr/share/wordpress/wp-content/themes/blackbird/ total 304 drwxr-xr-x 7 www-data www-data 4096 Jan 25 17:07 . drwxrwx--- 7 www-data www-data 4096 Jan 25 17:07 .. -rw-r--r-- 1 www-data www-data 2127 Jan 25 17:07 404.php -rw-r--r-- 1 www-data www-data 2283 Jan 25 17:07 archive.php -rw-r--r-- 1 www-data www-data 5153 Jan 25 17:07 attachment.php -rw-r--r-- 1 www-data www-data 3527 Jan 25 17:07 author.php -rw-r--r-- 1 www-data www-data 4705 Jan 25 17:07 blog.php -rw-r--r-- 1 www-data www-data 2138 Jan 25 17:07 category.php -rw-r--r-- 1 www-data www-data 505 Jan 25 17:07 changelog.txt -rw-r--r-- 1 www-data www-data 1699 Jan 25 17:07 comments.php drwxr-xr-x 4 www-data www-data 4096 Jan 25 17:07 css -rw-r--r-- 1 www-data www-data 5632 Jan 25 17:07 editor-style.css -rw-r--r-- 1 www-data www-data 1393 Jan 25 17:07 footer.php -rw-r--r-- 1 www-data www-data 8512 Jan 25 17:07 front-page.php drwxr-xr-x 5 www-data www-data 4096 Jan 25 17:07 functions -rw-r--r-- 1 www-data www-data 3989 Jan 25 17:07 functions.php -rw-r--r-- 1 www-data www-data 3889 Jan 25 17:07 header.php drwxr-xr-x 3 www-data www-data 4096 Jan 25 17:07 images -rw-r--r-- 1 www-data www-data 1504 Jan 25 17:07 index.php drwxr-xr-x 2 www-data www-data 4096 Jan 25 17:07 js drwxr-xr-x 2 www-data www-data 4096 Jan 25 17:07 languages -rw-r--r-- 1 www-data www-data 35155 Jan 25 17:07 license.txt -rw-r--r-- 1 www-data www-data 2778 Jan 25 17:07 loop.php -rw-r--r-- 1 www-data www-data 1338 Jan 25 17:07 page.php -rw-r--r-- 1 www-data www-data 77367 Jan 25 17:07 screenshot.png -rw-r--r-- 1 www-data www-data 399 Jan 25 17:07 searchform.php -rw-r--r-- 1 www-data www-data 2217 Jan 25 17:07 search.php -rw-r--r-- 1 www-data www-data 3175 Jan 25 17:07 sidebar-footer.php -rw-r--r-- 1 www-data www-data 728 Jan 25 17:07 sidebar.php -rw-r--r-- 1 www-data www-data 4590 Jan 25 17:07 single.php -rw-r--r-- 1 www-data www-data 52503 Jan 25 17:07 style.css -rw-r--r-- 1 www-data www-data 1522 Jan 25 17:07 tag.php Code (markup): Advice would be appreciated. TIA Edit-1: ===== $ sudo nano /etc/apache2/apache2.conf adding: ServerName localhost $ sudo service apache2 restart * Restarting web server apache2 ... waiting ...done. Code (markup): Now no complaint. But WP is still a blank page Edit-2 ====== Blackbird has problem. Deleted it to login WP Installed and activated following themes without problem: responsive utility