I need help using localhost wordpress

Problems with the Windows version of XAMPP, questions, comments, and anything related.

I need help using localhost wordpress

Postby slice » 23. August 2021 18:21

I have a website online, however i want to set up a localhost to edit my site. I exported the SQL file as well as the entire wordpress files. I tried to install XAMPP to host my files. But after changing the port from 80 to 8080 i cannot view my wordpress site. I tested it with a index.html file i created so i know it connects to the XAMPP. But it will not let me into wp-admin. what can i do?
slice
 
Posts: 6
Joined: 23. August 2021 18:15
XAMPP version: 8
Operating System: windows 10

Re: I need help using localhost wordpress

Postby Altrea » 23. August 2021 23:06

describe as detailed as possible what you are doing, what result you would expect and what really happens. Without to lnow, what you typed on your browser, what error occurs and what is in your log files it is impossible to identify your issue.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11952
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: I need help using localhost wordpress

Postby slice » 24. August 2021 14:43

i have a website live on the internet. My website is a WordPress website hosted by GoDaddy. I exported the database file in sql format. Then i dragged and dropped the WordPress files from my server online to my desktop.
Next i downloaded xampps and installed it to my desktop. Once xampps was installed i changes the config file ports from 80 to 8080. now i can open my localhost on LOCALHOST:8080 instead of 'LOCALHOST'. After i change the ports i create a folder as a new directory in xampps and inserted a html file to test on LOCALHOST:8080. The html file worked and i was ready to transfer my WordPress files.
FIRST i dragged and dropped all my WordPress files into the new folder in xampps i created.
Next i imported the database file into the mysql.
finally i tried to access the WordPress site on my local by using 'LOCALHOST:8080/acb/wp-admin'
BUT when the sites page comes up i get an error message, saying: my password and/or username is incorrect-open the wp-config file and update the info.
I opened the wp-config and changed the localhost option to localhost:8080.
i still have this issues. how can i fix this. all my files online are the same files i have on my local. what can i do?
slice
 
Posts: 6
Joined: 23. August 2021 18:15
XAMPP version: 8
Operating System: windows 10

Re: I need help using localhost wordpress

Postby Nobbie » 24. August 2021 15:05

slice wrote:BUT when the sites page comes up i get an error message, saying: my password and/or username is incorrect-open the wp-config file and update the info.


That probably means, you have not provided the correct username/password for the MySQL Wordpress Database, or the WordPress Admin account is wrong. We dont know, anyway, that is not a Xampp issue, you should ask in a WordPress support forum,
Nobbie
 
Posts: 13221
Joined: 09. March 2008 13:04

Re: I need help using localhost wordpress

Postby slice » 24. August 2021 16:09

does it matter if the username and password for the db is the same as my online site? i ask because the db's name online is the name of the db on xamapp. When i exported the database file i simply imported and it created the same db i have online. so the wp-config file should remains the same right?
slice
 
Posts: 6
Joined: 23. August 2021 18:15
XAMPP version: 8
Operating System: windows 10

Re: I need help using localhost wordpress

Postby Nobbie » 24. August 2021 16:58

The db name does not have anything to do with the username/password you access your data. Usernames and passwords are not stored in the WordPress Database. Xampp probably has different Users and Rights than your Online MySQL Server. The standard Admin User of Xampp is called "root" and does not have a password. If you did not change Xampp MySQL Users, you should try to apply "root" as Username in wp-config.php for the Database Access and "" (empty string) as Password.
Nobbie
 
Posts: 13221
Joined: 09. March 2008 13:04

Re: I need help using localhost wordpress

Postby slice » 29. August 2021 16:43

Thank you for your directions. i am able to connect to the database. HOWEVER i have a new problem i get this error message "C:\xampp\apps\wordpress\htdocs\wp-content\plugins\woocommerce\packages\action-scheduler\classes\migration\ActionScheduler_DBStoreMigrator.php on line 44" i dont know what to do or who to ask.. any ideaas?
slice
 
Posts: 6
Joined: 23. August 2021 18:15
XAMPP version: 8
Operating System: windows 10

Re: I need help using localhost wordpress

Postby Altrea » 29. August 2021 17:49

That is not the full error message.
And this is a wordpress related issue. We cannot provide any support for third party applications like wordpress. Sorry.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11952
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: I need help using localhost wordpress

Postby slice » 01. September 2021 15:12

i read on a blog that i should use GRANT STATEMENTS, but i don't know how and where to use it. do you think this may work?
GRANT ALL ON db1.* TO 'jeffrey'@'localhost';
do i use this in the same place where i can create a table?
slice
 
Posts: 6
Joined: 23. August 2021 18:15
XAMPP version: 8
Operating System: windows 10

Re: I need help using localhost wordpress

Postby slice » 01. September 2021 15:14

now the MySQL wont start on the control panel.
slice
 
Posts: 6
Joined: 23. August 2021 18:15
XAMPP version: 8
Operating System: windows 10

Re: I need help using localhost wordpress

Postby Altrea » 01. September 2021 15:16

slice wrote:do i use this in the same place where i can create a table?

Yes, at the phpmyadmin SQL Tab, or in the MySQL command line interface (CLI) for example.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11952
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 114 guests