Bug 214889 - www/wordpress: The theme directory "twentyeleven" does not exist.
Summary: www/wordpress: The theme directory "twentyeleven" does not exist.
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kubilay Kocak
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-27 20:22 UTC by Yuri Victorovich
Modified: 2016-11-30 18:21 UTC (History)
1 user (show)

See Also:
koobs: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2016-11-27 20:22:26 UTC
The wordpress front page shows only this error. No actual content is shown.

wordpress-4.6.1,1, runs under the Apache sever.
Comment 1 Jochen Neumeister freebsd_committer freebsd_triage 2016-11-28 23:51:03 UTC
Download it here: https://wordpress.org/themes/twentyeleven/

the right path for themes is /wp-content/themes
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2016-11-29 00:10:04 UTC
I see, thanks!

I think some themes are missing from the package. They should all be better installed as long as they are referenced in the sources.
Comment 3 Jochen Neumeister freebsd_committer freebsd_triage 2016-11-29 07:07:42 UTC
I think, someone deleted the themes via ftp? You can download missing themes from the wordpress site
Comment 4 Yuri Victorovich freebsd_committer freebsd_triage 2016-11-29 07:33:51 UTC
I downloaded them, thanks.

Please add them to the port.
Comment 5 Jochen Neumeister freebsd_committer freebsd_triage 2016-11-29 07:41:05 UTC
sorry, we have no influence to the packages from wordpress
Comment 6 Yuri Victorovich freebsd_committer freebsd_triage 2016-11-29 07:47:26 UTC
But port can download and add any additional files, they don't have to be added to the wordpress upstream distribution. Otherwise users will keep having broken installations.
Comment 7 Jochen Neumeister freebsd_committer freebsd_triage 2016-11-29 07:53:07 UTC
I installed the port too, and habe no Problems. I think, the Problem was, what i think, in Comment #3
Comment 8 Jochen Neumeister freebsd_committer freebsd_triage 2016-11-30 11:11:41 UTC
Iĺl download and check the wordpress file:

joneum@phantomias:~/dev/ports/distfiles/wordpress/wp-content/themes % ls -la
total 27
drwxr-xr-x  5 joneum  joneum   6  7 Sep. 16:59 .
drwxr-xr-x  4 joneum  joneum   5  7 Sep. 16:59 ..
-rw-r--r--  1 joneum  joneum  28  5 Juni  2014 index.php
drwxr-xr-x  6 joneum  joneum  28  7 Sep. 16:59 twentyfifteen
drwxr-xr-x  8 joneum  joneum  42  7 Sep. 16:58 twentyfourteen
drwxr-xr-x  7 joneum  joneum  25  7 Sep. 16:59 twentysixteen

there a 3 standart themes into. twentyeleven is an older style. 

There is no FreeBSD or Wordpress Problem - only an user error.

PR can be closed
Comment 9 Kubilay Kocak freebsd_committer freebsd_triage 2016-11-30 11:19:25 UTC
@Yuri Please re-open this issue if you believe it has been incorrectly resolved/closed with rationale and ideally a change proposal
Comment 10 Yuri Victorovich freebsd_committer freebsd_triage 2016-11-30 17:30:43 UTC
Jochen,

I am not sure what is the user error here. When I look at the wordpress port, 'twentyeleven' is referenced in the port:
        private static $default_themes = array(
                'classic'        => 'WordPress Classic',
                'default'        => 'WordPress Default',
                'twentyten'      => 'Twenty Ten',
                'twentyeleven'   => 'Twenty Eleven',
                'twentytwelve'   => 'Twenty Twelve',
                'twentythirteen' => 'Twenty Thirteen',
                'twentyfourteen' => 'Twenty Fourteen',
                'twentyfifteen'  => 'Twenty Fifteen',
                'twentysixteen'  => 'Twenty Sixteen',
        );


Yet, when the port is installed, out of all these it only installs 'twentyfifteen', 'twentyfourteen', 'twentysixteen'. So I had the dysfunctional installation due to this. Where the missing themes normally are supposed to come from? Should users know to download them manually? Why is this the case?

Thanks,
Yuri
Comment 11 Jochen Neumeister freebsd_committer freebsd_triage 2016-11-30 18:21:42 UTC
This are Themes from older wordpress versions. Into the class-wp-theme, the are all themes, which were once standart (or are).

twentyfifteen, twentyfourteen and twentysixteen are standart themes from the current Wordpress Version 4.6.1

When you will install other / older Themes, then you must download this and install by hand.