Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I've been building a Wordpress Multiuser site for the last two months. Everything was good:
Had a local configuration saved in MAMP using default ports (was FTP accessible) Which means I had to edit etc/host and point to site root on drive
Had it saved MAMP's folder structure
Could toggle between default ports and MAMP ports for other sites in development
After the cleaning, MAMP Pro would crash at firing up the SQL Server.
I was able to fix the crash by going into terminal and modifying a line. The last line had my IP address and null just after it. So once I added wordpress.mu, or localhost, the server would start.
But to no avail. I can't seem to recall the configuration after I've tampered with my MAMP settings.
I believe I set an alias and named one of the hosts as wordpress.mu.
I had MAMP pointing to a folder with a different title.
The alias was local host.
And (when testing the site), I would type: localhost.localdomain/sitetitle. This is no longer working.
Can someone point me to thorough instructions or shoot me a few tips on what I should check on? While it might be an easy fix (at least I'm hoping) it's gotten a bit over my head as I am just exhausted from researching possible solutions to problems I semi-understand.
Thanks in advance community, pals, and web scientists. I'd love to treat whomever helps me successfully to a starbucks card. :)
I'm not using the Pro version, so I may a little off base here, but I'd check the following..
Does the MAMP homepage work? (http://localhost:8888/MAMP/?language=English)
Do you need to edit Apache's config? (httpd.conf) You might not need to when using MAMP Pro.
Is MySQL failing to start because there's already an instance running (look for a process called mysqld in Activity Monitor)?
Do you have a hosts entry for localhost.localdomain pointing to 127.0.0.1?
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I don't have much knowledge about servers or anything this all but have little base knowledge about HTML or LAN Networking.
As i mention in Title. I just want one simple web-page for entry our data, such as call time, location, description, caller and receiver and i know this all can do thru HTML base webpage design but what i want is share that web-page thru LAN (Not Online) for key-in 3-4 persons in different computer. What type of software (Application) i have to use and the setup.
I have a 5 PC Connected with LAN with main PC (normal windows 7 but if need can change as Server also) and i just want Web-Page or HTML Page all data store and share from the Main PC to others workers PC.
Thank You in Advance for your Amazing Answer :)
In order to achieve your goal you need to set up a server environment on your computer. The best way to do it worry free would be to use an already bundled server like XAMPP.
It's very easy to host website on xampp server by following those steps.
Install xampp in your computer/server
Place web pages in xampp servers htdocs folder
To make default path of the server edit configuration of xampp and
submit path of your web folder
Now start apache (and mysql if needed) and try to run localhost/yourwebdirectory
once run without error your server is running fine. You can also run it by using your network IP.
Now check firewall and allow port 80 (If you require database, setup port 3306 as well)
If you ever want to make it public, you can use a no-ip domain and point that to your IP Make sure the firewall allow public access.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I have couple of wifi connections out of which one works fine whereas the other one only works for some of the websites and services like google.com & skype. Browsing rest of many websites usually gives me that error:
DNS_PROBE_FINISHED_BAD_CONFIG
I rarely get following errors as well:
DNS_PROBE_FINISHED_NO_INTERNET
DNS_PROBE_FINISHED_NXDOMAIN
Another very strange thing that I experienced is that repeatedly refreshing a page often opens it whereas it doesn't apply at every web page.
I found many solutions as an outcome of long searches at Google & Stack Overflow but none of these worked. This is not a browser particular issue as getting the same issue on all the browsers I've (i.e. Chrome, Mozilla & IE). I'm getting the same issue at my official machine with Ubuntu OS & personal machine with Win10 OS. Meanwhile I've no problem with web surfing at my mobile and other PCs connected with the same connection.
Detailed information about the real cause and solution (preferably for both Ubuntu & Win10) will be highly appreciable.
For Ubuntu
These errors indicate that there is some problem with DNS.
check cat /etc/resolv.conf for your DNS settings.
And add following name server in /etc/resolv.conf for temporary or in /etc/resolvconf/resolv.conf.d/head for permanent
nameserver 8.8.8.8
nameserver 8.8.4.4
To add these two name server address in resolv.conf
run command sudo gedit /etc/resolv.conf
Copy above two line of nameserver paste on last line of resolv.conf
Ctrl+S to save.
Note: If you add name server only /etc/resolv.conf then when computer is restarted then /etc/resolv.conf is in previous stage.
So, to store these nameservers permanently, use following method :
run command sudo gedit /etc/resolvconf/resolv.conf.d/head
Copy above two lines of nameserver and paste on last line of /etc/resolvconf/resolv.conf.d/head
Ctrl+S to save.
Re-connect internet connection
More Detail On https://wiki.archlinux.org/index.php/Network_Debugging#DNS_Servers
For Windows:
Add these DNS ip on network configuration
Tutorial to add DNS in windows is here
https://www.opennicproject.org/configure-your-dns/how-to-change-dns-servers-in-windows-7/
Re-connect internet connection
Open your cmd and put below two commands
ipconfig /release
ipconfig /renew
Now open run and type ncpa.cpl and press enter .
after that on your ipv4 settings you to set below dns on there
8.8.8.8
8.8.4.4
Tuitorial : https://tricksmotion.com/how-to-fix-dns_probe_finished_bad_config-problem-in-google-chrome-tricksmotion/
I am using kali linux. I came across so many ways which all failed to work but one.
In the terminal, type:-
sudo apt-get purge resolvconf
A GUI appears, click okay. Reboot your machine. You should be able to access the internet once it starts.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I need help in accessing a SQL server that I use for my research. I have local admin permissions on the OS (Windows Server 2008). My installation of SQL Server 2008 is set up to use windows authentication only. Unfortunately, our IT person (who is in another city) changed our domain name during an upgrade of our network over the weekend. I am now unable to access our databases through SSMS. I was able to convince our IT support to give me local admin permissions on the server, but am not sure how to get back into my data and fix the log in accounts. How do I go about reconnecting to my databases and what do I need to modify to ensure I have access to my data in the event that something like this happens again?
I tried using runas to login using my old credentials, but got nowhere. I've had a look at this question:
SQL server 2008 domain change
But that seems to focus on what to do BEFORE the domain change. I didn't get any warning about it and now need to fix the problem post-hoc.
The easiest way is to start the instance in single user mode as described here: http://msdn.microsoft.com/en-us/library/dd207004.aspx
After that just start SSMS with "Run as Administrator" locally and use windows authentication to connect. From there you can create a new login or rename the existing one.
After you recovered access restart the instance in normal mode.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 8 years ago.
Improve this question
I'm my own developer for my little discussion forum and commerce website. So far so good.
Now I want to create a complete/exact copy of my production site so I can do development work without putting the production site at risk. I registered a domain www.dev-foosite.com that I hope can become the copy of my site www.foosite.com
Here's the snag. I have a VPS hosting account which works great so far -- but I can't use the cpanel backup from the main site, as a restore to the dev site. My hosting company says that there is a username conflict and even if we change the username, then the mySQL databases will need to be renamed.
So before I get wrapped around the axle on this, how should I proceed? I'd rather not have to purchase another separate hosting account but if that's the only answer I guess I will.
Go to phpmyadmin and export the database. In cpanel, go and make a new database. Then in phpmyadmin. Import the database.
Now, download all of the files into a folder from the forum using an FTP client like Filezilla
Then upload the previously downloaded files to the dev site
Edit config.php with the new database and password and change the server settings in admin control panel in phpbb to your new webiste url.
I think this website will help you out: http://www.phpbb-seo.com/en/phpbb-forum/local-server-setup-xampp-t4965.html
It basically runs you through downloading and installing XAMPP so you can download your remote site so you can work on it locally. When you're ready to go live, just publish the changes.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I currently use Komodo and work directly off a remote server. I have just discovered phpstorm and I want to start giving this a go.
My question is, how can I work off a remote server like in Komodo? I really couldn't understand how to do it!
As #LazyOne commented, it's not possible right now. You can vote for the related feature request.
PhpStorm (as of 7.1) does not support working directly on a remote server.
You should vote for the feature here as #CrazyCoder mentioned.
A temporary alternative for SFTP
You can use a SSHFS mount to work directly on files on a remote server. It isn't ideal, but I found it works ok.
I use the follow command and settings (on a mac).
To mount:
sshfs -o IdentityFile=~/.ssh/id_rsa root#xxx.xxx.xxx.xxx:/ ~/sshfs_mounts/example -oauto_cache,reconnect,defer_permissions,noappledouble,volname=example
To unmount:
umount ~/sshfs_mounts/example
For more info see http://benohead.com/mac-os-x-use-sshfs-to-mount-a-remote-directory-as-a-volume/
phpstorm has two very useful features to work with remote servers.
when you commit, it can automatically deploy/upload to the remote
location (sftp, ftp).
when you commit you can also push to remote location git or other vcs.
It is correct as mentioned, phpstorm needs the local copies of the code aswell.