Log message #4261417

# At Username Text
# Apr 15th 2021, 18:47 rightscoreanalysis I can add logic I guess to redirect only when !profile.complete ... or is there a better otb way to do this... I don't want t re-invent the wheel
# Apr 15th 2021, 18:46 rightscoreanalysis @admad within the social auth plugin, when a user is successfully authenticated I want to re-direct them to a page where they can complete their profile..... I saw that there is a redirect url which can be configured, but if a user has already completed their profile and is logging in they shouldn't be redirected....
# Apr 15th 2021, 18:45 marek.sebera @admad that means touching the infrastructure, which I'd like to avoid, but yeah, indeed it's possible
# Apr 15th 2021, 18:13 admad why not just fail the request a webserver level?
# Apr 15th 2021, 18:09 marek.sebera Routing: If I want to handle any URL starting with "/index.html" eg. "/index.html::$data" (some malwarebot testing url), how should the route be written? Because neither `*` or `**` works without separator (ie. `/* or /**`) of url segments
# Apr 15th 2021, 17:49 nayakvradhit Yeah /var/www
# Apr 15th 2021, 17:13 admad you can just use Smtp transport and set the port to 1025, done. No change in php config needed as stated in it's readme.
# Apr 15th 2021, 17:11 richard thanks I’ll look into mailhog!
# Apr 15th 2021, 17:11 admad https://github.com/mailhog/MailHog
# Apr 15th 2021, 16:09 greg138 You mean `/var`, not `var`, I assume, or else none of it would work. It's not absolutely mandatory, it can work other ways, but this is by far the easiest. If pages are coming back correctly, just without the CSS and JS, then it's very close to right.
# Apr 15th 2021, 15:55 nayakvradhit Is it madatory to set the doc root to var/www/html/appname/app/webroot?
# Apr 15th 2021, 15:54 nayakvradhit And configured apache to run the app ipaddress/appname
# Apr 15th 2021, 15:53 nayakvradhit I copied old cakephp folder jnto new server
# Apr 15th 2021, 15:52 nayakvradhit Can you please tell me what I did is correct procedure or not?
# Apr 15th 2021, 15:51 greg138 That should rule out filename case sensitivity issues, at least. :)
# Apr 15th 2021, 15:50 nayakvradhit It was on linux itself but previously they were deployed onsite client itself but now for the new server upgrade they have been assigned to me
# Apr 15th 2021, 15:49 nayakvradhit Ok thanks
# Apr 15th 2021, 15:40 greg138 For future reference, these are all the sorts of details that it's useful to start with. "I've been asked to move a Cake 2 application that I didn't develop from a Windows server to Linux, and I'm having this problem..."
# Apr 15th 2021, 15:39 isvyas Yes that's good idea.
# Apr 15th 2021, 15:38 greg138 It was on Windows before? Apache or IIS?
# Apr 15th 2021, 15:36 nayakvradhit You are the lifeline for me since I am doing it first time this deployment in linux
# Apr 15th 2021, 15:36 nayakvradhit ok will check that and update u thanks for ur response
# Apr 15th 2021, 15:36 cherif.bouchelaghem Everything is in one plugin Later today I’ll make a small demo application in my GitHub and I’ll invite you and let’s discuss it
# Apr 15th 2021, 15:34 isvyas Both are in same plugin? Or the plugin templates are in another plugin and assets are in other? Also it would be great if you can open up a issue in the GitHub so we can move further discussion over there.
# Apr 15th 2021, 15:34 cherif.bouchelaghem It is an admin plugin that I want to be separated from the application, so you can imagine the plugin as a self contained app
# Apr 15th 2021, 15:33 greg138 Let's try this. If you "view source" on the page, what are the URLs it's trying to load for the CSS and JS?
# Apr 15th 2021, 15:32 greg138 There's quite a lot of detail to go through to get you to a point where you can even answer questions that we would ask. :(
# Apr 15th 2021, 15:32 cherif.bouchelaghem I want to load the plugin assets inside the plugin templates not the application
# Apr 15th 2021, 15:32 nayakvradhit I was supporting that app build by some one
# Apr 15th 2021, 15:31 isvyas Let me get you correct. Are you trying to load plugin assets into your application from plugin? That means assets are inside the plugin and you want to use it into your application?
# Apr 15th 2021, 15:31 greg138 Who built the app? It seems like they should be involved in this process.
# Apr 15th 2021, 15:31 greg138 And you don't know anything about the app or CakePHP?
# Apr 15th 2021, 15:30 nayakvradhit Yeah my requirement was to put the cakephp app into the new server
# Apr 15th 2021, 15:29 nayakvradhit It think it is loading index.hthtml fole
# Apr 15th 2021, 15:29 greg138 We're going in circles here. Is this your CakePHP app, or is it something you know nothing at all about and just got tasked with moving it to a new server?
# Apr 15th 2021, 15:29 nayakvradhit I copied it inside var/www/html folder
# Apr 15th 2021, 15:28 greg138 You have some PHP or HTML that is supposed to load those files.
# Apr 15th 2021, 15:28 nayakvradhit What code means please?
# Apr 15th 2021, 15:28 nayakvradhit In apache config just I set it to appname doc root and edited the servername and ran it
# Apr 15th 2021, 15:27 greg138 That doesn't answer either of my questions...
# Apr 15th 2021, 15:27 nayakvradhit I copied the entire cakephp folder from old server to new server