sol9001
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Theme Tesseract] Increase Header Size to same as footerHi Bojan,
Deeply impressed! I downloaded the plugin and copied your code and voila it worked a dream.
Much kudos to you 🙂
Cheers & Many thanks
PeterForum: Themes and Templates
In reply to: [Theme Tesseract] Increase Header Size to same as footerHi Bojan,
I thought it was on WordPress.org but looking again it isn’t. It is a free theme developed by Tyler Moore and others here have been discussing it before. Site is still in dev and I have not used WordPress or css before so very new. Site is http://tinyurl.com/kcl-gmm. I just think if the header was larger it would be more balanced. Loving WordPress though and put this up very quickly. I’ve just removed the downloads links as not available yet.
Cheers
PeterForum: Fixing WordPress
In reply to: Cannot connect to localhostMany thanks – I think there must be something specific to the server as I switched tack and installed a fresh install manually of WordPress on a different server and voila once I had sorted out the webserver I was able to connect to localhost and run the wp-admin/install.php so finally I have a Dashboard to work with!
Have not been able to find out what was wrong with the original server but if I do will update in case it is of use to anyone else.
Much kudos for helping me out – kind regards Pete
Forum: Fixing WordPress
In reply to: Cannot connect to localhostPreviously I had installed wordpress via yum but then manually installed but I had changed the wp-config.php in all locations. I have just yum remove wordpress and re-edited the config files but I am still getting the same error which is getting to be very annoying.
ThanksForum: Fixing WordPress
In reply to: Cannot connect to localhostJust found this in /var/log/messages
kernel: type=1400 audit(1431263595.217:2050): avc: denied { read } for pid=12026 comm=”httpd” name=”mysql” dev=dm-0 ino=2359429 scontext=unconfined_u:system_r:httpd_t:s0 tcontext=system_u:object_r:mysqld_db_t:s0 tclass=lnk_filebut I do not what it means but it happens every time I try to comnect to the install.php
Forum: Fixing WordPress
In reply to: Cannot connect to localhostI manually installed it at /var/www/html/wordpress and configured /etc/wordpress/wp-config.php. I chown -R apache.apache on the wordpress folder I edited the wordpress.conf in /etc/httpd/conf.d with the alias /wordpress /var/www/html/wordpress
and I added localhost to the allowed hosts but it has made no difference – I still get the same error.
<Directory /var/www/html/wordpress>
AllowOverride Options
<IfModule mod_authz_core.c>
# Apache 2.4
Require local
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
Deny from All
Allow from localhost 127.0.0.1
Allow from ::1
</IfModule>
</Directory><Directory /var/www/html/wordpress/wp-content/plugins/akismet>
<FilesMatch “\.(php|txt)$”>
Order Deny,Allow
Deny from all
</FilesMatch>
</Directory>Forum: Fixing WordPress
In reply to: Cannot connect to localhostYes – I just created a new database and user and edited the wp-config.php file to reflect the changes but still get the same error message. I checked I could login as the user on the mysql command line with no problem. Now I think it is a mysql problem but not sure where or how to debug. I do not have any anonymous users in mysql user tables – any thoughts?
Many thanksForum: Fixing WordPress
In reply to: Cannot connect to localhostYes –
mysql> select user, host from mysql.user where user=’wordpressuser’;
+—————+————————-+
| user | host |
+—————+————————-+
| wordpressuser | localhost |Also did GRANT ALL PRIVILEGES ON *.* TO ‘wordpressuser’@’localhost’; and flush privileges; but when I do show grants; I only see the grants for root@localhost
Also
[root@hostname wordpress]# mysql -u wordpressuser -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 26
Server version: 5.1.73 Source distributionCopyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the current input statement.
mysql>
Thanks again Pete
Forum: Fixing WordPress
In reply to: Cannot connect to localhostThanks for replying I get the following generated
Error establishing a database connectionThis either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. This could mean your host’s database server is down.
Are you sure you have the correct username and password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running?I can login as the dbuser on the cmd line using mysql -u wp-user -p and can see the empty database. I can connect via simple php webform using mysql_connect(‘127.0.90.1’, ‘wp-user’, ‘password’) but not if I change host to ‘localhost’ The wp-user has permissions to connect from ‘localhost’
/etc/hosts has 127.0.0.1 localhost entry
Really appreciate your help as very confused – regards Pete