I want to use phpList when user signs up in my website.
Currently i am working in local. To install phpList should i only copy to content of public_html/lists/ folder or whole public_html/lists folder into my local folder.
I tried this.
1)
I am bit confused here. Because i tried both in documentation it says you need to copy the content of the public_html/lists/. When i am doing this it successfully installed but when i try to create new subscriber page and try to save changes it give me this error "The requested URL /lists/admin/ was not found on this server."
2) When i copied lists/ folder into local server and when i tried open admin page it displays this. it hasn't even shown installation process which it normally does(database initialization).
To install phpList into local what should be copied into local folder?
I had this same issue after installing a second instance of PHPlist. The way I was able to fix it was by rebooting my server entirely. Upon logging in, I got the standard installation page. (Otherwise, I continued to receive the missing tables and invalid login page, even when rebooting XAMMP on a Windows Server.)
Related
I created a my_functions.php file and installed it to WordPress as a plugin (started with something real simple, then expanded it).
It does what it's supposed to do, but it runs every time the web site is opened.
I left in the echo commands for debugging so all the comments are displayed, and after it ends, the web site is displayed.
I can fix that, but here's the real problem: I can't log into WordPress-Admin in order to fix it.
When I log into wp, the function runs and ends and that's it - nothing else - it doesn't take me to the admin area.
I tried using FTP to log into wp, but I'm not that familiar with FTP and I'm getting a credential error. BTW, I'm using my wp login info.
Maybe there's a way to prevent functions from running during login, like shift-run in Windows that prevents on-open scripts from from running?
Thanks for your help.
FTP: Wont be the same as the wp login details. You need to get those from your host.
You can deactivate the plugin by logging into your web host cPanel, locating the plugin folder in /wp-content/plugins. Simply download a copy of the plugin folder then delete it from the web files. Wordpress will then load fine and you can take the time to go through your code.
You would be better to setup something like XAMP (Linux), WAMP (windows) or MAMP (mac). Its local development environment which will allow you to develop locally so you can access files though your normal file manager.
I uploaded a php script to a subdomain that I own, for testing and customizing purposes before it goes live (I had planned on moving everything over to the root domain when done).
Someone then suggested that I work on in Xampp instead as it is all locally installed and therefore much faster, etc.
Thing is, I had already customized the script a lot (mostly CSS but also uploaded graphics via the admin panel, etc) while it was up live on the web host, so I would like to run a copy of the most up-to-date version of it in Xampp and continue customizing it from there.
I downloaded a copy of all my files by FTP into htdocs > Test folder. I also downloaded a copy of the database via phpmyadmin and imported it via phpmyadmin into my localhost.
The big problem I have is when I try to access the scritp via localhost, the url immediately reverts back to the live url. How do I set it to link to the local host copy instead?
Thanks.
Based on AbraCadaver's suggestion, I found the answer lied in changing the URL parameters in config.php
Thanks
I couldn't trace the issue while migrating.
I am using XAMPP server in local machine and I have tried to export live site and then import it by "all in one wp migration" plugin but I got "theme not found" error when I visit my site locally. the website is working perfectly on the server.
I have performed the following steps:
export and download site from the server's wp-admin panel.
install and activate "all in one wp migration" in my localhost wp-admin.
import the downloaded site in my localhost.
now it prompts "successfully imported" and have the link for setup permalinks.
when I click on it I found internal server error.
I would suggest to perform a manual migration which is done in few easy steps:
1) Archive the folder of your website from your hosting account;
2) Go to the phpMyAdmin and export the database connected with the Wordpress (which you can see by inspecting the wp-config.php file, where you can find the database username / database name and password);
The next step is to download both of the 'backups' of your website (the archive and database export) then simply extract the archive in your xampp section where it is loading and then create a database on your local phpMyAdmin where you can import the one from your hosting account. By following those steps you should have successfully migrated the database and website files as they need to be without relaying on a plugin that could (and will) mess things up. If you encounter any issues afterwards as mentioned in the previous replies enable the debugging from the wp-config.php file and enable the 'Display Errors' from your PHP.ini of your XAMPP.
Also make sure that the php version that you are running on XAMPP is the same as the one of your host, to make sure that there aren't any issues such as plugins requiring higher version or lower one.
Hope this helps.
use All-in-One WP Migration Wordpress
When ever I try to open wordpress website on my localhost I get below error.
HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
I have tried enabling HTTP activation but that did not work.
I have installed PHP for IIS from microsoft web PI, that did not work.
I think there is handler mapping missing, I am not able to map handle.
install wamp or xaamp and start php and mysql Service.
create a folder for example "site".
Copy all worpress folder and file in to www/site in wamp server
and enter the "localhost/site" in the browser and install wordpress quiqly.
soon wordpress goto run
Go and download the WAMP http://www.wampserver.com/en/
Its a set for web developers, that includes php, apache and mysql.
You can se localhost to act as a real webserver, you can find online many tutorials and how to
Using CPanel/Softaculous to install Mediawiki on my hosted website appears to install fine. Though not sure how much the installer checks.
I then setup a sub-domain such as wiki.mydomain.com to accept requests there.
After that, I also setup SSL cert in Cpanel. The cert is self-signed because at the moment I am just testing out the wiki and everything before I decided if I will purchase a cert.
Then, if I attempt to go to http://wiki.mydomain.com. I get the landing page of MediaWiki but if I attempt to go to https://wiki.mydomain.com I get nothing but a blank browser window.
Now, if i go to https://wiki.mydomain.com/index.php, I get a 404 error (I created a simple html page with a 404 error message then modified my .htaccess to show it on the 404).
When looking at the logs, it appears to be trying to find the index.php file under /home/mydomain/public_html/index.php instead of /home/mydomain/wiki/index.php.
Very confused on why this isn't working at all. I can post some configs and things as well but this account is a newly created CPanel account so not much as been done on it other then installing the wiki software.
(Edit) This is using SharedSSL. I couldn't get it to work without it. Some reason even after I made sure the site was the only one on the IP Address using WHM it was still showing it as a shared IP. :P
Fixed the SharedSSL by using this information: Cpanel Forums
You will have to make a new install of MediaWiki via Softaculous. Go on the install form you will get an option to "Choose Protocol" choose https:// there and in the "Choose Domain" dropdown choose your subdomain https://wiki.mydomain.com leave the "In Directory" field blank and then click on Install button.
Then you should be able to access the MediaWiki install at https://wiki.mydomain.com
I think the reason for this issue is due to how cPanel works with sub-domains and SSL. From what I gather, this appears to be a SSL cert issue since when CPanel rebuilds the httpd.conf using /scripts/rebuildhttpdconf command, it does not create a SSL virtual host for the sub-domain. Also, the parent domain works fine.
I ended up putting the wiki in /home/mydomain/public_html/wiki then setting up redirects for http://mydomain.com and https://domain.com to point to https://mydomain.com/wiki.
For now, that's all I could figure out to fix the issue was to drop the sub-domain.