Jump to content

Recommended Posts

Hi i am using prestashop 1.7.4.4 on Godaddy shared hosting, i am having trouble of slow + downtimes on my website, normally there is no downtime on server, but its the prestashop which is having some trouble with smarty caching, i am using this now in PRODUCTION MODE, and losing a lot of sales and client, can anyone suggest please. also i am looking to change hosting from Godaddy to 1&1 what do you all suggest, please suggest someone who has been using since long time and my categories are around 5000+ and now products are at 818 products till now. which is only not 1% of total products.

 

Please need ideas, suggestions and experiences.

Under below is Error DEBUG messages for details, 1.7.4.4

 
Information, store www.nksparts.com

info_outline Configuration information

This information must be provided when you report an issue on our bug tracker or forum.

info_outline Server information

Server information Linux #1 SMP Sun Feb 18 08:20:42 EST 2018 x86_64

Server software version: Apache

PHP version: 7.1.18

Memory limit: 999M

Max execution time: 300

Upload Max File size: 999M

info_outline Database information

MySQL version: 5.6.39-cll-lve

MySQL server: localhost

MySQL name: database_prefix

MySQL user: idatabase_prefix

Tables prefix: pr_

MySQL engine: InnoDB

MySQL driver: DbPDO

info_outline Store information

PrestaShop version: 1.7.4.4

Shop URL: http://www.nksparts.com/

Current theme in use: speed_themename_store

info_outline Mail configuration

Mail method: You are using the PHP mail() function.

info_outline Your information

Your web browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:56.0; Waterfox) Gecko/20100101 Firefox/56.2.6

info_outline Check your configuration

Required parameters: OK

Optional parameters: OK

 

Whoops, looks like something went wrong.

(1/1) ContextErrorException

Warning: A non-numeric value encountered

