Jump to content

AgnieszkaK

New Members
  • Posts

    5
  • Joined

  • Last visited

AgnieszkaK's Achievements

Newbie

Newbie (1/14)

  • Conversation Starter Rare
  • Week One Done Rare
  • One Month Later Rare

Recent Badges

1

Reputation

  1. I've created a PrestaShop app on my server and everything works there. I was trying to create my dev version, so I copied all files from server to my localhost. I run my app using lampp. Dev version doesn't work, because I got: Link to database cannot be established: SQLSTATE[HY000] [1045] Access denied for user 'srv38468_pr1'@'localhost' (using password: YES) at line 136 in file classes/db/DbPDO.php I checked app/config/parameters.php: 'database_host' => 'localhost', 'database_port' => '', 'database_name' => 'srv38468_pr1', 'database_user' => 'srv38468_pr1', 'database_password' => '****************', 'database_prefix' => 'pr_', 'database_engine' => 'InnoDB', and this is a db's config from my server: I see this error is very popular but I've checked all solutions and nothing works. Does anyone have any ideas, how I can solve it?
  2. @joseantgv ok, it was so stupid and simple, and works! Thank you so so much!
  3. I created a new module that adds a new order state. I would also like to add my new email template to the folder with all templates (move file: my_module/mails/en/my_email_template to app_main_dir/mails/en/ dir). I don't want to send emails from my module, I just want to add a new template using only my module. In creating a new order state, there is a "template => email_template" field where you need to indicate which email template will be sent by the order status, and templates that can be used are outside my module. do you have any idea how to do it?
  4. I'm trying to create new order state in my module. I want to add my custom email template to add it do this state, but code below searches $template_name in prestashop_app/mails location and I want it to use file with email template in my module $pending = new OrderState(); $pending->module_name = $module_name; $pending->template = $template_name; $pending->unremovable = $unremovable; $pending->color = $pending_color; $pending->send_email = $pending_send_email; $pending->paid = $pending_paid;
  5. I'm trying to configure MailDev on my PS website which uses Docker. I know i need to add sth like this to my docker-compose.yml in "services" section: maildev : image : maildev/maildev ports : - 25 What else should I do?
×
×
  • Create New...