wp-admin - spins for a while then blank page - php

ok - so i created a wordpress site for someone.
his hosting company just moved the site without telling anyone. some issues were created by this move.
now, a week or 2 later, i realise cant get into wp-admin. it spins on a white screen for a while then gives up.
just to eliminate the theme or plugins i've renamed both dirs but this didnt help.
the hosting guys have given me credentials for the mysql and ftp.
is there anything that would definitely need changing or updating following a server move to allow me access to wp-admin?
thanks,
nick

Related

hosting an old part of a php site on a subdomain?

This is my first post here, I'm also kinda new to web dev.
I made a new site for a client an changed the hosting of the domain.
But he wants an old part of the side witch is an catalog with sorting functions made with php behind a login. I want to host this on a subsite of the hosting. Can I "copy-paste" this catalog with ftp? i have a copy of the database and the full file of the old website. I know that the php version is out of date and I'm having trouble how to find a way to update this.
When i upload the site i get a permission error trying to visit it.
When I try it locally i get to the login screen and the first page of the catalog, but when i try to select a category I only get a white screen.
I already want to thank you all for the help.

How to remove pop-up ad that goes from default wordpress kernel without free themes

I have just downloaded wordpress from wordpress.org and installed it on my hosting. Then when my site has already saved and published, when I open it from another phone and computer I get the pop-up advertisement in top-right corner. I created the site without any free themes that might have ads. I use wordpress 5.2.3.
...So if someone had that problem too, please response.
I need the site immediately. I have never seen this problem before and on whole internet no answers about it.
That does not sound like a problem created by wordpress.
You could try renaming index.php to index.bak and create an empty index.php. If you open the new index.php an the ad still appears, at least you will know the problem does not lie within wordpress‘ code.

can't connect my old database to my new hostinger account

So, I had an old Hostinger account with all the information of my web page with some company that helped me with all of that, but we split and I created a new Hostinger account.
I tried everything to download the database I had in my old account, but nothing works, my WordPress now is disconnected, I tried to follow tutorials, uploaded my information whit FileZilla but nothing, my webpage is lost, I even uploaded mysql with php but it won't connect to the server!!
Please help!!!! What could I be doing wrong? I am so worried that I am gonna have to start over my web page, it took me a lot of time to finish it.
Thank you
This may be the wrong path on the server. You can try to install a clean WordPress on your site, and then transfer the whole site using this plugin or manually theme files, plugins, media using ftp manager and finally the database using this plugin.

After site migration, only homepage loads

I saw this mentioned before, but I couldn't find an answer.
I just migrated from my staging site to live, using a plug-in All in one WP migration. After a fresh install of wordpress + plugin on the new site, I took the .wpress file exported from staging and uploaded to the new.
Everything was successful, until I was redirected to the perma-links settings area to just save the final changes. However, from then any setting I touch in the perma-links section breaks my site. Any link in front end or back end will automatically download to browser.
After some digging, I found its related to the htaccess page. If you haven't already noticed, I'm new to this. I don't know where to start to test what could be wrong with the htaccess page, so I wiped it clean to at least be able to navigate the site.
Anytime I try to touch any permalinks setting in the backend, it will re-write in the faulty code and I have to go back into the wipe the htaccess again.
The second issue is it's causing any page (besides the homepage) to 404. If I try to preview a page from backend (mywebsite.com/page1) it 404's, and of course front end. Same if I try to create a new page.
Please let me know any other info I can provide. I am open to any suggestions.
Thank you
step 1 export your database then open it in notpad++ then ctrl+f find your website old URL suppose stackoverflow.com/dev and replace it with your live site stackoverflow.com after replacing all URL make save it and make zip again.
step 2 import the database into your site database.
step 3 go to your dev site and download all setup with WordPress now paste the all files into new website directories.
step 3 open wp-config.php file and changes database name username and password.
step 4 open your wp-admin and use the username and password same which one you using for the dev site
step 5 go to permalinks and set it %%postname%%
these are simple steps and I am sure it will work for you. no need to new WordPress installation.
Could provide us with your .htaccess file?
But as someone noticed - problably you don't have mod_rewrite. Contact your hosting company, they should be able to fix your problem

How do you change the URL that is pushed from Woocommerce to the facebook shop?

Two months ago I launched a wordpress website(www). It didn't do so well so I decided to create a subdomain (develop) and create a new site on there.
After completing development I was instructed to copy the files from the sub(develop) over to the main(www)
This worked fine and everything was displaying as it should on the new www site, however.
I've recently installed the facebook-for-woocommerce-1.2.4 on my WordPress shop. When I push my products to facebook they get listed with my develop domain.
From my limited wordpress/woocommerce/facebook knowledge I found that the URL is called via get_home_url(). I've contacted facebook, my ISP and WooCommerce if they know how I can correct this but they couldn't give me the answer.
It's most likely in the database (they said) but I have less knowledge with mySql than PHP. I've clicked through the tables but found nothing.
All my permalinks are set up correctly, unless there is a hidden one I missed.
Can anyone assist me with this?
Look in wp_options table, you will find your site url, home url there. Change that... that's all.

Categories