All was well until 10.7 + MAMP + xCode. Now...misery. Why?

I'm a port from the PC universe. Been loving my iMac since 10.6 for about 2 years now. Recently, I decided to stop programming on the PC and move to the Mac and open source, namely PHP to start. That mean installing MAMP. No harm. Then, I entered the world of debuggin PHP without a debugger. Not fun. So, I joined the installed xDebug. Whoa! Problems all over. Issues Galore. Addressed the issues, joined the $99 developer community, downloaded xCode (for the compiler), upgraded to 10.7 Lion and fixed all sorts of stuff: paths, ini files, got pear working, php-config, phpize, xdebug.so extension.
Now that xdebug works, I downloaded JetBrains PHPStorm for my debugger along with Dreamweaver CS4 that I've owned all along. All should be well and good, but not so.
1. All of my Adobe CS products went to ****. I had to re-install and lost 2 yrs worth of customizations, plug-ins etc. That was Adobe's best suggestion.
2. My external disk drives locked up, there were now permission issues on all, but my internal drive, so I couldn't get to my Time Machine backups. In any case, I had changed so much I'm not sure it would have helped.
3. Reformatted all external drives. Lost all, but nothing there was that precious. One drive is a scratch disk, the other was my backups. I immediately made another TM backup. All went well after re-format.
4. Download OS X.7.3....Whoa, more issues. Mainly permissions. Adobe went to **** again, but I'd already lost everything that mattered, so I trudged through the permissions thing (Library and System seemed to be the primary offenders here). User System now exists everywhere and user "Me" is gone, as is user "Administrators" group. Tried getting rid of user system. Bad, bad idea. Started over, then just tried to add Me and Administrators group. Worked out.
5. Reinstalled Adobe a 2nd time.
6. Now, some of my drivers, namely HP Scanjet aren't working, download, reinstall, fix that.
7. Reinstalling HP drivers mucked up permissions again and I get all these Library permission issues on bootup. Fixed that for the 3rd or 4th time now.
There's more, but you get the idea. All I wanted to do in the beginning was use PHP 5.3 and be able to debug it. Now I have a "hard way" degree in debugging, Unix, and the mac OS. And, I still don't know what I've done wrong.
This permissions issue keeps cropping up. I've done the Verify/Repair Permissions thing a few times, same for the hard drive. doesn't seem to have an noticible effect.
Is there some sort of utility out there (or already here) that will help me get my machine stable once again. I've logged probably 40 hours doing the above and this is darn near reminding me of my life with a PC--but I had 30 years of driving that crate, so it wasn't as frustrating.
It's all about permissions and my user being installed, or not, in various locations that I'm guessing it used to be installed in. Plus, it seems RW permissions have changed to R. I've used Terminal to fix some of this along the way, and get all working correctly, but I'm scared now to turn off the darn machine, or to upgrade "anything" on it.
Advice is welcome.
Regards and thanks to all.
Dan
PS: Crap, I see a 10.7.4 on the OS dropdown. I could have gone all night without seeing that!

It sounds like you're randomly setting file permissions without any idea of what they should be. In nearly all cases, they should be whatever the software installer makes them. On very rare occasions, it may be necessary to repair the permissions of system files after running a defective third-party installer. It's certainly necessary if you've "mucked up" those permissions yourself. You may have mucked them up so badly that they can no longer be repaired in the usual way. In that case, boot from your recovery partition (command-R at startup) and run Disk Utility. That, at least, is safe from being mucked up, but it won't fix everything; only Mac OS system files.
If a third-party product doesn't work, reinstall it, and resist the temptation to change the permissions. If it still doesn't work, contact the developer for support.
Repairing the permissions of a home folder in Lion is a complicated procedure. I don’t know of a simpler one that always works.
Back up all data now. Before proceeding, you must be sure you can restore your system to its present state
Launch the Terminal application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Terminal in the page that opens.
Drag or copy — do not type — the following line into the Terminal window, then press return:
chmod -R -N ~
The command will take a noticeable amount of time to run. When a new line ending in a dollar sign ($) appears below what you entered, it’s done. You may see a few error messages about an “invalid argument” while the command is running. You can ignore those. If you get an error message with the words “Permission denied,” enter this:
sudo !!
You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up.
Next, boot from your recovery partition by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
When the recovery desktop appears, select Utilities ▹ Terminal from the menu bar.
In the Terminal window, enter “resetpassword” (without the quotes) and press return. A Reset Password window opens. You’re not going to reset the password.
Select your boot volume if not already selected.
Select your username from the menu labeled Select the user account if not already selected.
Under Reset Home Directory Permissions and ACLs, click the Reset button.
Select  ▹ Restart from the menu bar.

