Jump to content

limonaderose

Members
  • Posts

    20
  • Joined

  • Last visited

Profile Information

  • Activity
    User/Merchant

limonaderose's Achievements

Newbie

Newbie (1/14)

3

Reputation

1

Community Answers

  1. So I found the problem: I had modified header.tpl (many days ago without clearing) and after clearing cache, it was searching for an undefined index which stop the script and prevent the slider to show up. Solve by adding an if condition somewhere.
  2. I now knoe that the problem appeared when I cleared cache. Why does clering cache would have such effect?
  3. Hi, I run a boutique on presta v 1.6.0.8. Yesterday I upgrade homeslider to v.1.4.5 and it worked, but later on the day, i notice there is no more slider on my homepage. There is a blank soace instead of it. I was not modifying anything related to that in the back office. --> I did'nt changed hook -->When I run live edit, I see the presence of the hook for the slider, but the slidder is no appearing -->The slider is enable and parameters are set correctly I uninstalled the module and replace it with a old version from a backup. The slider is not coming back. So I understand the problem does not come from the module update. Cleared cache from navigator and shop. I also run a test boutique on local host, and the slider dissappered too this morning, as I was installing a social share button. Anyone knows what could be causing that?
  4. Thank you soooo much, I was getting mad with that. Support team from my hosting company turned it on, but I didn't know, since I never used debug before. I'm more clever now, thanks.
  5. Hey, Runing V1.0.6.8 Just updated ganalytics module 2 days ago, and i changed nothing to my configuration. now, i've got this error showing on my front office when I load any product: Notice: Undefined index: id_product in /home/lecteu5/public_html/modules/ganalytics/ganalytics.php on line 415 Anybody knows what's going on? Thanks.
  6. That's the weirdest hing I've seen. When I create a manual order in BO, 2-3 other orders with other products are created simultaneously. At the end, for ONE id_order, i have many customers linked and many products. I see that with a sql query like: SELECT ps_orders.id_order, ps_order_detail.product_id FROM `ps_orders` , `ps_order_detail` WHERE ps_orders.current_state=2 AND ps_orders.id_order=ps_order_detail.id_order What is even more weird, it's that I cannot find where are made these wrong assosiations. I mean, ps_orders and ps_order_detail look normal when seen separately. Recently, I installed a delete_order module, I enabled my shop to euro currency and ran cron jobs scanning ps_order for new orders. Could it be the prob? Has anybody heard of something like that before? I'm really lost.
  7. Hi, I'm doing the same. Can you explain how you avoid the other class to ovewrite? Thanks!
  8. I'm working local in an external folder from prestashop (C:\xampp\htdocs/other_folder\script.php) and need to include or require config.inc.php in my file to call some prestashop function. I use: require('C:\xampp\htdocs/prestashop/config/config.inc.php'); when this line is executed, it loads the homepage of the shop(index.php) and stop the script. Version is 1.6.0.8 Can somebody explain please?
  9. But do you know why my code need to be in the same folder than config.php to work?
  10. Working now! For information: The relative path was set correctly but I change with the complete path of the file from C: and it was still loading the homepage. I then move my code in the same folder than config.php and it was not loading the homepage anymore. Finally I kept: require('C:\xampp\htdocs/prestashop/config/config.inc.php'); and removed the require to Order.php and OrderHistory.php. and it worked. Thanks for your help everybody!
  11. Apparently they are the one not working: after reading the first line, it opens my home page and the rest of the script is not read.
  12. Thanks for your opinion. Do you know what's wrong with these line: require(dirname(__FILE__).'/../config/config.inc.php'); require_once '../classes/order/Order.php'; require_once '../classes/order/OrderHistory.php';
  13. Actually, I'm wondering if I can simply change it in the database that way: Will it mess with prestashop or is it doing the job? $db-> exec("UPDATE ps_orders SET current_state = 4 WHERE id_order = $id_comm"); date_default_timezone_set('America/Montreal'); $date_stat=date("Y-m-d H:i:s"); $upt_st= $db->prepare('INSERT INTO ps_order_history(id_order, id_order_state, date_add) VALUES(?, ?, ?)'); $upt_st->execute(array($id_comm, 4, $date_stat));
  14. It can not return anyting since the first line: require(dirname(__FILE__).'/../prestashop/config/config.inc.php'); brings me directly to http://127.0.0.1/prestashop/en/ The problem is coming from require and include, but I'cant understand...
  15. I use this code on prestashop 1.6.0.8:
×
×
  • Create New...