1

recently a shop gave me the full directory and database of a site in magento. I've uploaded it on a new server on plesk and changed server domain. The problem is that after i deployed all of the static files i can't edit a product cause it's stuck on loading. inspecting with browser it's giving error 404 on some js components that are not present in static folder. Anyone know the correct way to import a server and use the static files already in pub folder?

enter image description here

asked Apr 15, 2024 at 16:24

1 Answer 1

0

Few thing you have to verify

First: please make sure you have deploy the code properly. For Example:

php bin/magento s:up
php bin/magento s:d:c
php bin/magento s:s:d -f 
php bin/magento c:f

Second: Make sure pub/static/.htaccess is not deleted

(U see there is issue says "Refuse to ex.." that is cros issue either you can disable it (not recommented) or you can resolve it with standard way using .xml in etc folder)

Thanks

answered Apr 17, 2024 at 7:12
2
  • i've tried but when i compile it gives me this error: Fatal error: Interface 'Magento\Framework\GraphQl\Query\ResolverInterface' not found in public_html/vendor/mageplaza/module-smtp/Model/Resolver/Bestsellers/Bestsellers.php on line 47 Commented Apr 18, 2024 at 8:59
  • Try Removing Mageplaza SMTP extension Commented Apr 29, 2024 at 12:03

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.