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'm running:
WAMP on Windows 8
Apache Version: 2.4.2
PHP Version: 5.4.3
MySQL Version: 5.5.24
I've all the module needed for Magento active. I try to install a fresh copy of Magento and it works without problems (except the login issue that i fixed).
I did the following steps:
copy all files from remote server by ftp to www/mysite (mysite is a sub folder of the WAMP's www folder)
dump the remote db (adding drop table istruction) and imported in the local db (checked the data in local.xml)
replaced all the ocurrency in the db (http://www.mysite.it) with
(http://localhost/mysite)
the tables secure_url and unsecure_url both have the final /
Now I would just run "magento-cleanup.php" to set permission but I receive the following error:
Not Found
The requested URL /mysite/ was not found on this server.
The same thing for every page (home, admin).
Can anyone help?ell.
Not Found
The requested URL /mysite/ was not found on this server.
FYI - you are getting this error because you using wrong address
Here is the clean way of migrating magento from Remote server to localhost.
As you have mentioned that you have copied all the file from remote server to www/mysite.
SO while accessing the localhost site you should use this link localhost/mysite
and before accessing instead of changing the secure and unsecure url manually, you should let the mogento do all the necessary changes by itself.
for that first take backup and delete the following file app/etc/local.xml and than access localhost/crespigioielli, after that magento installation will be triggered. Good Luck
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
I have To create a spring batch which have To connect on remote server ( nginx) and get list or files and download on local server for treatment.
There is no API
How To do that in the best way ?
Ftp ?
Thanks
If you already have an FTP server running, you could use Apache Commons Net API to download files as shown here. However, depending on your exact scenario, FTP might be insecure.
As an alternative to FTP, WebDAV comes to mind, which is based on HTTP(S). I have used sardine for uploading files to an apache httpd server from a Spring Batch client. I haven't set up WebDAV on nginx myself yet, but you can find quite detailed instructions on the web.
Or if an sshd is running on the server, you could either use JSch to transfer the files via SFTP as described in this tutorial or use spring-integration-sftp (which also uses JSch under the hood).
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 2 years ago.
Improve this question
Trying to backup Ubuntu 18.04.1 server using duplicity to a FTPS (FTP over SSL) server. The password is stored in the FTP_PASSWORD environment variable as suggested. The duplicity command is:
duplicity /path/to/backup ftps://user#hostname/some/dir
The problem is that this translates into the following when it turns around and calls lftp
open -u 'user,pass` ftps://hostname
This will not work until you change the open command to (without the ftps:// prefix on the hostname:
open -u 'user,pass` hostname
What I cannot figure out is either:
How to tell duplicity not to build up the open command with the ftps:// prefix.
How to get lftp to work with the prefix
Note: The FTPS server works fine with other FTP clients, and even works properly with lftp as long as I build up the open command correctly.
I had the same problem that lftp worked fine with ftps when I just wrote the hostname.
Duplicity whereas did fail with some TLS unexpected packet errors.
Solution was:
instead of writing ftps:// write ftpes://
duplicity /path/to/backup ftpes://user#hostname/some/dir
This changes how and when credentials will be encrypted by lftp.
that seems wrong, https://lftp.yar.ru/lftp-man.html clearly states urls are viable
open [OPTS] site
Select a server by host name, URL or bookmark. When an URL or bookmark
is given, automaticallycally change the current working directory to the
directory of the URL. Options:
...
--user user use the user for authentication
--password pass use the password for authentication
--env-password take password from LFTP_PASSWORD environment variable
site host name, URL or bookmark name
also
cmd:default-protocol (string)
The value is used when `open' is used with just host name without
protocol. Default is `ftp'.
so removing ftps:// simply makes lftp connect via ftp which is probably not what you want.
i'd suggest you to enable duplicity max. verbosity '-v9' and find out why lftp fails to connect via ftps://
..ede/duply.net
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 7 years ago.
Improve this question
I have installed Net Beans IDE.But it makes my XAMPP server MySQL non function able.Please see attachment.How I can configure to XAMPP with my old mysql database.I have useful data on my previous database.Any helps ?
This usually occurs when you have wrong credentials in your [.../phpMyadmin/config.inc.php].
If you have another mysql instance installed and the username and the password that you use in this file is different,
change the username and the password in the above file to match.
Edit: Try running cmd as an administrator and type sc delete mysql.
Restart xammp.
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 am trying to get the Candy.js example to connect to a locally installed ejabberd server that I have configured according to this tutorial.
I know nginx is proxying correctly because I can navigate to the URL I specified in the nginx configuration file and the ejabberd HTTP binding placeholder page will display correctly.
I can also connect and log into to the ejabberd server normally through an XMPP client like Pidgin. Pidgin will also connect over BOSH perfectly fine when I specify the BOSH URL in the account setup.
When I login with Candy.js with debugging turned on, it tells me it has actually logged in successfully. It then returns a 504 error. I can also look at the ejabberd "online users" page and it will confirm that I am logged in.
So my question is, what am I doing wrong and how can I get the Candy.js example page working correctly?
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 Have all the hosting details and Domain specifications, I have logged into ftp using ftp details now where to upload the files of my website to make it work?
Generally in C:\inetpub\wwwroot\. However, I highly suggest you research a lot more on the topic if you're going to be managing a web server.
You should become familiar with IIS and IIS management. In windows server 2008, You can use Server Manager to add the IIS Web Server role if it doesn't already exist. Then you should expand Roles and Web Server (IIS) to reveal "Internet Information Services (IIS) Manager". That is where you set up the web server. Explore the menus there, they provide options you will need. Enjoy!
If you have a domain name and FTP details, sounds like you're using shared hosting. In that case, often the FTP directory will have "httpdocs" in it or "wwwroot", or maybe even "public_html". You place a file there and it should be accessible through the domain. Of course it might also be the case that you will need to change your nameservers on the domain to the nameservers that the hosting company provided.
Whenever I work with a new hosting company, I always do a test with a simple "test.jpg" (no scripting, no PHP, no ASP, etc). Once that works through the URL that I expect, I start more complicated tests.