Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Unable to get successful install #193

Open
deronrspencer opened this issue Jan 5, 2016 · 5 comments
Open

Unable to get successful install #193

deronrspencer opened this issue Jan 5, 2016 · 5 comments

Comments

@deronrspencer
Copy link

I am installing phundament on WAMP using composer. I followed these instructions;
https://github.com/phundament/docs/blob/master/6-tutorials/installation-composer.md

When I access http://localhost/app/backend/web, I am redirected to http://localhost/en which gives a Not Found error. Additionally I notice my app directory doesn't have the backend and frontend folders, only build, runtime, src, test, vendor and web. Any assistance would be greatly appreciated.

@schmunk42
Copy link
Member

Thank you for reporting.

Phundament is not split into application tiers backend and frontend like Yii2's advanced app, so this is perfectly normal :) There's a backend module though.

For debugging you may either try these options:

@deronrspencer
Copy link
Author

I turned on debugging and disabled the enableDefaultLanguageUrlCode and got the following error;

The file or directory to be published does not exist: C:\UniServerZ\www\rcjapp\src/../vendor\bower/bootstrap/dist

I am new to yii2/composer but my guess is some missing dependencies?

@deronrspencer
Copy link
Author

Got it working by moving the contents of bower/bower-asset back up to bower. Also had to disable prettyURLs and remove the line 'languages' => explode(',',getenv('APP_LANGUAGES')), from the urlManager configuration

@schmunk42
Copy link
Member

Are you running in phundament with Docker or directly on your machine?

Make sure to have the latest version of fxp/composer-asset-plugin installed, see also http://www.yiiframework.com/doc-2.0/guide-start-installation.html

Which webserver are you using, nginx or Apache?
If Apache, you might need to rename this .htaccess file.

PS:
There should be no problems like those, when using Docker...

@deronrspencer
Copy link
Author

Running directly, using Apache. Will check on both of those later.

Deron Spencer

On Fri, Jan 8, 2016 at 5:40 PM, Tobias Munk notifications@github.com
wrote:

Are you running in phundament with docker or directly on your machine?

Make sure to have the latest version of fxp/composer-asset-plugin
installed, see also
http://www.yiiframework.com/doc-2.0/guide-start-installation.html

Which webserver are you using, nginx or Apache?
If Apache, you might need to rename this .htaccess
https://github.com/phundament/app/blob/master/web/.htaccess-dist file.


Reply to this email directly or view it on GitHub
#193 (comment).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants