Support the ongoing development of →
posted 8 years ago
Last updated 1 year ago.

environment problem? .env settings wrong?

does it give you correct URL outside of that package?


Oh, forget to mention: it's laravel 4.2. Hence no .env settings.

URL is correct everywhere else. If I log URL within the AJAX call (before the return Datatables... stuff) it's also localhost:8489.


can you maybe post the AJAX call code? whole of it?

can you also dump/echo which environment you are using? ie prod or staging or local etc.. assuming your app actually DOES have different environments?


AJAX call comes directly from datatables;

  ordering: true,
  serverSide: true,
  ajax: 'data/get/'

App doesn't have different environments.


Sign in to participate in this thread!


Your banner here too?

nehalist nehalist Joined 24 Feb 2014


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 - All rights reserved.