durangod Posted December 5, 2013 Share Posted December 5, 2013 (edited) I was working on my fake admin login page and i found this. See attached, and this is on the real login.. what is this? Could it be the beginning of this .DS_Store (Mac OS X Desktop Services Store file) and the rest is not showing. Edited December 5, 2013 by durangod 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 5, 2013 Share Posted December 5, 2013 it's not present on my admin login page, so I think you are correct that its .DS_Store. 0 Quote Link to comment Share on other sites More sharing options...
durangod Posted December 5, 2013 Author Share Posted December 5, 2013 I did find it in the source... Im just not sure why its showing up in the source like this... <td align="left" valign="middle"><table width="100%" cellpadding="0" cellspacing="0"><tr><td><input type="submit" value="Login" class="button" /></td><td align="right">Language: <select name="language" class="login_inputs"><option value="">Default</option><option value=".DS_S">.DS_S</option><option value="czech">Czech</option><option value="english">English</option><option value="french">French</option><option value="portugues">Portugues</option><option value="russian">Russian</option><option value="spanish">Spanish</option></select></td></tr></table></td> I am running the latest version as well 5.2.14 i am curious why its not showing on yours as well brian.. 0 Quote Link to comment Share on other sites More sharing options...
durangod Posted December 5, 2013 Author Share Posted December 5, 2013 I know there is a file in admin called .DS_STORE but i guess im not understanding what the purpose of having this in the lang options is. I checked out the WHMCS demo and found a different value there.. see image but still not sure what the dif value is designed for in the lang option 0 Quote Link to comment Share on other sites More sharing options...
SeanP Posted December 5, 2013 Share Posted December 5, 2013 I am running 5.2.14, and mine looks the same as the demo (have the "Adminlangupdate" option on the pulldown). I do not see the ".DS_S" option you are seeing. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted December 5, 2013 Share Posted December 5, 2013 I can see the one you mention at the demo site. the language dropdown just lists the files in the admin/lang folder - so if you create a file there called fred.php, and refresh the admin login page, you'll get a new language called "Fred"... although I don't speak it myself - - - Updated - - - I am running 5.2.14, and mine looks the same as the demo (have the "Adminlangupdate" option on the pulldown). I do not see the ".DS_S" option you are seeing. that's weird - it's not in the .14 incremental patch, and i've just checked the full version and it's not in there either. but I found this via google - https://docs.whmcs.com/showthread.php?76327-5-2-6-4-Build-Update 0 Quote Link to comment Share on other sites More sharing options...
durangod Posted December 5, 2013 Author Share Posted December 5, 2013 (edited) I figured it out, in my admin/lang folder .DS_Store is the first file, and im guessing the array is built from the file contents in the lang folder so natually it would pick that up. See image... Question is can i remove that .DS_Store file? Do you have that file in your admin(whatever you named it)/lang folder ? - - - Updated - - - UPDATE: Also, that file name .DS_Store exists in my whmcs root/ in my admin/ and in my admin/lang i also found this. http://en.wikipedia.org/wiki/.DS_Store so if you are not set to see hidden files in your cPanel you might not see it... Note to WHMCS team member, can i remove this file? Thanks Edited December 5, 2013 by durangod 0 Quote Link to comment Share on other sites More sharing options...
Damo Posted December 5, 2013 Share Posted December 5, 2013 Those .DS_Store files are created on the Mac OS to track things internally. By chance did you extract the archive on a Mac before uploading? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.