Scripting Solution For Crashing PHP

Hello,
I hope that someone here is able to assist me.
Briefly, I am running a WebSTAR server on an old Macintosh G4 500 MHz DP mini-tower running Tiger 10.4.11. One of the websites that I operate requires using PHP and a mySQL database.
While Tiger has PHP 4.4.9, I am using a self-contained version of PHP 5.2.0 which is installed in:
/Applications/PHP5/bin/this is where the actual php binary is located
This is a self-contained PHP package that I downloaded from the Zend website.
The problem is that PHP crashes several times throughout the day. I don't know if it is a result of so many search bots hitting the site, or people who are maliciously attacking the site, or what, but the constant PHP crashing is annoying, and makes the site unreliable.
Currently, the way I have dealt with the PHP crashing problem is by keeping Activity Monitor open on my desktop, as well as the Terminal. Whenever I see PHP disappear from Activity Monitor, I follow the instructions provided by 4D -- the makers of WebSTAR -- and type the following in the Terminal to restart PHP:
set env PHPFCGICHILDREN 8
./fcgirunner.pl xxxx ./php
The x's are the port number.
"fcgirunner.pl" is an old PERL script released by Zeus Technology to startup remote FastCGI processes with their Zeus Web Server. In other words, it is my understanding that with the above commands, after setting 8 child processes for PHP, the second command uses the fcgirunner.pl PERL script to start up PHP in fastcgi mode, and listens on port xxxx.
As you can imagine, it is a hassle to have to keep an eye on PHP, and reboot it manually every time that it crashes, and I do have to sleep. With that in mind, I am interested in finding a way to automatically watch the PHP binary that is located at the above path, and to automatically relaunch the PHP binary in fcgi mode by using the above two Terminal commands, without having to keep Activity Monitor and the Terminal open all the time.
BTW, the fcgirunner.pl PERL script is located at the same location as the php binary in /Applications/PHP5/bin/.
In short, I need a solution which will do two things:
1. Keep an eye on the self-contained PHP installation.
2. Automatically reboot the PHP binary in fcgi mode -- as per the above two Terminal commands -- every time that it crashes.
Someone on another site suggested that I use a shell script, but I have basically no experience with such things. They suggested that I begin with something like the following, but to be honest, it is all Greek to me:
=============================
[CODE]
#! /bin/bash
ofPid='/bin/ps -ax | grep php | grep -v pidcheck.sh | grep -v grep'
if [[ -n "$ofPid" ]]
then
exit 0;
else
/Applications/PHP5/bin/fcgirunning.pl
fi
exit 0;
[/CODE]
=============================
Another person suggested that I use "launchd with the KeepAlive key enabled", but I have no idea whatsoever how to do that. They offered this example:
=============================
[CODE]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>my.textedit.job</string>
<key>KeepAlive</key>
<true/>
<key>ProgramArguments</key>
<array>
<string>/Applications/TextEdit.app/Contents/MacOS/TextEdit</string>
</array>
</dict>
</plist>
[/CODE]
=============================
They also pointed me to the launchd manual here on the Apple site, and also to a page about daemons and agents, but again, it is way over my head.
According to another person, what would be perfect would be a shell script enclosed in an Applescript, which I could save as an application, and then add to my startup items. That way, the minute I start up the G4, PHP will automatically be launched, and the script will keep an eye on it, and relaunch it if it crashes.
It would be necessary for this script to check the PHP process every minute to make sure that it is still running, as otherwise, if PHP crashes, visitors to the site just get a blank, white page.
Please bear in mind that I am not very proficient at using the Terminal, and have very little experience at writing Applescripts, or any other scripts. So, if anyone here offers that kind of a solution, you will need to provide me with very clear step-by-step instructions.
*Please note that the solution must work on an old G4 mini-tower running Tiger 10.4.11*
Thanks so much in advance. I hope that this issue can be resolved soon.

Hi Warren, I have no solution, but posting should bring this topic back to the top where somebody that does know can possibly see it again.

Similar Messages

  • Any solution for preventing converted data (to excel) from crashing?

    Any solution for preventing converted data (to excel) from crashing - file crashes on a consistent basis.

    Hi Shrinivas,
    LabVIEW is getting bug fixes and new features with each version step.
    But new features also can bring new bugs - and not all bugs from older versions are fixed by now…
    The MixedSignalGraph is a beast of it's own and known to have bugs inside. The one you noticed now is probably one of those.
    So it's not your fault your VI terminates rather "unhappy", but most probably NI's fault. You can have a workaround as described in the last post.
    If I have to take same data from wire as you mentioned, I need to save the data in some variable
    No, you don't need any "variable"! THINK DATAFLOW: the wire is the variable!
    I have to write the data to excel file using report generation tool kit or some other way. … Please let me know if I can do it in some other easy methods. 
    It all depends on the datatype of your data. There are functions to save to spreadsheet files. You can save in binary files. You can create TDMS files , which can be read by Excel too. All those functions are really easy to use - you just have to look at the example VIs coming with LabVIEW!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Solution for Thunderbird 25.0 crashes after installing provider 1.0.2

    After noticing that provider had stopped working I checked and found that the old Google API had been discontinued. The provider author advised to change to provider 1.0.2 as an interim measure but to await 1.0.3. I did this and Thunderbird crashed every time it started. the solution for me was to upgrade to latest 31.2 Thunderbird and then opt to accept latest lighting add-on during the set up.
    Result is every thing now back to normal. Whew that was scary! Many Thanks to the provider author for posting the note about demise of old Google API. My system was running Win 8.1

    Thanks Zenos, Its just as well you posted your response as several days later a bug showed up in new provider 1.0.2 that has been acknowledged by the author. the Google calendar events dissappear even though the sync is working without error. The author is working on a fix. In the mean time I took up your suggestion to set up a caldav link to Google calendar (note there is a new caldav address as old one was changed by Google). After some fiddling around with the address and inserting my Gmail address into the caldav address string (I missed this the first time reading the notes on the link) it works great. So all back to normal. I disabled the provider exentsion for now and deleted the original calendar uaing that link

  • Maybe the solution for the BDM crashing

    HEY GUYS!
    I found a solution(at least for me) for the same crashing situation thats everyone have.
    First, I'm running Windows XP Pro SP3.
    I tried everything post in this forum, even in other forums. I've checked the recommend configuration to see if I'm missing something. I saw maybe my .Net framework was not up-to-date so after installing the v4, it dosen't do anything better. So here is the step I made to solve this :
    - Start BDM
    - Crash occur
    - Plugged my Blackberry without selecting in the device what I wanna do
    - A message appear on my computer saying it missed a filled to continue, Xmllite.dll
    - Gone to MS website to download the package : http://support.microsoft.com/kb/915865/fr
    - Installed it
    - Always with the device plugged, i start BDM
    - IT WORKS! NO CRASH!
    So give it a try to see if it can be the solution for all of us. If so... Merry Christmas!

    Thank you for your solution...happy Christmas

  • REGARDING SCRIPTS.... CAN ANY ONE GIVE THE SOLUTION FOR THIS

    I have copied the standard script ML_SERVICE_ENTRY to ZFORM.... in tcode se71 but it has its original lang. - DE and lang - EN , if i get into this ZFORM ...
    in change mode,  the creation of windows, windows allignment and convert original lang. are in disabled mode , here i have to change the window size to add some text , is there any other method to change the language and to get these things in
    enable mode. plz give some solution for this one.

    Hi Mohan,
    While copying itself U have to give the Language in which U want to maintain, else U are supposed login in with the original Language only.
    Regards,
    Mohan
    *Reward if helpful*

  • Is ColdFusion the solution for me?

    I've recently started working with Air for a client and I've been having somewhat of a hard time converting.  I'm normally a .net developer so I'm trying to overcome my learning curve.  I'd like to know if ColdFusion would be a good solution for the problem I'm facing.
    I have an Air application that needs access to a simple xml file that sits on an external server.  This file can't be exposed for security reasons.  The security can be simple, I just don't want any random person being able to view it via a link.  I noticed ColdFusion could help here.  It seems as though I may be able to use the URLLoader with a URLVariable and call a ColdFusion application that's on the server that has access to the document.  Is this the case or am I oversimplifying this.  I got the idea from an example http://help.adobe.com/en_US/as3/dev/WS5b3ccc516d4fbf351e63e3d118a9b90204-7cfd.html#WS5b3cc c516d4fbf351e63e3d118666ade46-7cb2.  If this is the case, I'll get CF and all will be well in the world.
    My other solution was to write a .Net web service and try to access it with AS3 but that seems fairly messy to me.  I also considered a PHP script that could give it to me but that as well seems messy.
    So I ask, is CF for me?
    I appreciate any help.  This is a new concept and a new development environment so I apologize in advance.

    Price aside, would CF work for my solution?  Here is what I'm thinking.  I'm sure this isn't correct but should give an understanding.  If I use the following code(I'd add in some variables later):
    <cfset myXML= XMLParse(ExpandPath("xmlDoc.xml"))>
    <cfoutput>outputXML=myXML</cfoutput>
    And make a simple call to it like this:
    var request:URLRequest = new URLRequest();
    request.url = "myaddress.com/xmlReader.cfm;
    request.method = URLRequestMethod.POST;
    var loader:URLLoader = new URLLoader().
    //add the rest of the code here
    Am I oversimplifying this or would it reabe this simple?  If it is this simple, I don't mind making this investment.  I could use this kind of functionality on a few other applications I intend on making and I'm sure I can find new uses once I dig into CF.
    As far as price, it looks like the standard edition is in my price range if I'm correct.  I was pricing the enterprise edition previously.

  • Ever since the last update, My iTunes continues to quit unexpectedly. It will open for one second and then close. Anyone have a solution for this. Please help.

    Ever since the last update, My iTunes continues to quit unexpectedly. It will open for one second and then close. Anyone have a solution for this. Please help.
    I've tried my best to troubleshoot. . . opening in safe mode nothing seems to work.
    In the problem report, this is the error that stood out:
    Crashed Thread:  8  Dispatch queue: com.apple.iad.iadidmanager
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000090

    Hi there navicin79,
    You may find the troubleshooting steps in the articles below helpful. The first thing I would try is reinstalling iTunes as outlined in the first article.
    Troubleshooting iTunes installation on Mac OS X
    http://support.apple.com/kb/ht2311
    OS X Mavericks: If an app freezes or quits unexpectedly
    http://support.apple.com/kb/PH13975
    -Griff W. 

  • Unable to charge my Ipad 4 with my Laptop (HP 7010tx) USB . I am Getting error message as "Not Charging" . Please give a solution for this ...???

    Unable to charge my Ipad 4 with my Laptop (HP 7010tx) USB . I am Getting error message as "Not Charging" . Please give a solution for this ...???

    The quickest way (and really the only way) to charge your iPad is with the included 10W or 12W (5W on Mini) USB Power Adapter. iPad will also charge, although more slowly, when attached to a computer with a high-power USB port (many recent Mac computers) or with an iPhone Power Adapter (5W). When attached to a computer via a standard USB port (2.5W, most PCs or older Mac computers) iPad will charge very slowly (but iPad indicates not charging). Make sure your computer is on while charging iPad via USB. If iPad is connected to a computer that’s turned off or is in sleep or standby mode, the iPad battery will continue to drain.
    Apple recommends that once a month you let the iPad fully discharge & then recharge to 100%.
    How to Calibrate Your Mac, iPhone, or iPad Battery
    http://www.macblend.com/how-to-calibrate-your-mac-iphone-or-ipad-battery/
    At this link http://www.tomshardware.com/reviews/galaxy-tab-android-tablet,3014-11.html , tests show that the iPad 2 battery (25 watt-hours) will charge to 90% in 3 hours 1 minute. It will charge to 100% in 4 hours 2 minutes. The new iPad has a larger capacity battery (42 watt-hours), so using the 10W charger will obviously take longer. If you are using your iPad while charging, it will take even longer. It's best to turn your new iPad OFF and charge over night. Also look at The iPad's charging challenge explained http://www.macworld.com/article/1150356/ipadcharging.html
    Also, if you have a 3rd generation iPad, look at
    Apple: iPad Battery Nothing to Get Charged Up About
    http://allthingsd.com/20120327/apple-ipad-battery-nothing-to-get-charged-up-abou t/
    Apple Explains New iPad's Continued Charging Beyond 100% Battery Level
    http://www.macrumors.com/2012/03/27/apple-explains-new-ipads-continued-charging- beyond-100-battery-level/
    New iPad Takes Much Longer to Charge Than iPad 2
    http://www.iphonehacks.com/2012/03/new-ipad-takes-much-longer-to-charge-than-ipa d-2.html
    Apple Batteries - iPad http://www.apple.com/batteries/ipad.html
    Extend iPad Battery Life (Look at pjl123 comment)
    https://discussions.apple.com/thread/3921324?tstart=30
    New iPad Slow to Recharge, Barely Charges During Use
    http://www.pcworld.com/article/252326/new_ipad_slow_to_recharge_barely_charges_d uring_use.html
    Best Practices for iPad Battery Charging
    http://www.ilounge.com/index.php/articles/comments/best-practices-for-ipad-batte ry-charging/
    Tips About Charging for New iPad 3
    http://goodscool-electronics.blogspot.com/2012/04/tips-about-charging-for-new-ip ad-3.html
    How to Save and Prolong the battery life of your new ipad
    https://discussions.apple.com/thread/4480944?tstart=0
    Prolong battery lifespan for iPad / iPad 2 / iPad 3: charging tips
    http://thehowto.wikidot.com/prolong-battery-lifespan-for-ipad
    iPhone, iPod, Using the iPad Charger
    http://support.apple.com/kb/HT4327
    Install and use Battery Doctor HD
    http://itunes.apple.com/tw/app/battery-doctor-hd/id459702901?mt=8
    To Extend a Device’s Battery Life, Get to Know It Better
    http://tinyurl.com/b67c7xz
    iPad Battery Replacement
    http://www.apple.com/batteries/replacements.html
    In rare instances when using the Camera Connection Kit, you may notice that iPad does not charge after using the Camera Connection Kit. Disconnecting and reconnecting the iPad from the charger will resolve this issue.
     Cheers, Tom

  • Make your own Fax Server with Automator! (Pagesender solution for Mavericks)

    I have been scouring these discussion boards for some time now looking for a suitable substitute to PageSender, an awesome fax solution for the Mac from SmileOnMyMac LLC, which for some inexplicable reason stopped development and updates after OS 10.6.8. The result is that many small business office users who still rely on fax (and yes...no matter what they tell you, most of the business world DOES still use fax because it's legally binding and more secure than email for the transmission of legal documents or healthcare records, and does not rely on database integration accross different systems, which is sadly but very realistically still a long ways off), and no longer have a way to integrate faxes into a paperless or digital workflow office system.
    I suspect like many folks who receive faxes, those who used PageSender, used a very powerful feature to forward faxes by email, thereby turning your Mac into a Fax server that could distribute your faxes to other workstations and staff throughout the business via email. Presumably, if you have your own email server (Exchange, Kerio, AppleMail server, PostFix enabler etc.) you could distribute faxes on your own internal network, securely behind a firewall, and effectively create a digitial/paperless workflow for your faxes.
    Even if you have a USB modem or multifunction printer that allows you to recieve a Fax to your desktop (Apple's internal fax via printer preferences, and some HP models like the HP MFP 127fw) for example will allow you to recieve a Fax to a desktop folder or forward to a single email address. But the former is of limited functionaliy and the later only lets you send to an email address out over the internet with a registered public domain, which means you give up all control of privacy and means you can't process it through a private mail server to create a digital workflow for your office...
    ...Until now!!!
    I am happy to report that I have finally discovered a very easy and useable feature that will save a lot of time, money, and headaches for those looking to create a digital workflow and fax server system for a small office system. (I don't think there is any limit to scale here, but I suspect offices with more than 10 employees probably have a BizHub, or HP MFP/digital sender that can create the same process directly from the printer, but of course these come with a price tag of $2000 and up...).
    To accomplish this however, you will need some basic requirements which are as follows:
    1) A USB modem from either US Robotics or Zoom Modem. These are readily available from Amazon, MacMall or any number of other online vendors and work very well and seemlessly with all Macs running OSX right up through Mavericks
    OR
    A Multifunction printer that is capable of receiving faxes to a desktop Mac like the HP 127 fw. Other models exist from other manufacturers as well, but you will have to do a bit of research and probably check with the vendor or user manual directly to confirm that Fax to desktop is supported for Mac and OS 10.9.
    2) A dedicated Mail Server (MSFT Exchange, Kerio, MacOSX server with mail server enabled, or PostFix enalber or MailServe from Cutedge Systems)
    You will need to set up an email account on your server that is the parent for all incoming faxes from which the faxes will be sent out as part of your digital workflow. This is beyond the scope of this discussion but if you've come this far and you're still reading, you probably know  how to do this already. I recommend setting this up as a POP account, not IMAP. This way, the attatchments (your faxes) will always remain on your server as a back up, until you delete them from the server.
    3) Now simply go to System preferences and select "Printers and Scanners". Select either the Fax printer for your multifunction printer, or add a fax printer/reviever using the + button and select "Fax" if you are using a USB modem. You must have the USB modem attatched to the computer in order to use the built-in Apple Fax feature for the latter option.
    4) Now click on the receive options. Select "Recieve faxes to this computer" and set your ring answer settings. Check "Save to" and select the designated folder (either Faxes or Shared Faxes on your computer) or create a new folder. Depending on the volume of faxes, and your back up systems, you may want to designate a separate folder on a separate drive, exclusively for your Faxes. This is where all your faxes will be stored.
    5) Now launch "Automator" in your applications folder and create a new workflow. You will be presented with several options. Select "Folder Action".
    6) At the top right of the window space you will see "Folder Action receives files and folders added to" . Select the Fax folder you created in step 4.
    7)On the left hand side of the "Actions" menu select "Mail"
    8) From the list of actions select "New Mail Message" this will take the latest Fax added to your Fax folder and attach it as a PDF to a new outgoing mail. In the "TO" address put the email address that belongs to the parent account your created for the Faxes on your mail server eg. [email protected].  In the subject field you can put "Fax Workflow" or any other generic subject that will identify to all reciptients that this is an email that contains a Fax/PDF attatchment.
    Under "account" use the SMTP account you set up on your mail server to handle the routing of internal emails. In most cases, this will be the same as the parent account created above. (Effectively, this account is sending and receiving emails to itself).
    9) From the list of actions, select "Send outgoing messages".
    10) Save the Automator workflow with a name like "FaxDistribution" or "FaxFlow".
    11) Go back to the Fax folder you created in step 4. Right click or option click on the folder and scroll down the options menu and select "Folder Actions Setup". You will see a list of scripts including the Automator workflow you just created. Choose it.
    That's it!! From now on, when you get a fax, it will get dumped into the designated fax folder, and this will automatically trigger the workflow to atttach and send it as an email to anyone in your office that is set up to receive emails with the "faxserver" address. You now have a paperless fax digital workflow server system for distributing your faxes digitally to anyone in your office who needs to review your faxes. Good luck!

    Thank you for this interesting posting.

  • Best solution for customers to edit InDesign files within a browser????

    I have done a lot of research of some of the companies out there now that do this (one2edit, wealledit, chilli publishing, etc.) and none are really what we are looking for.  To begin, we are a publishing company that produces custom academic planning calendars....which includes formatting rules/regulations for schools that will be included with a calendar.  Basically, we currently export an RTF each year and the school will edit that RTF file.  We then use some custom scripts to import back into InDesign.  Now, if they do this correct (use our styles in the file, etc)...typically, this works pretty well.  However, out of 2000+ schools, probably only 60-70% do this right....which leads many more hours of formatting, etc.  We also post a PDF proof online before we send the files to print and the school has an opportunity at that time to make changes, edits, etc. to the rules and regulations section.  Currently, they simply tell us what they want changed, added, etc and we do that for them.
    Our goal here:
    We would like the schools to be able to make their changes in the begining of each year as well as at proof time live in the InDesign document via a browser.  One company that is similar to this is WeAllEdit.  There are some issues with how they update the info live (to see page flow), etc. and that is a huge feature we need.  We would like the admin at the school to make whatever edits they have each year or at proof time in a browser that looks EXACTLY like the InDesign document we have created for them.  This will include current page flow, paragraph styles, custom tabs (mainly text).  If they are to make a change in the browser that affects page flow - i.e. pushes something to a new page or pulls something from the next page, we want to be visible to the customer so they can see exactly how the flow of the document is and how it will print. 
    Solutions:??
    - Again, WeAllEdit seems to be the closest to what we are looking for (for a reference point), but, still has issues with what we are looking for. 
    - Do we investigate purchasing a InDesign server license and develop/design our own interface for this? 
    - Is .XML an option?  You can currently export an XML file with tagged text.  Is this something that can be translated into an online feature with a good designer?
    - other suggestions??
    Sorry for the lengthy post, just wanted to be very specific as to what we do and what we are looking for.  ANY help or suggestions would be greatly appreciated!!!  

    I am faced with the same problem today. Did you ever work out a solution for this?

  • Solutions for connecting dual screens to MacBook Pro?

    Anyone have any solutions for connecting TWO (2) individual displays to a MacBook Pro?  I am currently using "Matrox Power Desk" but this thing *****!  I have two Apple 23" Displays (they're older, probably from 2006ish) and want a better method for connecting them both to my MacBook Pro.
    Any suggestions are appreciated!

    The Matrox MXO is a pretty good solution.
    http://library.creativecow.net/articles/ross_shane/MXO.php
    Shane

  • Solution for sharp edges on Retina MacBook Pro

    The sharp edges on the front of my new Retina MacBook Pro (late 2013) drove me crazy cutting into my wrists.
    My solution is two pieces of self sticking velcro - the loop kind of velcro which is soft. Apply them across the top and down the front edge on either side of the trackpad all the way out to the side edges. They are not too thick so as to prevent sleep when closing the cover. They don't look too bad either. I'd say they match the black keys on the keyboad.

    Launch the Console 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 Console in the icon grid.
    Step 1
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Enter the name of the crashed application or process (Finder) in the Filter text field. Select the messages from the time of the last crash, if any. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message (command-V).
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.
    Step 2
    In the Console window, look under User Diagnostic Reports for crash reports related to the crashed process. The report name starts with the name of the process, and ends with ".crash". Select the most recent report and post the entire contents — again, the text, not a screenshot. In the interest of privacy, I suggest that, before posting, you edit out the “Anonymous UUID,” a long string of letters, numbers, and dashes in the header of the report, if it’s present (it may not be.) Please don’t post shutdownStall, spin, or hang logs — they're very long and not helpful.

  • Has anyone come up with a solution for the WD Passport and Mavericks OSX issues yet?

    I was wondering if anyone has come up with a solution for the newer Macbook Pro/Mavericks and external WD Passport not mounting problems?
    I have a couple of year old WD Passport that worked fine in my old 2009 Macbook Pro, the problem is the old computer crashed.
    My dilemna; My new 2014 Mackbook Pro will not open my WD Passport, called WD Support, their answer, sorry, nothing has been solved.
    Is there anyway I can get access to my files on the Passport with any other software, or by using a PC.
    I am aware of reformatting the HD, and have read all the forums I could find and have tried installing the WD Update as well, (with the support tech from WD) and nothing works.
    I know that my WD Passport works, so please don't suggest checking it, or the cord.
    I appreciate all the help anyone can offer, and I am with all the rest of you struggling for solutions.
    Thanks so much

    Hi everyone, this is what I did
    1. upgrade disks to the latest firmware
    2. de-install ntfs-3g and MacFuse.
    3. Re-install NTFS 3G  without Macfuse.
    4. Next step: Install OSXFUSE latest version with selection MacFUSE compatibility layer.
    5. Last step: Install Fuse Wait
    Note: between steps 2 and 5, I restarted my machine.
    It worked for me, after about 4 hours.

  • How to redirect to library on button click in sandbox visual web part solution for office 365

    Hi,
    I have created a sandbox solution for Office 365 with one text box and a button. 
    On button click i am creating a library with name from text box. 
    So, what i want is redirect to newly created library as soon it get created on button click.
    how could i do that?
    Thanks

    Got the solution
    <asp:Literal ID="litRedirect" runat="server" />
    string redirectURL =
    listurl;
    litRedirect.Text = "<script type='text/javascript'>window.location = '" +
    redirectURL + "/';</script>";

  • Requesting guidance on how best to deal with removal of CreateElementSteps for tables when option to 'script validation for new constraints' is enabled during schema compare

    I have a DeploymentPlanModifer subclass that is responsible for removing certain tables from a deployment plan under specific conditions. It is relatively trivial to find the
    CreateElementSteps I need and subsequently remove them via
    DeploymentPlanModifier.Remove(), but...
    ... if in my comparison I have enabled the 'Script validation for new constraints' option, the deployment plan will contain a
    DeploymentScriptDomStep with a Batch containing AlterTableConstraintModificationStatements for tables with foreign key constraints. My problem starts here - there will be an orphaned
    AlterTableConstraintModificationStatement for each of the tables that I removed. Obviously, execution of the generated script comes to a grinding halt when asking SQL Server to to alter a table that is never created.
    I'm able to get around this by digging around in the aforementioned batches and removing the orphaned alter statements, but this seems really hacky, which makes me think I'm missing the proper way of dealing with this.
    So... if anyone is aware of a more correct way of avoiding this problem, I would really appreciate finding out more about it.
    Thanks in advance for any help. :-)

    Hi Greg. Unfortunately there is not an easy solution here. Walking the deployment model, spotting potential issues and excluding them really is what you have as an option here. The alternative is to pre-process the dacpac to have it in the form you want,
    but I'm not sure if this is an option in your case and it also has limitations.
    Regards,
    Kevin

Maybe you are looking for