Can't change document root in MAMP Pro - apache

I have version 3.3 of MAMP Pro. When I click the icon to change the document root for one of my virtual hosts, it shows all of the blue folders in my Finder as grayed out. There is one exception, I am able to go into Applications/MAMP/htdocs and successfully select that directory.
Why are all the rest of my directories grayed out?
Thanks!

Seems a permission rights issue.
Check who is the runner of your Mamp services in settings (usually you or www/sql).
Check the permissions applied for folders you want to use as document root.
Change permissions to allow the "services runner" to read and write in this folder.
If necessary add this user in Get info window of this folder by clicking Alt and + button at the bottom left of window.
It works for me by adding _www (# World Wide Web Server) group to read and write.
Hope this helps.

Related

Onlyoffice shows file access error when I try to save new document to my desktop (Windows 10)

I have a problem with Onlyoffice showing an error when I try to save any document.
The issue says that the file I try to save is already accessed by another program, I have no permissions to the folder or there's no space on my drive. The document is new, just getting created now via Onlyoffice so it can't be locked by another all. I have 230GB free on this c:\ partition and I try to save to a desktop of my user. And I have an admin role. So none of these 3 reasons is right.
It's a fresh install on Windows 10 x64 logged in as a user belonging to the Administrators group. So really not sure why it would have any problems with the permissions... Could anyone from the Onlyoffice possibly assist?
I want to use Onlyoffice as it's a great alternative to the other main office-suite products that I find overpriced.
Thanks
It's a fresh install on Windows 10 x64 logged in as a user belonging
to the Administrators group.
Do you have any AV software installed? If yes, please try saving the file with the antivirus disabled.

XAMPP installation on Win 8.1 with UAC Warning

I am trying to install Xampp win32-1.8.2 on Windows 8.1. I get a message saying" Because an activated user account User Account on your system some functions of XAMPP are possibly restricted." I've tried to change the user account control settings but still the warning is there. And the APACHE does not start. I've also disabled my IIS but still, its not working. What should I do? Thanks.
There are two things you need to check:
Ensure that your user account has administrator privilege.
Disable UAC (User Account Control) as it restricts certain administrative function needed to run a web server.
To ensure that your user account has administrator privilege, run lusrmgr.msc from the Windows Start > Run menu to bring up the Local Users and Groups Windows. Double-click on your user account that appears under Users, and verifies that it is a member of Administrators.
To disable UAC (as an administrator), from Control Panel:
Type UAC in the search field in the upper right corner.
Click Change User Account Control settings in the search results.
Drag the slider down to Never notifyand click OK.
open up the User Accounts window from Control Panel. Click on the Turn User Account Control on or off option, and un-check the checkbox.
Alternately, if you don't want to disable UAC, you will have to install XAMPP in a different folder, outside of C:\Program Files (x86), such as C:\xampp.
You can solve the issue by
Ignore the warning and Install XAMPP directly under C:/ folder. It will solve your issue
You can deactivate the UAC which i don't recommend. It's makes your PC less secure.
As ivan.sim writes in his answer
Ensure that your user account has administrator privilege.
Disable UAC(User Account Control) as it restricts certain administrative function needed to run a web server.
Install in C://xampp.
Problem with the correct answer is in the explanation of point 2., and magicandre1981 writes more about it
Moving the slider down doesn't completely disable UAC since Windows 8.
This is changed compared to Windows 7, because the new Store apps
require an active UAC. With UAC off, they no longer run.
How can we then disable UAC and install XAMPP?
Easy. Go to Registry Editor and navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Right click EnableLUA and modify the Value data to 0.
Then restart your computer and you're ready to install XAMPP.
To disable UAC (as an administrator), from Control Panel:
Type UAC in the search button in your windows the upper right corner.
Click the (Change User Account Control settings) in the search results.
Drag the slider down and select Never notify and click OK.it will work.
There's nothing to be worried upon for this. Like other servers, install xampp somewhere outside of the default Program Files folder of Windows. It shall work fine.
I previously had wamp server installed on my machine and i never understood why wamp server installs itself outside of the default directory. Xampp cleared this, now i have both the servers lying outside the Program Files folder and are running fine.
I don't know if you are still having this problem, but I had the same problem and had a different fix than what was listed in the other answer. I did install XAMPP under C:\xampp\, and my user is an admin, but there was also something else.
I had to manually go give my user full access to the C:\Users\XAMPP\ directory. By default (at least on my machine) Windows did not give my admin user rights to this new user's directory, but this is where XAMPP stores all of it's config files. Once I gave myself full access to this, everything worked perfectly.
Hope this helps!
UPDATE!
In retrospect, I think that I must have accidentally typed in "C:\Users\XAMPP\" as the install folder during the installation process. So I think the most important thing is to make sure that the user you are actually signed into Windows as when you start XAMPP has full access to the folder that it was actually installed to.
I have faced the same issue when I tried to install xampp on windows 8.1. The problem in my system was there was no password for the current logged in user account. After creating the password then I tried to install xampp. It installed without any issue. Hope it helps someone in the feature.
You can solve this problem by installing xampp in different Drive .Instead of C Drive .
Run win+R and type msconfig
Then at tools box launch UAC
Then set it on the lowest level
Then press ok and continue your setup
Finish
change User Account Control setting via control panel
step 1 -: Go to control panel
step 2-: select 'user Accounts'
step 3-: select 'User Accounts' (Control Panel\User Accounts\User Accounts)
step 4 -: select 'Change User Account Control settings'
step 5 -: Drag the slider down to Never notify and after click ok.

OneDrive files disappearing

I have a bunch of files on my onedrive account synced with my laptop (windows 8.1) and Surface RT (Windows 8.1).
Now, if I add any files or folders (by web upload or by copying to onedrive folders on my laptop/Surface) all these files disappear from their location and I can find them in the Recycle Bin.
How can I troubleshoot this behavior?
Thanks in advance!
Try the feedback link from the options gear in the onedrive web page. They treat data loss issues very seriously and usually respond quickly.
I realize this is an old post, but I just ran across this (or a similar) issue and thought I'd share something that worked for me.
Check the following to see if the folders you've added to OneDrive are selected to be included in the sync:
Right-click the OneDrive icon in the taskbar and choose Settings
Go to the Account tab and click the Choose folders button
Select the checkbox for the folders you'd like to sync/save
NOTE: If you are saving files directly in the OneDrive directory (C:\Users\YourName\OneDrive\) instead of in a folder (C:\Users\YourName\OneDrive\MyFolder\), make sure to check the box for the "Files not in a folder" option.

how to make FTP client frontend using windows 7 theme

https://www.dropbox.com/s/jrqwi1e9ejlojam/win.jpg
As you can see in the image, in greenbox i am fetching localhost system files and functions.. which work perfectly.
but as you know FTP client has 2 modes, local and Remote site.
Now in red box you can see it blank, there i want to integrate windows 7 look like remote panel.. so once user login using his email and password and other required details.. he must see layout same as he see in green box.
I hope anyone can help me better here.
do you want to show the tree level in remote site, right ?
If you're using .NETFramework, you can use system.net library, it's support for the protocol in FtpWebRequest, in the same way as HttpWebRequest supports web requests.
Here's the step for to do like a green box :
After providing user and pass, you make a command to list all parent directory and then you show it in tree panel.
after tree panel has been generated, you can make a command list for each click in tree panel to change directory from directory parent.
If there's file in current directory, you can show it using icon file in next panel.
next is up to you, what's going on after a file has been clicked, double clicked, or right click.

How do I resolve the config error which states a machine to application error

I imported a website made in visual studio express 2008 to visual studio express 2010. When I run the home page I get the following error:
"It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS."
When I looked up the meaning of this on Google I read their needed to be a change to the configuration of the virtual directory. Another suggestion was to change the web config files . T
Were these suggestions correct? If so how do I emplement them so that I can view these website pages on my local machine.
To try the first suggestion:
Right-Click MY_COMPUTER, choose MANAGE.
Expand the SERVICES (then IIS) section(s) in the left-hand pane until you can see the directory containing the "home page"
Right-Click that folder and Choose PROPERTIES.
Click the "Create Application" button.
================================ EDIT ADDED after I realized I could edit an answer
No, you can't create an app using the WINDOWS EXPLORER...
So... here's a more descriptive instruction:
Once you've expanded "Services and Apps" the left hand pane should contain (at least) "Services", Indexing Service, and "Internet Information Services."
Click the "+" to the left of "Internet Information Services" and that action should expose (at least) "Web Sites", Again click the "+" to expose (at least) "Default Web Site."
Once more click the "+" to the left of Default, to expose the Virtual Directories.
Hopefully you will find the FOLDER in question (containing your 'Home Page'). Right-click it, choose PROPERTIES, and see the "Create Application" on the "Directory" tab of the window that pops up.
////////////////////////////////\
If You Do Not See your folder in that final list, it is because there is no virtual directory pointing to the My Documents folder that contains your web site (and home page.)
To create a virtual directory, right-click on that DEFAULT WEB SITE (now visible in the left hand pane) Click "New.." and choose "Virtual Directory." Follow the directions offered in the popup window ... i.e. Browse to your folder, etc.
Too bad StackOverflow does not offer the ability for me to add pictures.
If you still have trouble, I can create a set of screen shots for you and put a link to it in another response.
Did the directory tree get jacked up on import? I've gotten this when for whatever reason, I end up with two web.configs in the directories of the project.