Link to home
Start Free TrialLog in
Avatar of curiouswebster
curiouswebsterFlag for United States of America

asked on

WordPress: Debugging from my Windows 10 Desktop

I am a .NET developer and have Visual Studio 2015 Professional.

I have access to the Git repo to clone the WordPress site which has a bug in it.

Or, am I better off not trying to host WP locally and simply logging into the QA version of the site as an Admin and seeing if the problem is a scripting error or a database error...

If I wanted to host this locally, is that even possible on a Windows machine?

Thanks
Avatar of Brandon Lyon
Brandon Lyon

What kind of bug? Is the bug with the content, the theme, plugins, database, or what?

Local hosting is a possibility but certain bugs only appear when matching the exact server specifications.
Avatar of curiouswebster

ASKER

Hi,

In the database for the FirstName there is sometimes a first and middle name.

When the WordPress site opens and displays an obscure part of our site, it shows the user name as their middle name.

Mary Jane Smith

Shows as Jane.

So, this could be some error in the PHP or the stored procedure.

I have not coded in PHP but assume a bug like this would not be hard, if in fact it was a PHP error. Or, by opening the code, I could find the stored procedure being called, which would help me fix the problem.

All this being said, if I get Admin log on for our QA site, I presume I should be able to fix this without accessing the WordPress Git Repo for that site?

As Admin, do I have direct access to the PHP pages?

Thanks.
SOLUTION
Avatar of Brandon Lyon
Brandon Lyon

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
But, how do I test the PHP locally? I am new to this setup.

I have done a few things with WordPress in the past, but used the Admin UI or modified HTML, but from within the Admin panel of WordPress.

Can PHP files be edited from withing the Admin panel?

Thanks.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks