Search the Community
Showing results for tags 'error message'.
-
Hi everyone, I'm modifying the controller AdminProductController.php to do some controls on the BO side on SKU. However, I have the problem of showing an error message to the user when a condition occurs on the update of the product, but this is not displayed. What I do now is this: I modified the file controller-> admin-> AdminProductController.php adding this function public function checkUniqueRef() { $reference = Tools::getValue('reference'); $idproduct = Tools::getValue('id_product'); if ($reference!=""){ $sql = 'SELECT id_product FROM `'._DB_PREFIX_.'product` WHERE reference="'.$reference.'" AND id_product<>'.$idproduct; $res = Db::getInstance()->getValue($sql); if($res) { $this->errors[] = $this->trans('Product with this reference is already exists.', array(), 'Admin.Notifications.Error'); //alternative //$this->errors[] = sprintf(Tools::displayError('Product with reference %s is already exists.'), $reference); } } } and i call here: public function checkProduct() { $this->checkUniqueRef(); if (!empty($this->errors)) { $this->display = 'update'; return false; } however, if the error is found, the error message is not displayed, but the success message for the update is displayed. If I insert an echo ("hello") statement inside the condition if ($ res) {....} a generic error is displayed that is not for me. Do you have any suggestions? thanks in advance to those who want to help me!
-
Salve a tutti, sto modificando il controller AdminProductController.php per fare dei controlli sul SKU lato BO. Ho però il problema di far vedere un messaggio di errore all'utente al verificarsi di una condizione sull'aggiornamento del prodotto, ma questo non viene visualizzato. Quello che faccio ora è questo: Ho modificato il file controller->admin->AdminProductController.php aggiungendo questa funzione public function checkUniqueRef() { $reference = Tools::getValue('reference'); $idproduct = Tools::getValue('id_product'); if ($reference!=""){ $sql = 'SELECT id_product FROM `'._DB_PREFIX_.'product` WHERE reference="'.$reference.'" AND id_product<>'.$idproduct; $res = Db::getInstance()->getValue($sql); if($res) { $this->errors[] = $this->trans('Product with this reference is already exists.', array(), 'Admin.Notifications.Error'); //alternative //$this->errors[] = sprintf(Tools::displayError('Product with reference %s is already exists.'), $reference); } } } per poi richiamarla qui: public function checkProduct() { $this->checkUniqueRef(); if (!empty($this->errors)) { $this->display = 'update'; return false; } il messaggio di errore se rileva l'errore però non viene visualizzato ma viene visualizzato il messaggio di successo dell'aggiornamento. Se inserisco un istruzione echo ("ciao") dentro la condizione if($res) { ....} viene visualizzato un errore generico che non fa al caso mio. Avete qualche suggerimento? grazie in anticipo a chi vorrà aiutarmi! Prestashop è 1.7.2.4
-
Prestashop 1.7.2.4 Does anyone has the same problem when creating an order in BO for a customer? What I did: - creating new order in BO - choosing customer (ok) - searching for products (ok) - when adding product error message “shopping cart is full, can not add a new order. - trying to delete the basket is not possible - error message “u can not delete shoping cart” Thank you very much for your help.
-
I found the ps.1.7.1 do not show any error message on the checkout page, e.g I login with wrong password, it will not show error message on that, e.g if I input the exists email to create a account, it will not show error. Or if there is any payment error, it still not show. Anyone resolve it? Tommy
- 3 replies
-
- bugs
- error message
-
(and 1 more)
Tagged with:
-
Hi, Could anyone help me out to solve my problem. When I click on any products page it appears saying " This page is not available". Even If I click the preview button on the products I am getting the same error. I am sure that it was working few hours back and I have not done any changes in that time. Also sometimes from my main page in the website, products images are replaced by question marks. But not all of them, only few. Looking forward to your advice.
-
Hi, i try to progress a new module but stuck in a step which lead me to a blank page. i found out the way to open the error message display: This is done in your PrestaShop installation's /config/defines.inc.php file. You should edit the following line: define('_PS_MODE_DEV_', false); ...and change it into: define('_PS_MODE_DEV_', true); i already change this 'false' into 'true', but not knowing why i still be lead to a blank page not show any error message. How could i fix this problem? Thanks
-
Hi, Here is the error message I get when I want to create a new customer account TECHNICAL ERROR: unable to load form. Details: Error thrown: [object Object] Text status: parsererro I am using prestashop 1.6 with the default theme. url authentification boutique ateis france bug.txt I've been looking everywhere on forums, no real solutions appears. I am using Chrome, firefox, ie.. same everywhere Thank you in advance.
-
When I get to product level pages, they report this error: (I turned on error reporting and put the site in development mode in the config/defines.inc file) Undefined index: unifunc (/public_html/tools/smarty/sysplugins/smarty_internal_templatebase.php, line 561) This is what I have in line 561: $_template->properties['unifunc']($_template); I did install the ganalytics module in the last week, which is about when this issue came up. I don't know if that has anything to do with it. Should I replace the tools/smarty/sysplugins/smarty_internal_templatebase file with a new copy from 1.5.4 (version I'm using now)? Any ideas for how to handle this would be very much appreciated!
- 4 replies
-
- error message
- blank page
-
(and 1 more)
Tagged with:
-
We are running Prestashop version 1.4.9 in our live shop. Unfortunately we are unable to delete many of our products when they no longer exist in stock. We can only deactivate them. Our categories are full of deactivated products now and it's getting quite cumbersome. In addition the shop has grown unnecessarily big in size, which makes it difficult to create backups. When we try to delete the products we receive the following error message: "An error occurred during deletion: this product is contained in an order." (Please see the attached screenshot) Despite a lot of trying we are still not able to delete. The problem is general and does not only concern the Prestashop sample products. I have changed the status of all orders, except the new ones, to either 'Delivered' och 'Cancelled' but no luck. The new orders does not contain any of the concerned products, since those products have been deactivated much earlier. Should we be forced to delete all our previous orders? We really want them for the shop's statistics. I would really really appreciate if anyone could help us resolve this issue, without deleting the orders!!
- 13 replies
-
- delete products
- deleting products
- (and 4 more)
-
Hello everyone, I'm starting to have problems with my PayPal payments. So I looked into upgrading the module and came to a thread about installing the Backward Compatibility module (since I'm using Prestashop 1.4.9) and the PayPal USA, Canada v.1.2.7 module. I uninstalled the v3.0.9 and enabled the new module. Now when I click on configure, I get this error message : Fatal error: Call to a member function addCSS() on a non-object in /home/xxxx/public_html/modules/paypalusa/paypalusa.php on line 143. Any ideas as to what I should do to fix this? Thanks in advance for any help provided.
-
- PayPal
- prestashop 1.4.9
-
(and 1 more)
Tagged with:
-
Hello everyone, I'm starting to have problems with my PayPal payments. So I looked into upgrading the module and came to a thread about installing the Backward Compatibility module (since I'm using Prestashop 1.4.9) and the PayPal USA, Canada v.1.2.7 module. I uninstalled the v3.0.9 and enabled the new module. Now when I click on configure, I get this error message : Fatal error: Call to a member function addCSS() on a non-object in /home/xxxx/public_html/modules/paypalusa/paypalusa.php on line 143. Any ideas as to what I should do to fix this? Thanks in advance for any help provided.
-
Hola a todos. En primer lugar, agradezco de antemano cualquier ayuda. El problema es el siguiente: He estado haciendo pruebas en mi tienda, y no puedo concluir ninguna compra porque me aparece mensaje de error. Adjunto imágenes del problema, que creo está ligado al SSL, el cual sospecho no está correctamente instalado por mi hosting. Espero que sus respuestas no sólo me ayuden a mí, sino a todos lo que tengan la misma dificultad. Saludos. tienda.unpoemadeamor.com
-
Hello I use the OGONE plugin and I have in the admin a message "payment error" for bank transfers. The message should be "Pending Payment". For paypal and CB, no problem. Thank you for your lights. D
- 10 replies
-
- ogone
- error message
-
(and 1 more)
Tagged with:
-
Greatings ! DESCRIPTION OF THE PROBLEM After automatic update of my OS a few days back, loging into the BackOffice was impossible - coming with a not found error page I tried to log in from different computers with the same result: The issue seemed to be on the server/prestashop side Hopefully, last visited links are memorized in navigators and come as suggestions when typing the address of the site. One of them was: www.mydomain/location/myadmin/a long coded string of characters. I tried it and could access the login page again, making me suspect that something went wrong in the logout process Before chosing the Prestashop solution, I had played a little with a test installation, and got a similar issue. I'm a bit scared that the problem may occur again in the future and cause bad consequences Version of PrestaShop: 1.5.2. (earlier test: the last 1.4) QUESTIONS What causes a BackOffice login failure usually ? What are the different technical options to get back to the login prompt if left unlucky without memorized previous links ? Many thanks.
- 1 reply
-
- backoffice
- error message
-
(and 1 more)
Tagged with:
-
I have been trying to get my PayPal module to work. I have created an account, logged in, made a purchase and chose PayPal which has been setup in BO. When I click to confirm my order I get redirected with an error that simply says: Error occrrred: Nothing else. Question #2 to be sure I have my IPN configured correctly, I am not sure where to redirect to for the downloads and confirmation. Can anyone help with that as well? Thanks! Brenda
-
Hello, I want to do a few things regarding the cart at checkout when items become unavailable before an order is processed. Instead of just an "An item in your cart is no longer available..." error message, I want the system to automatically remove the item from the cart as opposed to the customer needing to delete it themselves and refreshing the page. I want the message to actually say what item(s) have been removed. I want the message to appear up top above the cart, not at the bottom where the payment options are. (Why was it all the way down there in the first place?) Can anyone help? Thanks.
- 1 reply
-
- cart
- error message
-
(and 1 more)
Tagged with:
-
Hi, I'm wondering if someone can help. I have just loaded up Prestashop version: 1.5.2.0 When i,m in the back office and click on the modules tab I get the error message below, reloading the page does not help. In the Configuration Information everything is good apart from the error to fix magicquotes, no idea what this is, if anyone can help in plain simple terms I would really appreciate it. Required parameters: OK Optional parameters: Please fix the following error(s) magicquotes Server error The website encountered an error while retrieving http://www.vapour-trail.co.uk/admin1966/index.php?controller=AdminModules&token=1ed00fed0b921958fc149f0ca8d72984. It may be down for maintenance or configured incorrectly. Here are some suggestions: Reload this web page later. HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfil the request. Regards Paul Hornsby
- 3 replies
-
- back office
- modules
-
(and 2 more)
Tagged with:
-
My website has been giving customer the below message when adding items to the shopping cart. I am also having a problem when adding items to the catalog. The function to put items in different categories isn't populating. It seems to be defaulting and putting all new items added ONLY in the Home category. The error messages are below. TECHNICAL ERROR: unable to add the product. Details: Error thrown: [object XMLHttpRequest] Text status: parsererror AND Supplier ajax error: parsererror Manufacturer ajax error: parsererror
-
Last night I was exploring ways to improve the speed of my website and one of the options recommended was to move images to the new document storage system by Prestashop, under preferences, images. after approx. 30 seconds I received an internal server error so I left to see if anything happened but there seemed to be no change. Today when playing on the site all my product images now show as error with no file attached, I have tried uploading a new picture to an item and it works. Is there any way I can fix this without having to go through each item and uploading a new picture. And once fixed can anyone provide any advice on using this document storage system? thanks lots this is my first major IT crisis and I am in a panic. Website - www.hoursoffun.co.uk rachel
- 1 reply
-
- Images
- error message
-
(and 5 more)
Tagged with:
-
Hello all, I cannot seem to install latest version of Prestashop 1.5.0.17 on my server. Followed instructions http://www.inmotionh.../manual-install But still getting error message on final stage of populating db tables. Username and password using Mysql database have been connected (Please see attachment). Useful info; (FTP) Fillzilla 3.5.3 (version) PHP version 5.2.17 Apache version 2.2.19 MySQL version 5.0.95-community cPanel Version 11.32.4 (build 15) I've dropped tables in the db. Deleted DB and reinstalled both Prestashop and mysql Database. contacted by service provider, but still no joy. Can anyone help? Much thanks in advance Robert
- 2 replies
-
- error message
- error
-
(and 2 more)
Tagged with:
-
I'm setting up my categories for my store in the back end. Obviously categories for my website are going to be entirely different from default store theme since I'm not selling any electronics. I deleted all default categories but I cannot delete ipod touch which is a default product categories in "Home". I get the following error message whenever I attempt to try to delete it: 1 error An error occurred during deletion. How do I delete product? Is it set by default to not be enabled to delete from database or theme? I'm able to delete everything else which was initially installed with default theme for Prestashop. I've using Prestashop v1.4.7.0 Thanks for your help resolving this issue.
- 4 replies
-
- Default theme Prestashop
- delete product
-
(and 1 more)
Tagged with:
-
Hi! I would like to ask for your help - when someone successfully registers to my e-store, this message appears: "Invalid token" (I enclose the image below to see how this message looks like). Then this "Invalid token" message must be manually closed in order to be able to browse through the store. What is more, this message also appears each time the customer clicks on the homepage logo and after he closes this message; it seems as if he would not be registered (logged in) at all (My account module disappears). If he then clicks on some category or product, it seems as if he is logged in again (My account module appears again). Does anyone know how to stop this message "Invalid token" from showing up over an over again when the customer clicks on the homepage logo or when a new visitor creates a new account? Thank you! Nina P.S.: I'm using 1.3 version of Prestashop
-
- invalid token
- message
-
(and 5 more)
Tagged with:
-
Hi! I just transferred my website (www.besttrends.co.uk) to new host. Everything was OK and all of sudden it started giving error message on all the product pages ( http://www.besttrend...?id_category=22)is showing the error as 'Parse error: syntax error, unexpected '=' in /hermes/bosweb/web253/b2536/ipg.kgoyalcom/besttrends/tools/smarty/plugins/function.math.php(65) : eval()'d code on line 1 '. Please please some one out there help me as I don't know any technical aspect and have no idea what I can do to short this out? Regards Kshamata
-
I am using version 1.3.6.0 and my website is called www.thera-bands.co.uk I have a strage situation where some of my products get error messages sent from my website to the buyer even though the payment has been accepted on Paypal. For example people purchasing a gold thera-band always get an error message, where as people purchasing a blue thera-band or the multi packs do not. As far as I can tell, I have entered exactly the same type of information on the catalogue for both products. I have also been struggling to find a way to upload a pdf file from by desktop onto one of the pages of my website. It appears on the attachment page of the catalogue, but I can't see it on the website itself. Any help really appreciated.