cancel
Showing results for 
Search instead for 
Did you mean: 

New Magento 2 store, with few hiccups, please help

New Magento 2 store, with few hiccups, please help

Hello Guys,

 

I transferred a new e-commerce installation form localhost to Nexcess's hosted server. When I go to the category all the products show in a grid format but when I click on a product the images are not coming up, I get the error below in the SiteWorx log:

 

[Sat Apr 09 10:24:39 2016] [crit] [client 71.56.17.156] (13)Permission denied: /home/example2/example.com/html/pub/media/catalog/product/cache/1/image/e9c3970ab036de70892d86c6d221abfe/8/_/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable, referer: wwww.mysite.com

 I have edited the .htaccess file as below, not sure if that is correct:

<Files .htaccess>
order allow,deny
allow from all
</Files>

 

I tried setting up the permissions but ended up with 403 error, did I run it on the incorrect folder?

have restored form a backup for now but I can see that my html directory permissions changed to

html.old rwx rwx ---

html folder which works has permissions rwx rws r-x

 

Issue two is that the cart is not working, when I click on proceed to checkout it gives system exception error

 

3 REPLIES 3

Re: New Magento 2 store, with few hiccups, please help

Re: New Magento 2 store, with few hiccups, please help

what is exception error looks like?

------------
MagenX - Magento and Server optimization

Re: New Magento 2 store, with few hiccups, please help

The error from when I got the actual product, it does not show: console error states as below:

 

Refused to execute script from 'https://www.mywebsitename.com/pub/static/frontend/Smartwave/porto/en_US/jquery/jquery-storageapi.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

 

Exception Log: It repeats

 

[2016-04-14 16:32:04] main.CRITICAL: exception 'ReflectionException' with message 'Class Magento\Framework\App\View\Asset\MaterializationStrategy\copy does not exist' in /home/exclu012/public_html/vendor/magento/framework/Code/Reader/ClassReader.php:19
Stack trace:
#0 /home/exclu012/public_html/vendor/magento/framework/Code/Reader/ClassReader.php(19): ReflectionClass->__construct('Magento\\Framewo...')
#1 /home/exclu012/public_html/vendor/magento/framework/ObjectManager/Definition/Runtime.php(44): Magento\Framework\Code\Reader\ClassReader->getConstructor('Magento\\Framewo...')
#2 /home/exclu012/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(71): Magento\Framework\ObjectManager\Definition\Runtime->getParameters('Magento\\Framewo...')
#3 /home/exclu012/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...')
#4 /home/exclu012/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(273): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Framewo...')
#5 /home/exclu012/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(249): Magento\Framework\ObjectManager\Factory\AbstractFactory->parseArray(Array)
#6 /home/exclu012/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(53): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, NULL, Array, 'strategiesList', 'developerMateri...')
#7 /home/exclu012/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(82): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('developerMateri...', Array, Array)
#8 /home/exclu012/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('developerMateri...')
#9 /home/exclu012/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(236): Magento\Framework\ObjectManager\ObjectManager->get('developerMateri...')
#10 /home/exclu012/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(53): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\Framewo...', NULL, 'materialization...', 'developerPublis...')
#11 /home/exclu012/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(82): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('developerPublis...', Array, Array)
#12 /home/exclu012/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('developerPublis...')
#13 /home/exclu012/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(236): Magento\Framework\ObjectManager\ObjectManager->get('developerPublis...')
#14 /home/exclu012/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(53): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\Framewo...', NULL, 'publisher', 'Magento\\Framewo...')
#15 /home/exclu012/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(82): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\\Framewo...', Array, Array)
#16 /home/exclu012/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(57): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...', Array)
#17 /home/exclu012/public_html/vendor/magento/framework/App/Bootstrap.php(233): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\Framewo...', Array)
#18 /home/exclu012/public_html/pub/static.php(12): Magento\Framework\App\Bootstrap->createApplication('Magento\\Framewo...')
#19 {main} [] []