OrganizedFellow Posted September 9, 2019 Share Posted September 9, 2019 I haven't worked on this site in months. Today when I opened my project, I am greeted with this cryptic error. ? ? Link to comment Share on other sites More sharing options...
wbmnfktr Posted September 9, 2019 Share Posted September 9, 2019 Looks like there is something wrong with your entire encoding. At least this looks like missing UTF-8 support. Did you move the folder, upgraded the webserver, changed the PHP version or something of that kind? Link to comment Share on other sites More sharing options...
netcarver Posted September 9, 2019 Share Posted September 9, 2019 Do you have it in a backup you can compare it with? Or is it in a local git repo - if so, you can see what changed using git diff. Link to comment Share on other sites More sharing options...
OrganizedFellow Posted September 9, 2019 Author Share Posted September 9, 2019 32 minutes ago, netcarver said: ... a local git repo - if so, you can see what changed using git diff. Git diff reports errors, uh oh ?? Link to comment Share on other sites More sharing options...
OrganizedFellow Posted September 9, 2019 Author Share Posted September 9, 2019 43 minutes ago, wbmnfktr said: Did you move the folder, upgraded the webserver, changed the PHP version or something of that kind? This was relocated from my other PC/workstation to another. Nothing LAMP related is different, they are both identical. I'm thinking something else is broken and may have to start over, as git is also throwing errors (see comment above). Link to comment Share on other sites More sharing options...
netcarver Posted September 9, 2019 Share Posted September 9, 2019 Time to go to backups I think. Link to comment Share on other sites More sharing options...
OrganizedFellow Posted September 9, 2019 Author Share Posted September 9, 2019 1 minute ago, netcarver said: Time to go to backups I think. Sadly git was my backup ? I attempted several git checkout xxxxxx, but the error persists ? ? Link to comment Share on other sites More sharing options...
netcarver Posted September 9, 2019 Share Posted September 9, 2019 Did you push this repo anywhere? Github, gitlab, bitbucket, co-worker's machine etc? If so, you can pull the state back from the remote. Edited to add, if there's corruption on your local drive, you might want to think about immediately backing up your data. Try running git fsck. Link to comment Share on other sites More sharing options...
OrganizedFellow Posted September 9, 2019 Author Share Posted September 9, 2019 13 minutes ago, netcarver said: Did you push this repo anywhere? Github, gitlab, bitbucket, co-worker's machine etc? If so, you can pull the state back from the remote. Edited to add, if there's corruption on your local drive, you might want to think about immediately backing up your data. Try running git fsck. no luck. i may have lost everything. damnit. next time, I should (and will) use remote git, i have both gitlab & github. Why I did not use them for my project? I DUNNO! Link to comment Share on other sites More sharing options...
wbmnfktr Posted September 9, 2019 Share Posted September 9, 2019 43 minutes ago, OrganizedFellow said: This was relocated from my other PC/workstation to another. Does that machine still exist? Tried using another git client another OS? Link to comment Share on other sites More sharing options...
OrganizedFellow Posted September 10, 2019 Author Share Posted September 10, 2019 6 hours ago, wbmnfktr said: Does that machine still exist? Tried using another git client another OS? The machine exists, but as an addicted DistroHopper, it's been wiped. Client? I use the command line. No worries amigo, I have accepted the loss and will restart the project again tomorrow ? LESSON LEARNED! 2 Link to comment Share on other sites More sharing options...
bernhard Posted September 10, 2019 Share Posted September 10, 2019 3 hours ago, OrganizedFellow said: Client? I use the command line. No worries amigo, I have accepted the loss and will restart the project again tomorrow ? LESSON LEARNED! VSCode makes working with git a breeze and now that github has unlimited private repos it's really great combination! https://code.visualstudio.com/Docs/editor/versioncontrolhttps://marketplace.visualstudio.com/items?itemName=eamodio.gitlens Link to comment Share on other sites More sharing options...
wbmnfktr Posted September 10, 2019 Share Posted September 10, 2019 6 hours ago, OrganizedFellow said: as an addicted DistroHopper You shall not distrohop! ? Fingers crossed for the next time. Link to comment Share on other sites More sharing options...
netcarver Posted September 10, 2019 Share Posted September 10, 2019 @OrganizedFellow Do think about backing up your drive now. If it's starting to fail, this could be an early warning for you. 1 Link to comment Share on other sites More sharing options...
OrganizedFellow Posted September 10, 2019 Author Share Posted September 10, 2019 2 hours ago, netcarver said: @OrganizedFellow Do think about backing up your drive now. If it's starting to fail, this could be an early warning for you. Thanks buddy. This is a new laptop, new SSDs, and new Laragon setup. Previously I would code on my aging Thinkpad T420, so I had made that backup to USB flash drive (should've been to gitlab - dummyme). Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now