in 37bf52dbf783eedebd8445e991b235f94125915f_2.file.product.tpl.cache.php line 237
at Block_7553688495c111f1a00ec62_26856812->callBlock(object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_7553688495c111f1a00ec62_26856812), object(SmartyDevTemplate))in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_7553688495c111f1a00ec62_26856812))in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_7553688495c111f1a00ec62_26856812', 'product_buy')in 37bf52dbf783eedebd8445e991b235f94125915f_2.file.product.tpl.cache.php line 57
at content_5c111f1a036348_08291043(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_template.php line 383
at Smarty_Internal_Template->_subTemplateRender('file:catalog/_partials/miniatures/product.tpl', 'ps_featuredproducts|1|3|217', null, 9999, 31536000, array('product' => array('id_product' => '434', 'id_supplier' => '3', 'id_manufacturer' => '3', 'id_category_default' => '1941', 'id_shop_default' => '1', 'id_tax_rules_group' => '0', 'on_sale' => '0', 'online_only' => '0', 'ean13' => '', 'isbn' => null, 'upc' => '', 'ecotax' => array('value' => 'AED0.00', 'amount' => '0.000000', 'rate' => 0.0), 'quantity' => 5, 'minimal_quantity' => '1', 'low_stock_threshold' => null, 'low_stock_alert' => '0', 'price' => 'AED0.00', 'wholesale_price' => '0.000000', 'unity' => '', 'unit_price_ratio' => '0.000000', 'additional_shipping_cost' => '0.00', 'reference' => '', 'supplier_reference' => null, 'location' => '', 'width' => '0.000000', 'height' => '0.000000', 'depth' => '0.000000', 'weight' => '0.000000', 'out_of_stock' => '1', 'additional_delivery_times' => '0', 'quantity_discount' => '0', 'customizable' => '0', 'uploadable_files' => '0', 'text_fields' => '0', 'active' => '1', 'redirect_type' => '404', 'id_type_redirected' => '0', 'available_for_order' => '1', 'available_date' => null, 'show_condition' => '0', 'condition' => false, 'show_price' => false, 'indexed' => '1', 'visibility' => 'both', 'cache_is_pack' => '0', 'cache_has_attachments' => '0', 'is_virtual' => '0', 'cache_default_attribute' => '0', 'date_add' => '2018-10-14 13:27:00', 'date_upd' => '2018-10-21 12:20:39', 'advanced_stock_management' => '0', 'pack_stock_type' => '3', 'state' => '1', 'id_shop' => '1', 'id_lang' => '1', 'description' => '<p><span style="font-size: x-large;"><strong>buy Nissan Titan 2012 Engine</strong> </span>with warranty sharjah, sajja.<span style="font-size: x-large;"> ،نسان تيتان مكينه، واتسب واتصل ٠٠٩٧١٥٥٦٨٦٥٥٥٠ <strong>نيسان ، واتسب واتصل</strong> </span></p><p>Engine of Nissan Titan sharjah in very good condition with warranty, for further details call us or whatsapp @ 00971556865550.</p><p>used engine Titan,</p><p>Nissan Titan Genuine engine,</p><p>used Engine Nissan Titan sharjah,</p><p>Nissan Titan Genuine Engine sharjah</p><p>بيع سكراب قطع غيار سيارات كوري، ياباني، امريكي </p>', 'description_short' => '<p>Used Nissan Titan 2012 Engine  مكينه <strong>نيسان</strong> تيتان مكينه </p><p>سكراب لبيع قطع غيار السيارات الامريكية و اليابانية و كورية</p><p>Nissan Titan 2012 Engine, nissan used auto parts sharjah</p>', 'link_rewrite' => 'nissan-titan-2012-engine', 'meta_description' => 'Used Nissan Titan Engine, Nissan Titan used Engine, Genuine Used nissan parts sharjah nissan sharjah, nissan spare parts sharjah, nissan Titan', 'meta_keywords' => 'نيسان تيتان , nissan Titan used spare parts, nissan spare parts sharjah, nissan Titan parts, nisan spare parts sharjah, nisaan spare parts, used Titan car parts', 'meta_title' => 'Nissan Titan 2012 Engine, nissan used parts sharjah, Titan used parts', 'name' => 'Nissan Titan 2012 Engine', 'available_now' => null, 'available_later' => null, 'delivery_in_stock' => null, 'delivery_out_stock' => null, 'new' => '0', 'id_image' => '434-463', 'legend' => 'Nissan titan 201 Engine, nissan used auto parts sharjah', 'manufacturer_name' => 'Nissan', 'category_default' => 'NISSAN TITAN ENGINE', 'orderprice' => '0.000000', 'id_product_attribute' => 0, 'allow_oosp' => true, 'category' => 'nissan-titan-engine', 'category_name' => 'NISSAN TITAN ENGINE', 'link' => 'https://www.nksparts.com/nissan-titan-engine/434-nissan-titan-2012-engine.html', 'attribute_price' => 0, 'price_tax_exc' => 0.0, 'price_without_reduction' => 0.0, 'reduction' => 0.0, 'specific_prices' => array(), 'quantity_all_versions' => 5, 'features' => array(array('name' => 'BRAND', 'value' => 'NISSAN', 'id_feature' => '1'), array('name' => 'MODEL', 'value' => 'TITAN', 'id_feature' => '2'), array('name' => 'CONDITION', 'value' => 'USED', 'id_feature' => '11')), 'attachments' => array(), 'virtual' => 0, 'pack' => 0, 'packItems' => array(), 'nopackprice' => 0, 'customization_required' => false, 'rate' => 0.0, 'tax_name' => '', 'ecotax_rate' => 0.0, 'unit_price' => '', 'id' => '434', 'attributes' => array(), 'weight_unit' => 'kg', 'images' => array(array('bySize' => array('small_default' => array('url' => 'https://www.nksparts.com/463-small_default/nissan-titan-2012-engine.jpg', 'width' => 98, 'height' => 98), 'cart_default' => array('url' => 'https://www.nksparts.com/463-cart_default/nissan-titan-2012-engine.jpg', 'width' => 125, 'height' => 125), 'home_default' => array('url' => 'https://www.nksparts.com/463-home_default/nissan-titan-2012-engine.jpg', 'width' => 260, 'height' => 260), 'medium_default' => array('url' => 'https://www.nksparts.com/463-medium_default/nissan-titan-2012-engine.jpg', 'width' => 452, 'height' => 452), 'large_default' => array('url' => 'https://www.nksparts.com/463-large_default/nissan-titan-2012-engine.jpg', 'width' => 700, 'height' => 700)), 'small' => array('url' => 'https://www.nksparts.com/463-small_default/nissan-titan-2012-engine.jpg', 'width' => 98, 'height' => 98), 'medium' => array('url' => 'https://www.nksparts.com/463-home_default/nissan-titan-2012-engine.jpg', 'width' => 260, 'height' => 260), 'large' => array('url' => 'https://www.nksparts.com/463-large_default/nissan-titan-2012-engine.jpg', 'width' => 700, 'height' => 700), 'legend' => 'Nissan titan 201 Engine, nissan used auto parts sharjah', 'cover' => '1', 'id_image' => '463', 'position' => '3', 'associatedVariants' => array())), 'cover' => array('bySize' => array('small_default' => array('url' => 'https://www.nksparts.com/463-small_default/nissan-titan-2012-engine.jpg', 'width' => 98, 'height' => 98), 'cart_default' => array('url' => 'https://www.nksparts.com/463-cart_default/nissan-titan-2012-engine.jpg', 'width' => 125, 'height' => 125), 'home_default' => array('url' => 'https://www.nksparts.com/463-home_default/nissan-titan-2012-engine.jpg', 'width' => 260, 'height' => 260), 'medium_default' => array('url' => 'https://www.nksparts.com/463-medium_default/nissan-titan-2012-engine.jpg', 'width' => 452, 'height' => 452), 'large_default' => array('url' => 'https://www.nksparts.com/463-large_default/nissan-titan-2012-engine.jpg', 'width' => 700, 'height' => 700)), 'small' => array('url' => 'https://www.nksparts.com/463-small_default/nissan-titan-2012-engine.jpg', 'width' => 98, 'height' => 98), 'medium' => array('url' => 'https://www.nksparts.com/463-home_default/nissan-titan-2012-engine.jpg', 'width' => 260, 'height' => 260), 'large' => array('url' => 'https://www.nksparts.com/463-large_default/nissan-titan-2012-engine.jpg', 'width' => 700, 'height' => 700), 'legend' => 'Nissan titan 201 Engine, nissan used auto parts sharjah', 'cover' => '1', 'id_image' => '463', 'position' => '3', 'associatedVariants' => array()), 'url' => 'https://www.nksparts.com/nissan-titan-engine/434-nissan-titan-2012-engine.html', 'canonical_url' => 'https://www.nksparts.com/nissan-titan-engine/434-nissan-titan-2012-engine.html', 'has_discount' => false, 'discount_type' => null, 'discount_percentage' => null, 'discount_percentage_absolute' => null, 'discount_amount' => null, 'discount_amount_to_display' => null, 'price_amount' => 0.0, 'regular_price_amount' => 0.0, 'regular_price' => 'AED0.00', 'discount_to_display' => 'AED0.00', 'unit_price_full' => '', 'add_to_cart_url' => 'https://www.nksparts.com/cart?add=1&id_product=434&id_product_attribute=0&token=76c8be814408c6a95371cd8fc0f12d73', 'main_variants' => array(), 'flags' => array(), 'labels' => array('tax_short' => '(tax incl.)', 'tax_long' => 'Tax included'), 'show_availability' => false, 'availability_message' => null, 'availability_date' => null, 'availability' => null, 'delivery_information' => '', 'quantity_discounts' => array(), 'embedded_attributes' => array('id_product' => '434', 'id_supplier' => '3', 'id_manufacturer' => '3', 'id_category_default' => '1941', 'id_shop_default' => '1', 'on_sale' => '0', 'online_only' => '0', 'ecotax' => '0.000000', 'quantity' => 5, 'minimal_quantity' => '1', 'low_stock_threshold' => null, 'low_stock_alert' => '0', 'price' => 0.0, 'unity' => '', 'unit_price_ratio' => '0.000000', 'additional_shipping_cost' => '0.00', 'reference' => '', 'out_of_stock' => '1', 'customizable' => '0', 'uploadable_files' => '0', 'text_fields' => '0', 'redirect_type' => '404', 'id_type_redirected' => '0', 'available_for_order' => '1', 'available_date' => null, 'show_condition' => '0', 'condition' => 'used', 'show_price' => '0', 'indexed' => '1', 'visibility' => 'both', 'is_virtual' => '0', 'cache_default_attribute' => '0', 'date_add' => '2018-10-14 13:27:00', 'date_upd' => '2018-10-21 12:20:39', 'advanced_stock_management' => '0', 'pack_stock_type' => '3', 'description' => '<p><span style="font-size: x-large;"><strong>buy Nissan Titan 2012 Engine</strong> </span>with warranty sharjah, sajja.<span style="font-size: x-large;"> ،نسان تيتان مكينه، واتسب واتصل ٠٠٩٧١٥٥٦٨٦٥٥٥٠ <strong>نيسان ، واتسب واتصل</strong> </span></p><p>Engine of Nissan Titan sharjah in very good condition with warranty, for further details call us or whatsapp @ 00971556865550.</p><p>used engine Titan,</p><p>Nissan Titan Genuine engine,</p><p>used Engine Nissan Titan sharjah,</p><p>Nissan Titan Genuine Engine sharjah</p><p>بيع سكراب قطع غيار سيارات كوري، ياباني، امريكي </p>', 'description_short' => '<p>Used Nissan Titan 2012 Engine  مكينه <strong>نيسان</strong> تيتان مكينه </p><p>سكراب لبيع قطع غيار السيارات الامريكية و اليابانية و كورية</p><p>Nissan Titan 2012 Engine, nissan used auto parts sharjah</p>', 'link_rewrite' => 'nissan-titan-2012-engine', 'meta_description' => 'Used Nissan Titan Engine, Nissan Titan used Engine, Genuine Used nissan parts sharjah nissan sharjah, nissan spare parts sharjah, nissan Titan', 'meta_keywords' => 'نيسان تيتان , nissan Titan used spare parts, nissan spare parts sharjah, nissan Titan parts, nisan spare parts sharjah, nisaan spare parts, used Titan car parts', 'meta_title' => 'Nissan Titan 2012 Engine, nissan used parts sharjah, Titan used parts', 'name' => 'Nissan Titan 2012 Engine', 'available_now' => null, 'available_later' => null, 'delivery_in_stock' => null, 'delivery_out_stock' => null, 'new' => '0', 'id_image' => '434-463', 'id_product_attribute' => 0, 'allow_oosp' => true, 'category' => 'nissan-titan-engine', 'category_name' => 'NISSAN TITAN ENGINE', 'link' => 'https://www.nksparts.com/nissan-titan-engine/434-nissan-titan-2012-engine.html', 'attribute_price' => 0, 'price_tax_exc' => 0.0, 'price_without_reduction' => 0.0, 'reduction' => 0.0, 'specific_prices' => array(), 'quantity_all_versions' => 5, 'features' => array(array('name' => 'BRAND', 'value' => 'NISSAN', 'id_feature' => '1'), array('name' => 'MODEL', 'value' => 'TITAN', 'id_feature' => '2'), array('name' => 'CONDITION', 'value' => 'USED', 'id_feature' => '11')), 'attachments' => array(), 'virtual' => 0, 'pack' => 0, 'packItems' => array(), 'nopackprice' => 0, 'customization_required' => false, 'rate' => 0.0, 'tax_name' => '', 'ecotax_rate' => 0.0, 'unit_price' => 0), 'grouped_features' => array('BRAND' => array('name' => 'BRAND', 'value' => 'NISSAN', 'id_feature' => '1'), 'MODEL' => array('name' => 'MODEL', 'value' => 'TITAN', 'id_feature' => '2'), 'CONDITION' => array('name' => 'CONDITION', 'value' => 'USED', 'id_feature' => '11')), 'seo_availability' => 'https://schema.org/InStock')), 0, true)in fa6cc378d2942c8857b89d6bca728048c0caeedd_2.module.psfeaturedproductsviewste.cache.php line 39
at content_5c111f19ecc5f2_26366372(object(SmartyDevTemplate))in smarty_template_resource_base.php line 123
at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate))in smarty_template_compiled.php line 114
at Smarty_Template_Compiled->render(object(SmartyDevTemplate))in smarty_internal_runtime_updatecache.php line 38
at Smarty_Internal_Runtime_UpdateCache->updateCache(object(Smarty_Template_Cached), object(SmartyDevTemplate), false)in smarty_template_cached.php line 143
at Smarty_Template_Cached->render(object(SmartyDevTemplate), false)in smarty_internal_template.php line 211
at Smarty_Internal_Template->render(false, 0)in smarty_internal_templatebase.php line 232
at Smarty_Internal_TemplateBase->_execute(object(SmartyDevTemplate), null, null, null, 0)in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch(null, null, null, null, false, true, false)in SmartyDevTemplate.php line 41
at SmartyDevTemplateCore->fetch()in Module.php line 2282
at ModuleCore->fetch('module:ps_featuredproducts/views/templates/hook/ps_featuredproducts.tpl', 'ps_featuredproducts|1|3|217')in ps_featuredproducts.php line 252
at Ps_FeaturedProducts->renderWidget('displayHome', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 929
at HookCore::coreRenderWidget(object(Ps_FeaturedProducts), 'displayHome', array('cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1))in Hook.php line 881
at HookCore::exec('displayHome')in IndexController.php line 39
at IndexControllerCore->initContent()in Controller.php line 255
at ControllerCore->run()in Dispatcher.php line 428
at DispatcherCore->dispatch()in index.php line 28
Link to comment
Share on other sites

" my categories are around 5000+ and now products are at 818 products till now. which is only not 1% of total products " 

5000 categories and in the future 80k+  products on a shared hosting??? are you kidding? What you need in that case is a strong dedicated vps and even then i think it will be hard to manage that. For these kind of shops you need to hire a skilled professional to advice and configure your shop.

Anyway maybe the programmers/developers on this forum can help you on your way, but i think it needs more then forum help.

  • Like 1
Link to comment
Share on other sites

I will have to review my Categories ? or products? means i will have to just limit the number of category per subject item, and also number per category in ALL .

secondly i am thinking to compress images or Use a CDN or a Hosting sErvice with CDN or something, as i know, droplets or AWS , AZURE, or GOOGLE Cloud services are quite expensive.

what i got idea is to again review structure and make it quite simple and lesser the number of quantity involved as moore the CATEGORIES AND PRODUCTS more the Power and Space and Expenditure required.

Its a new business and i am really LOOOKING FOR SUGGESTIONS AND IDEAS FROM MORE OF SUPER USERS Who have been in to PRESTASHOP since year

Or from the Main Developers / Infrastructure / Main team to just give an idea

Maybe i need a Computation Sheet in which i can Analyze or atleast Forecast my Data Size, Bandwidth, Server Capability, Image Sizes standard, and other Resources involved.

 

Please Guide, Thanks

Link to comment
Share on other sites

  • 2 weeks later...
On 12/26/2018 at 9:12 PM, Curious said:

" my categories are around 5000+ and now products are at 818 products till now. which is only not 1% of total products " 

5000 categories and in the future 80k+  products on a shared hosting??? are you kidding? What you need in that case is a strong dedicated vps and even then i think it will be hard to manage that. For these kind of shops you need to hire a skilled professional to advice and configure your shop.

Anyway maybe the programmers/developers on this forum can help you on your way, but i think it needs more then forum help.

i have changed my hosting to Brilliare Technologies, 

Its not a well known Hosting and not too much populated, but supports PHP-built in caching, easy ngnix one-click setup, bolt caching machine, i am using it on my website for used auto spare parts sharjah HTTPS://WWW.NKSPARTS.COM, you can see its good, i was having trouble with load and problems, but i managed to fix it by, cron jobs to empty CACHE/compile and CACHE/

and deleting /img/tmp/ files.

shifted to other server and it works fine.

JUST HAVING SOME PROBLEM WITH some of products not showing PRODUCTS FEATURES, And also also showing a REFRESH BUTTON IN PRODUCT, i am using now shop in catalog mode only, (no carts, no prices, no order, customer groups etc) just images.

attaching photos

 

 

 

 

image2.JPG

to post on prestashop forum.JPG

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...