Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SITE_BASE_URL not working #55

Closed
fer-ri opened this issue Mar 10, 2014 · 3 comments
Closed

SITE_BASE_URL not working #55

fer-ri opened this issue Mar 10, 2014 · 3 comments

Comments

@fer-ri
Copy link

fer-ri commented Mar 10, 2014

Hi, why my SITE_BASE_URL looks like this

window.COCKPIT_SITE_BASE_URL  = '/D:/wamp/www/git.dev/repositories/';

Same with my document root? how to change this?
because its make my image gallery not working, since they request for background url();
Thanks

update: this error only when i'm running from cli command php -S localhost:12345

@aheinze
Copy link
Member

aheinze commented Mar 10, 2014

the built in php webserver isn't really a production server...but I'll look into the issue.

@fer-ri
Copy link
Author

fer-ri commented Mar 10, 2014

Yes, so far i use normal environment, running from wamp, there's no problem
:)

thanks

On 10 March 2014 15:39, Artur notifications@github.com wrote:

the built in php webserver isn't really a production server...but I'll
look into the issue.

Reply to this email directly or view it on GitHubhttps://github.com//issues/55#issuecomment-37161740
.

@aheinze
Copy link
Member

aheinze commented Mar 10, 2014

you started php -S localhost:12345 directly in the cockpit folder.
You need to start the server in the parent folder (project folder).

folder structure:

/project
/project/cockpit

start the server in /project, then everything works fine.

greets,
artur

@aheinze aheinze closed this as completed Mar 10, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants