gray
Members-
Content Count
140 -
Joined
-
Last visited
Everything posted by gray
-
How to manually turn off Admin/Debug mode
gray replied to gray 's topic in Configuring and using PrestaShop
Ok - I was looking in the database record ps_configuration So in 1.7 its change config/defines.inc.php define('_PS_MODE_DEV_', false); or define('_PS_MODE_DEV_', true); Many thanks -
PS1.7.6.1 Admin broken - Error msg ContextErrorException
gray replied to gray 's topic in 1.7.2.x [Current]
*PROBLEM SOLVED* It looks like I found the problem (I think). I was using PHP 7.3 Downgraded to 7.2 and i got different errors. Downgraded to 7.1 and I can now get into Admin with no errors, and also Front ene. So PS 1.7.6.1 is not compatible with PHP 7.3 or 7.2 despite what it says on https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/ -
1 - For some reason some products qty are set as N/A ?? no idea why or where. But I set them to 0 and everything is OK. Any ideas why this should happen. 2 – Some products came up with an error in that the short description was to long. Even though the shop was running all OK. It only threw an error when I went to update some product pages. Some of the short descriptions were shorter than the limit. Any ideas please. 3 – Some products within a category were not appearing in a search results. I could not find anything wrong in any of the data. Not in admin - products or in the actual database. I just re-saved the product, and then it started appearing in the search results ?? Any ideas why I have gone back a few releases to an old installation using PS 1.7.5.4 and the problem has always been there, but it has only surfaced now I am using 1.7.6.1 I am just wondering how many other products have strange data.
-
As I cannot get into Admin, due to an error displayed in Debug. How can I manually turn off debug mode Ps1.7.6.1
-
A strange exception during product edit. The error is: Property Product->description_short length (227) must be between 0 and 220 even though it displays "138 of 220 characters allowed" Then after trying to find the cause. I went into PS/debug Error message now is displayed on admin and I cannot get into Admin at all. Any ideas where the problem might be ? or a way to get out of debug mode without going into admin (as i am totally blocked). The following is the debug/error message in Admin (1/1) ContextErrorException Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in UnitOfWork.php line 2636 at ErrorHandler->handleError(2, '"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?', '/home/gbhortic/abc/123/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php', 2636, array('class' => 'Doctrine\\ORM\\UnitOfWork', 'e' => 32767, 'file' => '/home/gbhortic/abc/123/vendor/composer/../doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php'))in DebugClassLoader.php line 156 at require()in DebugClassLoader.php line 156 at DebugClassLoader->loadClass('Doctrine\\ORM\\UnitOfWork') at spl_autoload_call('Doctrine\\ORM\\UnitOfWork')in EntityManager.php line 160 at EntityManager->__construct(object(Connection), object(Configuration), object(ContainerAwareEventManager))in EntityManager.php line 850 at EntityManager::create(object(Connection), object(Configuration))in appDevDebugProjectContainer.php line 1811 at appDevDebugProjectContainer->getDoctrine_Orm_DefaultEntityManagerService()in getPrestashop_Translation_DatabaseLoaderService.php line 8 at require('/home/gbhortic/abc/123/var/cache/dev/ContainerCej8lde/getPrestashop_Translation_DatabaseLoaderService.php')in appDevDebugProjectContainer.php line 1707 at appDevDebugProjectContainer->load('getPrestashop_Translation_DatabaseLoaderService.php')in appDevDebugProjectContainer.php line 3726 at appDevDebugProjectContainer->ContainerCej8lde\{closure}()in ServiceLocator.php line 64 at ServiceLocator->get('prestashop.translation.database_loader')in Translator.php line 141 at Translator->initialize()in Translator.php line 127 at Translator->initializeCatalogue('en-GB')in Translator.php line 314 at Translator->dumpCatalogue('en-GB', object(ResourceCheckerConfigCache))in Translator.php line 299 at Translator->Symfony\Component\Translation\{closure}(object(ResourceCheckerConfigCache))in ResourceCheckerConfigCacheFactory.php line 43 at ResourceCheckerConfigCacheFactory->cache('/home/gbhortic/abc/123/var/cache/dev/translations/catalogue.en-GB.L8dqxxF.php', object(Closure))in Translator.php line 300 at Translator->initializeCacheCatalogue('en-GB')in Translator.php line 265 at Translator->loadCatalogue('en-GB')in Translator.php line 241 at Translator->getCatalogue('en-GB')in Translator.php line 198 at Translator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)in PrestaShopTranslatorTrait.php line 57 at Translator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)in LoggingTranslator.php line 48 at LoggingTranslator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)in DataCollectorTranslator.php line 50 at DataCollectorTranslator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)in PrestaShopTranslatorTrait.php line 57 at DataCollectorTranslator->trans('Successful deletion.', array(), 'Admin.Notifications.Success', null)in Controller.php line 324 at ControllerCore->trans('Successful deletion.', array('legacy' => 'htmlspecialchars'), 'Admin.Notifications.Success')in AdminController.php line 456 at AdminControllerCore->__construct()in LegacyContext.php line 85 at LegacyContext->getContext()in UserLocaleListener.php line 39 at UserLocaleListener->__construct(object(LegacyContext))in appDevDebugProjectContainer.php line 2381 at appDevDebugProjectContainer->getPrestashop_UserLocale_ListenerService()in appDevDebugProjectContainer.php line 2868 at appDevDebugProjectContainer->ContainerCej8lde\{closure}()in EventDispatcher.php line 229 at EventDispatcher->sortListeners('kernel.request')in EventDispatcher.php line 61 at EventDispatcher->getListeners('kernel.request')in ContainerAwareEventDispatcher.php line 128 at ContainerAwareEventDispatcher->getListeners('kernel.request')in TraceableEventDispatcher.php line 262 at TraceableEventDispatcher->preProcess('kernel.request')in TraceableEventDispatcher.php line 137 at TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))in HttpKernel.php line 127 at HttpKernel->handleRaw(object(Request), 1)in HttpKernel.php line 68 at HttpKernel->handle(object(Request), 1, false)in Kernel.php line 200 at Kernel->handle(object(Request), 1, false)in index.php line 86 Any ideas where the problem might be ? or a way to get out of debug mode without going into admin (as i am totally blocked).
-
I have no business links to Yoast, but I use there software on my Wordpress blog, and they have managed to keep me high up in search engine listings. I enquired if there was a Prestashop module that I could use on my webshop. They advised me - Thanks for reaching out to us. We'd love for there to be a Yoast SEO for Prestashop module available, but we don't have any experience in other platforms but WordPress. This means we would have to rely on a third-party who'd want to commit to building the Prestashop module under our guidance. If you happen to know of a such a party that'd be willing to commit to developing and maintaining this module, we'd love to talk! Is there anybody with the commitments to develope a module.
- 1 reply
-
- 2
-
-
I am getting confused on 'tags'. As to cover all I need to buy 300USD of modules. Any advice on what each of the following are, and which are essential. 1 - Headers Tags 2 - Meta Tags 3 - Google Tags 4 - Prestashop Product Tags
-
Does anybody have any practical advice on which SEO module to go for. There are so many out there, all doing slightly different.
-
[Free Script] Prestools Suite: Mass Edit, Order Edit And Much More
gray replied to musicmaster 's topic in Free Modules & Themes
If I was to add a new field into the PS order table, ie a custom field. Would Prestools pick it up in the 'Order Search' and include it in the 'export as csv'.- 2,042 replies
-
- csv export
- categories
-
(and 4 more)
Tagged with:
-
Looking for module to add custom field to each BO order page I want to be able to add to each order upon shipping, the actual cost of the shipping. This should enable me to export a tax years worth of shipping easily. Instead of entering data into a seperate spreadsheet. Similar to http://nemops.com/hook-modules-prestashop-category-back-office/#.XGCGZKTgq7Q
-
How can I reverse a 'Processing in Progress'
gray posted a topic in Configuring and using PrestaShop
How can I reverse a 'Processing in Progress' I have customers who recieves an email, when I change the status to 'Processing in Progress'. They then decide quickly they want to add to the order. But I cannot as the 'add to order' button has now disappeared. How can I reverse a 'Processing in Progress' so the 'add to order' button reappears. Is there any simple mysql field to change, any advice please. -
Upgrade to 1.7.5 failure on remote hosting?
gray replied to gray 's topic in Upgrading PrestaShop from a previous version
I have a module called ‘inixframe’ so I deleted it. All works fine now. I can now get into the admin/module page But why have I got a module called ‘inixframe’ I have never installed it, and it does not appear in the module list? unless it is a different name. It is a module by presta-apps.com From my archives, it looks like the module was installed between 31 Oct 2017 and 12 Dec 2017. But I cannot find how/why it was installed. Any ideas plz -
Upgrade to 1.7.5 failure on remote hosting?
gray replied to gray 's topic in Upgrading PrestaShop from a previous version
Github have said that I need to delete the 1-click module. But as I cannot get into the module listing, whereabouts is the 1-click module. I cannot find it ? any quick advise plz. -
Upgrade to 1.7.5 failure on remote hosting?
gray replied to gray 's topic in Upgrading PrestaShop from a previous version
I am glad I am not alone. -
Upgrade failure v1.7.5
gray replied to gray 's topic in Upgrading PrestaShop from a previous version
Yes done that, it now starts upgrading. But it stops at vendor\smarty\smarty\libs\sysplugins\smarty_security.php added to archive. 7462 files left. No error message or anything PS just stops. Tried upgrading again, and it stops at vendor\smarty\smarty\libs\sysplugins\smarty_internal_undefined.php added to archive. 7471 files left. -
Upgrade error PS1.7.4.4 to PS1.7.5 1-click upgrade, trying to select admin/module page Oops! An Error Occurred The server returned a “500 Internal Server Error”. Something is broken. Please let us know what.. Also noticed in doing a the 1-click upgrade. I get the following 3 Mysql warnings. Not sure if these have anything to do with it. [WARNING] SQL 1.7.5.0 1060 in ALTER TABLE ps_supply_order_receipt_history CHANGE employee_firstname employee_firstname VARCHAR(255) DEFAULT ”, CHANGE employee_lastname employee_firstname VARCHAR(255) DEFAULT ”: Duplicate column name ’employee_firstname’ [WARNING] SQL 1.7.5.0 1060 in ALTER TABLE ps_product CHANGE reference supplier_reference varchar(64) DEFAULT NULL, CHANGE supplier_reference supplier_reference varchar(64) DEFAULT NULL: Duplicate column name ‘supplier_reference’ [WARNING] SQL 1.7.5.0 1060 in ALTER TABLE ps_stock_available ADD location VARCHAR(255) NOT NULL DEFAULT ” AFTER out_of_stock: Duplicate column name ‘location’ Alos When I select ‘debug mode’, and try to view the admin/module page, everything is displayed correctly. All modules are listed out correctly with descriptions etc. But when I de-select ‘debug mode’, and try to view the module page, I get the “500 Internal Server Error”. With debug mode ON and I view the shop. I get the following error (1/1) ContextErrorException Warning: Declaration of Cart::updateQty($quantity, $id_product, $id_product_attribute = NULL, $id_customization = false, $operator = ‘up’, $id_address_delivery = 0, Shop $shop = NULL, $auto_add_cart_rule = true) should be compatible with CartCore::updateQty($quantity, $id_product, $id_product_attribute = NULL, $id_customization = false, $operator = ‘up’, $id_address_delivery = 0, Shop $shop = NULL, $auto_add_cart_rule = true, $skipAvailabilityCheckOutOfStock = false) in Cart.php line 86 at ErrorHandler->handleError(2, ‘Declaration of Cart::updateQty($quantity, $id_product, $id_product_attribute = NULL, $id_customization = false, $operator = \’up\’, $id_address_delivery = 0, Shop $shop = NULL, $auto_add_cart_rule = true) should be compatible with CartCore::updateQty($quantity, $id_product, $id_product_attribute = NULL, $id_customization = false, $operator = \’up\’, $id_address_delivery = 0, Shop $shop = NULL, $auto_add_cart_rule = true, $skipAvailabilityCheckOutOfStock = false)’, ‘/home/gbhortic/gb-online.co.uk/newxyz/override/classes/Cart.php’, 86, array(‘className’ => ‘Cart’, ‘classDir’ => ‘/home/gbhortic/gb-online.co.uk/newxyz/’))in PrestaShopAutoload.php line 152 at require_once()in PrestaShopAutoload.php line 152 at PrestaShopAutoload->load(‘Cart’)in DebugClassLoader.php line 151 at DebugClassLoader->loadClass(‘Cart’) at spl_autoload_call(‘Cart’)in FrontController.php line 409 at FrontControllerCore->init()in Controller.php line 262 at ControllerCore->run()in Dispatcher.php line 509 at DispatcherCore->dispatch()in index.php line 28 Any ideas
-
Any ideas why I get error. C:\wamp64\www\prestashop\modules\autoupgrade\classes\Tools14.php line 1399 - Allowed memory size of 134217728 bytes exhausted (tried to allocate 67108896 bytes) I have cleared everything not used from memory. Any ideas plz
-
Is it a known bug, where the Order totals in BO/Orders do not adding up correctly when a discount is applied - PS1.7.4.4 Similarly when the invoice is printed out. It also puts the total product value in the the discount line, with a negative value.
-
Whats updates are in 1.7.5 and when is release date
-
Does this support v 1.7.4.x as I cannot get it to work?
- 28 replies
-
- google translate
- mediacom87
-
(and 1 more)
Tagged with:
-
Does anyone know if this the 'official' prestashop update for 1-click and is it included in the new 1.7.4.2 version ? As there seems to be far too many steps to get 1-click to work as per https://www.prestashop.com/forums/topic/873841-actualización-con-1-click-upgrade-desde-17-a-1742/
-
Another problem with layout in BO/Products/Filter by categories. PS1.7.4.1 but its been there for a long time and not changed. The width of the pull down list does not reflect the number of characters in the category or sub cats. Then as such the select check box over writes the last few characters. Is this a bug
-
This module is blocked by my firewall, due to riskware via authedmine.com Any ideas please.
- 28 replies
-
- google translate
- mediacom87
-
(and 1 more)
Tagged with:
