Issue when moved from localhost to public domain

#1

I’ve purchased the Greenmart theme for WordPress. Installed the theme and configured everything on my localhost machine.
When I moved the website to the public domain, I face the problem that the default theme of Greenmart assigned and those changes I did is removed like changing logo, CSS styles, etc…
When I went back to the wp-admin to setup again the theme, in the step of importing data this error appear: Sorry You Are Not Allowed to Access This Page

Note: I exported the SQL file and replaced all the “localhost/webname” to “webname.com” and removed “/webname” from the .htaccess as well.