Hello,
I've set up a wordpress blog in the subfolder of the root directory of a website. In its default, freshly installed state everything appears to be fine, however Ive encountered a number of problems when attempting to customise the blog that seem to indicate that Ive either encountered a bug or more likely misconfiguration something and thus Id appreciate some advice.
The subfolder Im using is /blog
The symptoms of my problem:
- After uploading the WP-OpenID plugin to the plugin directory I attempted to enable it. As WordPress attempted to reload the dashboard in response to enabling the plugin I was simply presented with a blank screen. Attempting to view any page of the blog also resulted in a completely blank page being displayed. The only way to resolve this problem was to delete WP-OpenID from the plugin directory, at which point the blog began displaying normally.
- I wanted to enable the Register Plus plugin, however after enabling it and going to the Register Plus settings page Im only presented with the first few configuration options, the remainder of the configuration fields which should be there simply arent displayed.
- Ive installed Neil Merton's Web2.0* theme to /blog/wp-content/themes/web2.0/
that is all the *.php etc files are /blog/wp-content/themes/web2.0/ thus its not nesting.
However when I enable this theme via Dashboard > Desgin > Themes and then view the blog no colours etc are applied e.g. no body background or header colour as you can see here.In addition to style.css this theme uses a style.php file. Other themes that dont use style.php but simply rely upon a style.css display correctly.
In checking the Apache error logs I see the following:
[client my_server's_ip_address] PHP Warning: main() [<a href='function.main'>function.main</a>]: Unable to access /var/www/vhosts/volunteerabroad.ie/httpdocs/blog/wp-content/themes/web2.0../../../../wp-[config.php in /var/www/vhosts/volunteerabroad.ie/httpdocs/blog/wp-content/themes/web2.0/style.php on line 2, referer: http://www.volunteerabroad.ie/blog/ [client my_server's_ip_address] PHP Warning: main(/var/www/vhosts/volunteerabroad.ie/httpdocs/blog/wp-content/themes/web2.0../../../../wp-config.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in /var/www/vhosts/volunteerabroad.ie/httpdocs/blog/wp-content/themes/web2.0/style.php on line 2, referer: http://www.volunteerabroad.ie/blog/ [client my_server's_ip_address] PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required '/var/www/vhosts/volunteerabroad.ie/httpdocs/blog/wp-content/themes/web2.0../../../../wp-config.php' (include_path='.:') in /var/www/vhosts/volunteerabroad.ie/httpdocs/blog/wp-content/themes/web2.0/style.php on line 2, referer: http://www.volunteerabroad.ie/blog/
I could just not use these plugins and theme, however Ive successfully used all on my personal blog (which is installed in a root directory rather than a subdirectory), but Im just worried these issues are symptomatic of some stupid configuration error Ive made and thus I'd rather identify it now rather than latter on when the blog is in active use.
Thanks for your time and consideration.