Log message #4101825

# At Username Text
# Dec 7th 2017, 13:39 cakephp404 htaccess file is there
# Dec 7th 2017, 13:22 hmic JD-Robbs, there is proof that you can achieve the same without using goto, just reordering the execution flow - and creating more functions to call in the process.
# Dec 7th 2017, 12:58 hmic JD-Robbs, it's good practise to not use nested if statements at all
# Dec 7th 2017, 12:56 JD-Robbs I wonder how people here feel about goto as a way to get rid of nested if's in controller actions to (when a condition doesn't match) jump to where view variables are set? Crucify me xD
# Dec 7th 2017, 12:20 hmic so it needs to be json he is talking about - the webservice hints on that too ;-)
# Dec 7th 2017, 12:20 hmic i dont think navision does interact with php arrays in any possible way
# Dec 7th 2017, 12:19 neon1024 Or the error isn’t actually related to the data perhaps
# Dec 7th 2017, 12:18 neon1024 My guess would be .. that ^
# Dec 7th 2017, 12:18 hmic thats a different thing
# Dec 7th 2017, 12:18 hmic if you are talking about a json representation
# Dec 7th 2017, 12:18 hmic rudy1976s: this is how an array looks like. you can only *declare* it in the second form and php will give you the first one back. it will always be nummerically indexed automatically.
# Dec 7th 2017, 12:17 rudy1976s @neon1024 thank you
# Dec 7th 2017, 12:17 rudy1976s I know but I create the first array dinamically but Microsoft Navision soap webservices expect array in the second notation format, and get error otherwise
# Dec 7th 2017, 12:16 neon1024 Perhaps learn about Arrays? http://php.net/manual/en/language.types.array.php
# Dec 7th 2017, 12:16 neon1024 Sorry, I’m not sure how else to explain that they’re the same thing
# Dec 7th 2017, 12:16 hmic beware the mixed forms ;)
# Dec 7th 2017, 12:15 rudy1976s ah yes I know but my webservice need to have the second version
# Dec 7th 2017, 12:15 neon1024 That’s just how arrays work in PHP :slightly_smiling_face:
# Dec 7th 2017, 12:14 neon1024 Arrays are always numerically indexed unless they’re associative arrays
# Dec 7th 2017, 12:14 neon1024 Those are already equal
# Dec 7th 2017, 12:12 rudy1976s is it not strictly cakephp but I am a bit stuck
# Dec 7th 2017, 12:12 rudy1976s Hello and good morning, Is there anyone here in willing to help me working with transformation of array: it is quite surely a dumb question but I actually cannot come though : https://gist.github.com/anonymous/73084870d786ca585a7c7c1140fc3308
# Dec 7th 2017, 11:57 admad You probably forgot to copy the htacess file
# Dec 7th 2017, 11:51 cakephp404 I only copied dvs (the old project) in dvsnew folder
# Dec 7th 2017, 11:50 cakephp404 every project works but the dvsnew
# Dec 7th 2017, 11:50 cakephp404 I have many others projects there
# Dec 7th 2017, 11:49 cakephp404 it always worked
# Dec 7th 2017, 11:47 dereuromark then you wont have path issues here in the URL
# Dec 7th 2017, 11:47 dereuromark I would suggest using cakebox or at least a domain.local setup
# Dec 7th 2017, 11:46 cakephp404 no errors in apache log
# Dec 7th 2017, 11:46 cakephp404 where is the problem?
# Dec 7th 2017, 11:46 cakephp404 https://127.0.0.1/dvs/buildings works
# Dec 7th 2017, 11:46 cakephp404 for example https://127.0.0.1/dvsnew/buildings give me 404
# Dec 7th 2017, 11:45 cakephp404 I cant access even to all my old actions
# Dec 7th 2017, 11:45 cakephp404 example GET https://127.0.0.1/dvsnew/img/cake.power.gif 404 (Not Found)
# Dec 7th 2017, 11:44 cakephp404 but now when I browse I cant acces to all my css js ecc
# Dec 7th 2017, 11:44 cakephp404 clear tmp ecc..
# Dec 7th 2017, 11:44 cakephp404 give permissions ecc..
# Dec 7th 2017, 11:44 cakephp404 Ive copyed a cakephp project in another folder
# Dec 7th 2017, 11:43 cakephp404 sorry probably a real stupid question... :/
# Dec 7th 2017, 11:37 dereuromark ;) All righty