Child pages
  • Probleemoplossing

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of contentsInhoudsopgave

Table of Contents
maxLevel2

Troubleshooting

Turning the error message display on in case of unexpected and persistent blank pages

If your back office and/or front office start displaying a blank or incomplete page regularly without any error message, it is necessary to activate the display of the PHP errors in order to understand the problem.

...

Probleemoplossing

Anchor
psmodedevtrue
psmodedevtrue
Schakel foutmeldingen in als u witte pagina's krijgt

Info
titleModule

Voor PrestaShop 1.6 en hoger kunt u gebruikmaken van een module: https://www.prestashop.com/forums/topic/513401-free-module-enable-debug-mode-from-back-office/

Als uw backoffice en/of frontoffice witte pagina's toont, zonder foutmeldingen, dan is het noodzakelijk om de PHP-fouten zichtbaar te maken om het probleem te vinden.

Dit kan gedaan worden met het bestand /config/defines.inc.php file. You should edit the following line in uw PrestaShop-installatie. U moet de volgende regel aanpassen:

Code Block
HTML
HTML
define('_PS_MODE_DEV_', false);

...and change it intoen veranderen naar:

Code Block
HTML
HTML
define('_PS_MODE_DEV_', true);

Now browse your store's pages again. PrestaShop will display all the relevant error messages (if any), which should help you solve the issue.

Once the issue has been fixed, you must revert your changes: edit the Ga nu naar dezelfde pagina in uw winkel. PrestaShop toont alle relevante foutmeldingen (als ze er zijn), die u moeten helpen bij het oplossen van het probleem.

Zodra het probleem is opgelost, moet u de instellingen weer terugzetten: bewerk /config/defines.inc.php file again and put false back as the value for the  en zet de waarde false weer terug bij _PS_MODE_DEV_ constant.

Hosted at 1&1: Solving the memory allocation issue

Some people may encounter memory allocation issues, particularly when the back office tries to display images which are quite big in the disk (over 800 Kb). You should know that even if you manually increase the hosting memory limit to 128 Mb, some web hosts, such as 1&1, will keep the limit at 32 Mb. See this FAQ from 1&1: http://faq.oneandone.co.uk/scripting/php/10.html.

There are only two solutions, and they are both drastic:

  • Decrease the size of your pictures in pixels, and thus their size on the disk. This will also most probably improve the overall performance.
  • Change host for one that support memory increase.

It is impossible to connect anymore

There are cases when PrestaShop will not recognize a user's e-mail or password, making it impossible to connect to either the back office and the front office. The user is simply sent back to the login screen. Some reports tend to point that IE10 is the only browser where this happens.

This is most probably an issue with the user's browser cookie for your store: when the user repeatedly logs in and out of the store, the cookie's encryption keys can get mixed up.

In any case, one easy way to fix this and to be able to log in again is to clear the browser's cache and cookies. Here is page explaining how to do just that, depending on the browser.

Het is niet meer mogelijk om in te loggen

Er zijn gevallen waarbij PrestaShop uw e-mail en wachtwoord niet meer herkent, waardoor het onmogelijk wordt om in te loggen op de front- of backoffice. De gebruiker wordt simpelweg teruggestuurd naar het loginscherm. Sommige gebruikers melden dat IE10 de enige browser is die hier last van heeft.

Dit is meestal een probleem dat veroorzaakt worden door de browser cookie van uw winkel: als de gebruiker herhaaldelijk in- en uitlogt, dan kan er iets fout gaan met de encryptiesleutels.

In elk geval is er een manier om dit op te lossen door de cache en cookies in een browser te verwijderen. Hier is een pagina met uitleg hoe u dit doethttps://support.google.com/mail/answer/32050?hl=ennl.

Regenerating a password manually

There are situations where nothing happens when you request a new password, and it doesn't work. There can be a number of reasons why this would happen, but the important thing is to be able to log in again.

This is will require you to access your database, using phpMyAdmin for instance.

You will have to follow the following procedure:

...

Een wachtwoord handmatig herstellen

Het komt voor dat er niets gebeurt als u een nieuw wachtwoord opvraagt. Er kunnen een aantal redenen voor zijn, maar het belangrijkste is dat er weer ingelogd kan worden.

Hiervoor moet u toegang hebben tot uw database, door bijvoorbeeld gebruik te maken van phpMyAdmin.

U moet de volgende procedure volgen:

  1. Open het bestand /config/settings.inc.php file, from your shop's root directory. Find the line containing , in de hoofdmap van de winkel. Zoek de regel met "_COOKIE_KEY_". Copy the cookie content (without the quotes): it is the MD5 for your original password.You now need to generate a new MD5 hash for your password:Go to Kopieer de inhoud ernaast (zonder aanhalingstekens): het is onderdeel van de MD5 van uw wachtwoord.
  2. U moet nu een nieuwe MD5-hash genereren voor uw wachtwoord:
    1. Ga naar http://www.miraclesalad.com/webtools/md5.php.
    2. Paste the value of Plak de waarde van "_COOKIE_KEY_" in the text-field, and right after it, add your desired password. For instance, xykxB41JrEacRIoZxDioPNRmKeuO3ixCLygNxBAkeOkAHf2YUVESuT9jMYPASSWORD, where the cookie ends with T9j, and the desired password is MYPASSWORD (it can be anything you want).
    3. Click on the "md5" button: this will produce a MD5 hash of the text-field's content. Copy it.
  3. You now need to put this hash into your database:
    1. Open you shop's database using phpMyAdmin. If you don't know how to use phpMyAdmin, ask your webmaster, or your host.
    2. Open the pw_employee table, find the row corresponding to your account (it should feature your first name, last name, and e-mail address), and click its "Edit" button.
    3. Find the passwd field, and paste in the MD5 that you just generated.
  4. Log in to your back office with the email listed in the same table, and the desired password that you used above (MYPASSWORD). This will generate a new cookie key.

If it still doesn't work, use phpMyAdmin to access the ps_shop_url table and check the value of the main shop, whose id is 1. It should contain the shop's file path:

...

    1. het tekstveld in het tekstveld en voeg hier uw wachtwoord aan toe, xykxB41JrEacRIoZxDioPNRmKeuO3ixCLygNxBAkeOkAHf2YUVESuT9jMIJNWACHTWOORD, waar de cookie_key eindigt met T9j en uw wachtwoord MIJNWACHTWOORD is (het mag van alles zijn).
    2. Klik op de knop "md5": dit maakt een MD5-hash aan van de inhoud van het tekstveld. Kopieer deze.
  1. U moet nu de hash in uw database stoppen:
    1. Open de database van uw winkel met phpMyAdmin. Als u niet weet hoe u phpMyAdmin gebruikt, kunt u uw webmaster of hostingprovider om hulp vragen.
    2. Open de tabel pw_employee, zoek de rij die bij uw account hoort (u moet uw voor- en achternaam zien, en e-mailadres) en klik op de knop "Bewerken".
    3. Zoek het veld passwd en voer hier de MD5 in die u zojuist hebt gegenereerd/
  2. Log in op uw backoffice met het e-mailadres dat u in de tabel ziet en het wachtwoord dat u zojuist hebt gebruikt (MIJNWACHTWOORD).

Als dit nog steeds niet werkt, dan kunt u phpMyAdmin gebruiken om naar de tabel ps_shop_url te gaan en de waarde van de hoofdwinkel kunt controleren. De id is 1. Het moet het bestandspad van de winkel bevat:

  • Als uw winkel zich in de hoofdmap van de server bevindt, dan moet deze variabele "/" zijn.
  • Als u winkel zich in een submap bevindt, moet deze zijn ingevoerd. Bijvoorbeeld, als deze te vinden is op  "http://www.mywebsite/shop/", then the variable should contain dan moet de variabele de waarde "/shop/" bevatten.

If all fails, contact the PrestaShop support team at Als alles faalt, neemt u contact op met het PrestaShop supportteam op: http://support.prestashop.com/en/.

PrestaShop

...

The request to reset the password only works if the SMTP server has been configured so that PrestaShop is able to send emails.

Two solutions present themselves to you:

