Skip to content

Having trouble setting up Helphub site locally #282

@emfluenceindia

Description

@emfluenceindia

Issue Description

I am not sure if this is an "issue" or I am the only one having this trouble. As per suggestion of @zzap and @Kenshino I am putting it here.

I am following the instructions listed here under Local Install section.
I have done with steps 1-10. One confusion I have though about item no. 5, i.e. where exactly to run npm install. I ran it inside WPorg Support theme folder, not sure this is the right place to run.

When I activate the above theme, I am getting the following on-screen message.

Broken Themes
The following themes are installed but incomplete.

Name	Description		
wporg	Stylesheet is missing.

Ignoring the above I went on and run the site which resulted to an error:

Warning: require(/var/www/wp-projects/helphub/wp-content/themes/footer.php): failed to open stream: No such file or directory in /var/www/wp-projects/helphub/wp-content/themes/wporg-support/footer.php on line 12

Fatal error: require(): Failed opening required '/var/www/wp-projects/helphub/wp-content/themes/footer.php' (include_path='.:/home/subrara/.phpbrew/php/php-5.6.22/lib/php') in /var/www/wp-projects/helphub/wp-content/themes/wporg-support/footer.php on line 12

The same above this happening for header.php as well (line no. 191 in functions.php of the theme)

I changed theme to twentyseventeen and the site started running without any issue.

Expected Result:

Site should run without issue with the theme activated.

Actual Result:

Site is not running as described above.

Additional Comment:

I know this is the area to create issues and this might not be an issue at all and I am only experiencing it. If this is the case, it would be extremely helpful if I know what I am doing wrong.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions