gray
Members-
Content Count
140 -
Joined
-
Last visited
-
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/ -
gray started following How can I reverse a 'Processing in Progress', Strange product quantity, short description and search results, How to manually turn off Admin/Debug mode and and 6 others
-
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.