...

  1. Get information for SMTP connection from your hosting provider.
  2. Go to your back office (either you or an administrator who can still log) "E-Mails" page, in the "Advanced parameters" menu.
  3. Select the "Use my own SMTP settings" option. A form will appear: fill it with the information given by your host.
  4. Save your changes.
  5. Request a new password once again. You should receive it.

...

verstuurt het nieuwe wachtwoord niet

Om een nieuw wachtwoord aan te vragen moet uw winkel kunnen verbinden met de SMTP-server, zodat PrestaShop e-mails kan verzenden.

Er zijn twee oplossingen beschikbaar:

  1. Configureer de SMTP-server om e-mails te versturen
    1. Vraag uw hostingprovider om de informatie.
    2. Ga naar uw backoffice en dan de pagina "E-mail" onder het menu "Geavanceerde instellingen".
    3. Selecteer de optie "Stel mijn eigen SMTP-parameters in". Er verschijnt een formulier: vul de informatie van uw host in.
    4. Bewaar uw  veranderingen.
    5. Vraag opnieuw om een wachtwoord. U zou deze moeten ontvangen.
  2. Volg deze stappen:
    1. Kies een nieuw wachtwoord. In ons voorbeeld: "$$$rabbit$159$$$".
    2. Met uw FTP-client opent u het bestand login.php in de administratiemap (de naam hangt af van uw installatie).
    3. Aan de onderkant van het bestand voegt u de volgende regel toe:
      echo md5( PSQL( _COOKIE_KEY_ . 'newpassword' ) );
      So with our example passwordDus met ons wachtwoord:
      echo md5( PSQL( _COOKIE_KEY_ . '$$$rabbit$159$$$' ) );
      Remember to put your own new password!
  3. Go to the login screen to the back office, as if you wanted to log in, and copy the text that appears at the bottom of the page (e.g.: a0ee884b507dd4624ce51968cfbb19a9).
  4. Go to the PrestaShop database, for example using phpMyAdmin. In the ps_employee table, replace the existing value in the passwd column for the employee of which you want to change the password with the value obtained in the previous step. Save your changes.
  5. You can now connect with the usual username and new password.

Logging in after mistakenly deleting the default language pack

In the event that you deleted the default language pack from your shop install, you can have issues connecting to your back office again.

Here how to solve this if the default language was English:

  1. Go to phpMyAdmin. If you cannot access it, ask your host to perform these actions.
  2. Select your shop's database, and select the ps_lang table.
  3. Click the "Insert" button at the top, and create a new entry with these values
    1. Plaat hier uw eigen wachtwoord!
  4. Ga naar het loginscherm van de backoffice, alsof u wilt inloggen, en kopieer de tekst dat aan de onderkant van de pagina verschijnt (bijv. a0ee884b507dd4624ce51968cfbb19a9).
  5. Ga naar de database van PrestaShop, met bijvoorbeeld phpMyAdmin. In de tabel ps_employee vervangt u de huidige waarde in de kolom passwd met de nieuwe waarde voor het account waarvan u het wachtwoord wilt wijzigen. Sla uw instellingen op.
  6. U kunt nu weer inloggen met het gebruikelijke account en nieuwe wachtwoord.

Inloggen nadat per ongeluk het standaardtaalpakket is verwijderd

In het geval dat u het standaardtaalpakket hebt verwijderd van uw winkel, dan kunnen er problemen optreden als u wilt verbinden met uw backoffice.

Zo kunt u het probleem oplossen als de standaardtaal Nederlands was:

  1. Ga naar phpMyAdmin
  2. Kies de database van uw winkel en selecteerde tabel ps_lang.
  3. Klik op de knop "Toevoegen" aan de bovenkant een maak een nieuw item aan met de volgende waarden:
    • id_lang -> 1
    • name -> EnglishNederlands
    • active -> 1
    • iso_code -> ennl
    • language_code -> ennl
    • date_format_lite -> Yd-m-dY
    • date_format_full -> Y> d-m-d Y H:i:s
    • is_rtl -> 0
  4. Execute the Voor de query uit.

You should be able to log in againU moet nu weer in kunnen loggen.