Similar Messages

  • Hoping for some help with a very frustrating issue!   I have been syncing my iPhone 5s and Outlook 2007 calendar and contacts with iCloud on my PC running Vista. All was well until the events I entered on the phone were showing up in Outlook, but not

    Hoping for some help with a very frustrating issue!
    I have been syncing calendar and contacts on my iPhone 5 and Outlook 2007 using iCloud  2.1.3 (my PC is running Vista). All was well until the events I entered on the phone were showing up in Outlook, but not the other way around. I’ve tried the usual recommended steps: deselecting calendar and contacts in the iCloud control panel and then re-selecting, signing out of the panel and back in, and repairing the Outlook installation in control panel.  I even uninstalled iCloud on the PC and downloaded it again (same version). 
    The furthest I’ve gotten is step 2 (and once, step 3) of 7 while performing “Outlook Setup For iCloud.” At that point I get, “Your setup couldn’t be started because of an unexpected error.”  After the first attempt at all this, all my calendar events disappeared from Outlook, although they are still in iCloud calendar and on my phone.
    Sound familiar?  Any ideas on how to solve this iCloud/Outlook issue?  Thanks much in advance!

    Hoping for some help with a very frustrating issue!
    I have been syncing calendar and contacts on my iPhone 5 and Outlook 2007 using iCloud  2.1.3 (my PC is running Vista). All was well until the events I entered on the phone were showing up in Outlook, but not the other way around. I’ve tried the usual recommended steps: deselecting calendar and contacts in the iCloud control panel and then re-selecting, signing out of the panel and back in, and repairing the Outlook installation in control panel.  I even uninstalled iCloud on the PC and downloaded it again (same version). 
    The furthest I’ve gotten is step 2 (and once, step 3) of 7 while performing “Outlook Setup For iCloud.” At that point I get, “Your setup couldn’t be started because of an unexpected error.”  After the first attempt at all this, all my calendar events disappeared from Outlook, although they are still in iCloud calendar and on my phone.
    Sound familiar?  Any ideas on how to solve this iCloud/Outlook issue?  Thanks much in advance!

  • My iphone 3gs has started showing the wrong time  and date. All was fine until this afternoon when it changed.  My apps have the right time and date. However the world clock is wrong. I have to turn off the automatic time setting to get the right time.

    My iphone is showing the wrong time and date. All was well until sometime this afternoon when it changed...  to Nov 5 (2 days prior to today), and about 9 hours and some minutes before the actual time.  The world clock for my time zone shows the same wrong date and time. My calender shows the same wrong date and time.  The phone can not find my time zone any more.   The only fix I found was to turn off the automatic setting for time.  What is  happening? Ideas?

    just sorted mine went to
    settings-mail,contacts,calender-timezone support
    then turned it off then on tapped time zone and typed london
    this did sort mine

  • I started making a movie and all was well. I added a few more pictures and some sound and played it back. It plays so far and then the pictures break up into colors and then the screen turns green.  The sound continues.

    I am making a movie from still pictures. I used no theme and then started adding pictues. When I played it back, all was well. Then I added a few more pictures and some sound. When I play iot back it plays just so far and then the sound continues, but the screen turns green or the pictures break up into colors.

    Sorry, everyone.  I think I may have figured out what it was all down to...........
    I had left the IDE ribbon cable plugged into my third HDD, with the power cable unplugged.  I did this so as not to endanger my years of work on the third drive, until Windows had setup.  I have in the past, accidentally chosen the wrong partiton to format, so this seemed a good way to avoid it from then on.
    This was not a problem on my old system, but it seems this system doesn't like it.
    I must have left the drive completely unplugged, the times Windows did setup.  Amazing really.  I couldn't see the woods for the trees.
    Anyway, I'm sorry to have bothered everyone with my problem.
    Cheers
    Marcus
    edit :   Sorry Syar2003, I didn't see your reply until I had posted mine.  Many thanks for taking the time to try and help me, it seems as though I may have sorted it now.  I am using IDE drives until I can afford SATA.  But many thanks for the heads-up on the NF4-SATA compliance, I'll be sure to bare that in mind.
    I didn't actually check the NVRAID/IDE ROM version before updating the bios, so I have no idea if the revision was changed when Liveupdate flashed the Bios, I'm afraid.  I didn't know they would be updated at the same time.
    Again, cheers
    Marcus

  • TS1363 When I sync my ipod all goes well until I try to eject then it says that other systems are using files on the ipod. Nothing else is running and when I physically eject the ipod hasnt synched....ideas anyone?!

    When I sync my ipod all goes well until I try to eject then it says that other systems are using files on the ipod.
    Nothing else is running.
    The only way I can eject is to do so manually, when I do I then find the ipod hasnt synched.
    Any ideas?

    Here is what worked for me:
      My usb hub, being usb2, was too fast. I moved the wire to a usb port directory on my pc. That is a usb1 port which is slow enough to run your snyc.

  • When I rip a CD to iTunes. All goes well until I click on All Albums. If there are other artists named with the Title Artist they are shown as different albums so I end up with 16 albums containing 1 track instead of 1 Album with 16 tracks. Can I fix this

    When I rip a CD to iTunes all goes well until I click on All Albums. If there are other artists named as well as the Title Artist, I end up with what appears as 16
    Albums with 1 track instead of 1 Album with 16 tracks. Can I fix this ?

    Had a similar problem with two tracks from a cd being segregated in a separate list, but with the same album title and artwork as the other 19 tracks. I found that by double clicking the artist field next to the album icon you can then edit that info.  In your case it sounds as if you might want to erase the artist info altogether. Once you have done that, all the tracks magically group together, as they should have done in the first place. Oh there might be a dialog box first, asking if you really want to do this.
    Hope this helps.

  • HT4623 I bought an iPhone 3GS from eBay all was fine until I had to restore software and now it won't activate I've been ushering a 3 SIM card but now it's just saying your phone could not be activated help plz

    I bought an iPhone 3GS from eBay all was fine until I had an hardware fault I sorted that out on mp pc and now it won't activate I've been using a 3 SIM card since I have had it and it just won't activate.as far as I'm aware I bought the phone as new so no jailbreak can any1 help

    Your ebay purchased phone was hacked/jailbroken. You cannot get help here for jailbroken phones. Sorry.

  • I downloaded later software for my Ipad so i coudl watch a film. I backed up using itunes on my new computer. All going well until i tried to restore all it says is you have 5 computers so have read every article and tried everything

    I downloaded later version of IPad software to watch a film. I backed up on itunes. All going well until i try to restore from itunes and all it says is you have used 5 authorisations. I've tried deauthorising and it then says I have been successful and now i have 0 computers authorised. I have two apple ID's so tried both. I cant locate anywhere it says deauthorise all. i've followed all help instructions to the letter over and over again. I am going on holiday thursday and cant get anything on my IPAD other syncing with Itunes but then on computer screen says cant sync unless deauthorise one of your 5 computers. Nightmare. I've spent hours since sunday and no further forward. Anyone any clues?

    Hello EricaLock
    There are a few restrictions when it comes to deauthorize all option. One of them is that there has to be at least 2 accounts signed in. Another option is that you can only deauthorize all once a year. Check out the article below for more information and if you are still stuck, there is an option for further assistance with contacting the iTunes Store for support.  
    iTunes Store: Authorize or deauthorize your Mac or PC
    http://support.apple.com/kb/ht1420
    Regards,
    -Norm G.

  • My iMac started and locked onto a white screen. Rebooted and all was well. How do you do a safe start i.e. what key do you press?

    My iMac started and locked onto a white screen. Rebooted and all was well. How do you do a safe start i.e. what key do you press?

    It should according to http://support.apple.com/kb/ht1455. Review that and try again.

  • Mac Book Pro just got it, all was well for 2 weeks now Finder window does not fill whole screen, there is an 1 1/2" space of black on the right side and the Finder window had a 1" section that flipped like a rolling tv now it is a white bar! Help!

    Mac Book Pro just got it, all was well for 2 weeks now Finder window does not fill whole screen, there is an 1 1/2" space of black on the right side and the Finder window had a 1" section that flipped like a rolling tv now it is a white bar! Help!

    Bad video card, call Apple, get a case number and return it.

  • Plug-In not working on any browser, Latest Flash is installed properly,all was fine until i updated

    Hi guys, all was working fine until yesterday when i updated flash to the newest version, im sad because i can't open any video on youtube, i tried with safari, firefox and chrome, no one seems to work fine. Please if you can help me i will be very happy.
    I tried uninstalling and reinstaling but the result always is the same.. i can't enjoy internet as in the past because i can't open ANYTHING, this is not funny
    Please help!!
    imac 3.06 Ghz Intel Core 2 Duo
    4GB Ram
    OSX Mountain Lion 10.8.4
    Ivan.

    Download the offline installer here: http://fpdownload.macromedia.com/get/flashplayer/current/licensing/mac/install_flash_playe r_11_osx.dmg
    If it won't download directly, right click and "Save as"
    Go to: Mac HD/Library/Internet Plugins
    Trash the Flash Player.plugin file from there
    Go to: Mac HD/Library/Application Support/Adobe
    Trash the Flash Player folder (the whole folder)
    Empty the trash
    Reboot
    Mount the DMG and run the installer.
    BEFORE opening any Flash content in Safari, open Safari>Preferences, and check the Security tab to make sure "Allow all other plugins" is checked.

  • I have a 500 GB hard drive and a 1TB Time Capsule running on a MacBook Pro.  It was all working well until the MacBook went in for a repair a week or so ago.  Since then, TC will not perform a backup;  instead, it says the backup is too large for the disk

    Since having my MacBook Pro repaired (for a video problem) Time Capsule returns the following message:  "This backup is too large for the backup disk. The backup requires 428.08 GB but only 192.14 GB are available."
    I notice that there is also a new sparse bundle.
    Since TC has my ONLY backup (going back about 4 years) I am reluctant to wipe it and start over fresh as I am afraid of losing files. 
    Is there a way of dealing with this?
    I am using Snow Leopard 10.6.8

    The repair shop likely replaced a major circuit board on your MacBook Pro, so Time Machine thinks that you have a "new" computer and it wants to make a new complete backup of your Mac.
    You are going to have to make a decision to either add another new Time Capsule....or USB drive to your existing Time Capsule....and in effect start over with a new backup of your Mac and then move forward again.
    For "most" users, I think this is probably the best plan because you preserve all your old backups in case you need them at some point, and you start over again with a new Time Capsule so you have plenty of room for years of new backups.
    Or, as you have mentioned, you have the option of erasing the Time Capsule drive and starting all over again. The upside is that you start over and have plenty of room for new backups. The downside is that you lose years of backups.
    Another option....trying to manually delete old backups individually....is tricky business....and very time consuming. To get an idea of what is involved here, study this FAQ by Pondini, our resident Time Capsule and Time Machine expert on the Community Support area. In particular, study the pink box.
    http://web.me.com/pondini/Time_Machine/12.html
    Once you look through this, I think you may agree that this type of surgery is not for the faint of heart.  I would suggest that you consider this only if one of the other options just cannot work for you.

  • I just installed 10.6.3 from the disk and then updated to 10.6.8. After restarting I did a disk verify to make sure all was well and it told me it wasn't and that I needed to erase, reformat and install again. Is there something I am missing?

    I am really tired. I have been working for days to upgrade my 2008 Mac Pro. I purchased 10.6.3 and did all available updates. I then downloaded mavericks which took forever. Once I tried to install mavericks it locked up my computer on the install screen. I eventually reinstalled 10.6.3 after erasing my HD and I worked perfectly. I again installed the combo pack to update to 10.6.8. After doing this I did a disk verify before going any further and again it said there were problems. I tried a disk repair and was unsuccessful and had to erase and reinstall 10.6.3. What am I doing wrong?
    Mike

    Your Boot Drive may be dying.
    Do not wrestle with it now. Instead, take a new drive and Install Mac OS X on it from scratch. If you do not have an available drive, buy one -- they are well under US$100. There is no need to shuffle drives around, your Mac will boot from whatever drive is specified in System Preferences > Startup Drive.
    Once you have a working version of Mac OS X, the full Mac OS X can be applied to resolving those other problems. Solving problems with just the Installer and its Utilities is very difficult.

  • Just When I Thought All Was Well....

    lol well here's another problem for you guys.
    I synced all my videos onto my iPod, and they all work except for these 2 videos that I got off Veoh, that thing that lets you download videos. So two of the videos that I got from Veoh showed up in the Movies section of iTunes, & when I try to sync them the error msg pops up (Video cannot be synced because it cannot be played on iPod, and I click the plus button and it says the audio format is not supported.) So then I right clicked the video, and voila! Converted it to be playable on the iPod. One video finally was synced, but it turns out I can't hear it. sigh
    Help?

    Try using MPEG Streamclip to convert the videos; more information on this issue is available in this article.
    (32187)

  • TS3694 Rec'd a note to update iTunes to version 11.1.4 on my PC.  All was routine until an error message appeared: "MSVCR80.dll is missing".  I''m at a loss as to how to fix this.  Help

    Can't download and install iTunes update to version 11.1.4 without receiving an error message: "MSVCR80.dll is missing".  What do I do?

    Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
    (99804)

Maybe you are looking for