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

Unable to publish config #10

Closed
joedawson opened this issue May 19, 2015 · 7 comments
Closed

Unable to publish config #10

joedawson opened this issue May 19, 2015 · 7 comments

Comments

@joedawson
Copy link

Hey!

I'm attempting to publish the config file, but I'm having issues.

php artisan vendor:publish --provider=Stevebauman\Location\LocationServiceProvider --tag=config

Returns...

Can't locate path: </Volumes/joe/regency-management/vendor/stevebauman/location/src/Stevebauman/Location../../../config/config.php>

I also tried to copy the config to config/location.php and it doesn't appear to read any of my configuration options. Any ideas?

Thanks in advance!

@joedawson
Copy link
Author

I had a typo in my location.php, so I'm not getting the missing driver issue any more.

But when setting localhost_testing to false, it still defaults to the default IP? Even with clearing the applications cache etc.

Using L5 if this helps by the way, should have mentioned that above.

@stevebauman
Copy link
Owner

Hi, that's odd. I just tried the installation and publishing on a clean L5 install and ran that command just fine (as well as artisan vendor:publish and that worked as well). I also tried setting the localhost_testing to false and it works as expected?

For your second issue mentioned however, are you using the file session driver?

@joedawson
Copy link
Author

Thanks for your reply @stevebauman.

Indeed it is, manually creating the file isn't much of an issue though. More of a heads up just in case it was affecting others really.

I am indeed using the file driver for sessions.

@stevebauman
Copy link
Owner

Thanks for the quick reply @joedawson, try using any other session driver due the issues with the file driver mentioned here: laravel/framework#8244. Once you do make sure you clear your route cache and other caches and see if you still have the issue.

Thanks!

@joedawson
Copy link
Author

Thanks buddy, just on lunch at the mo. Will update later this afternoon when I've investigated.

@joedawson
Copy link
Author

Just went back to investigate the problem I had earlier today, no longer occurs. Probably just a cacheing issue my end. Thanks!

@stevebauman
Copy link
Owner

Great to hear! Thanks for following up, appreciate it!

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