Jump to content


  • Posts

  • Joined

  • Last visited

About Frevab

  • Birthday 08/29/1959

Profile Information

  • Location
  • Interests
    trade, e-commerce, photography, food, travel
  • Activity

Recent Profile Visitors

4,667,630 profile views

Frevab's Achievements

  1. Hi there I wanted to open my modules page in back office after restoring my webshop and database and got following error: [1] Symfony\Component\Debug\Exception\FatalErrorException: Error: Cannot declare class SampleDataMenu, because the name is already in use at n/a in /var/www/vhosts/abcdefg.nl/httpdocs/abcdefg.nl/modules/owlmegamenu/sql line 27 How can I solve this. It says "because the name is already in use" and that "at n/a" In this SampleDataMenu.php file on line 27 its says "class SampleDataMenu" and line 28up are a lot of line for different sql tabels. See attached file SampleDataMenu.txt Sorry but cannot upload this .php file saved as .txt file. Got a server error on this forum page.
  2. I switched webhost I had to put my shop back using a local backup file. Now I cannot get my layout working correctly. All is centered to the left. I have switched back to default PS theme but still the same problem. I have printed the front page into a pdf and have attached it here. Even bought a new theme but still the same problem. How can I fix this? landingpage.pdf
  3. Ik heb een grote fout gemaakt en de database van mijn website verwijdert zonder backup. Nu heb ik wel en wat oudere back up en zo veel is er ook niet gewijzigd sindsdien in de producten. Nu wil ik die terugzetten maar krijg nu een blanko pagina als ik op de backoffice wil inloggen. De webshop zelf geeft een Internal Server Error (50). Na debug aan te hebben gezet krijg ik nu Fatal error: Uncaught Error: Class 'CacheRedis' not found in /home/abcdefg/public_html/abcdefghil.nl/classes/cache/Cache.php:131 Stack trace: #0 /home/abcdefg/public_html/abcdefghil.nl/classes/db/Db.php(582): CacheCore::getInstance() #1 /home/abcdefg/public_html/abcdefghil.nl/classes/shop/Shop.php(344): DbCore->executeS('SELECT s.id_sho...') #2 /home/abcdefg/public_html/abcdefghil.nl/config/config.inc.php(120): ShopCore::initialize() #3 /home/abcdefg/public_html/abcdefghil.nl/adminabcde/index.php(43): require('/home/abcdefg/...') #4 {main} thrown in /home/abcdefg/public_html/abcdefghil.nl/classes/cache/Cache.php on line 131 Nu heb ik ooit wel Redis gebruikt maar omdat ik problemen kreeg met het bijwerken van producten heb ik dit weer uitgezet. Nu kan het zijn dat de database uit de periode is dat in Redis nog gebruikte, maar nu dus niet meer. Waar kan ik cache uitzetten als ik niet in de backoffice kan.
  4. I recently have this problem in ps_featuredproducts. Before they were show horizontal and now vertical which looks very bad as they are underneath each other and take up a lot of length of the homepage. I use PS v How can I fix this and it looks like it happended after a module update as before it was ok.
  5. I have 2 shops: one is on PS and when I look at the contact form it shows -- choose -- as a default subject (email to). This webshop does not have any problem with spam use of the contact form. The other shop is on PS and with this contact form it has no the -- choose -- as a default anymore. This webshop has daily 20-30 spam emails using the contact form because the default "subject" setting is one of the addresses set (customer service) in the back office shop in settings>contact. How do I get this --choose-- setting used in PS 1.6 to the shop 1.7. Now I have deleted all email address and added a default text in de message body saying people can only send a message using our email address and not the contact form just to stop the spam emails. Why was this functional layout in 1.6 taken out of 1.7 ? It was an easy way to prevent spam.
  6. I have a problem with spam received/sent through contact form. I remember in the olders version (1.4 if I remember correctly) that a simple solution was to create a blanc contact in the paramaters>contact list and have this shown in the drop down list as #1. Now I have PS 1.7 and the contact form is sorted in a random way and nothing like the contact in the parameters. How (and where) do I change the contact form code so that it copies the exact rang order of the set parameters?
  7. Hello I am looking for someone who can help me with setting up cache on my webshop ( with PHP 7.1 hosted on Linux server with Apache/2.4.41) I wanted to use redis. Up and running on server. Added PS redis-module 1.0.6 (from Valentin Zsigmond) speed was great but this caused some problems with saving changes in products. Then I was using PS with PHP 5.6. So I thought perhaps better to upgrade PHP and also MySQL and try redis again, but same problem. But only now cannot de-install module as I cannot select other cache-system in back office. Host says memcache is installed but in php info no mention. I want to use Opcache as this is recommended on forum. PHP info says Opcache is up and running but want to amend some settings to optimize performance (as suggested in PS forum post) but cannot find ini file. PHP info says it is “/opt/cpanel/ea-php71/root/etc/php.d/10-opcache.ini" but I cannot find location. in php.ini file no mention of opcache settings. I am a merchant with limited knowledge of server management. I am working with PS since 2012. Who can help me or do it for me (paid help)
  8. Can you not update the database manually: https://devdocs.prestashop.com/1.7/development/database/structure/ Also usefull info: https://devdocs.prestashop.com/1.7/basics/keeping-up-to-date/upgrade/
  9. I read in a post once: Prestashopversions only by using 1-click-module and also on servers with php 7.1 + installed by default. Be careful with servers configured initially with php versions 5.6x and than other php versions are instlled as extra. This could make problems on your site, like: Passwords will not work anymore, data could not be changed or saved anymore, etc. I saved the post for my own use and enclose a copy. The settings below are tested in production for 500 to 20.pdf
  10. Niet van een module, gewoon bij het aanroepen van de front office en order details en product details in de back office. Ik heb 2 Prestashop website en was met de andere bezig qua updates. Die heb ik vorig jaar geupgrade van PS naar PS Na de upgrade naar PHP 1.7.32 en MySQL 5.7.27 geen problemen dacht ik. Vandaag nog bestellingen en betalingen ontvangen maar zag toch net dan iets biet goed werkt en kreeg zojuist de volgende fout nadat ik debug aangezet heb omdat ik een willekeurig product niets in de cart kon doen: Notice op lijn 4603 in bestand /home/kl1q/public_html/swxxxxm.nl/app/cache/dev/classes.php [8] SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/cpanel/php/sessions/ea-php71) failed: Permission denied (13) Ik was toen te druk bezig met de 1.7 webshop dat ik niet door had dat de MySQL upgrade alle databases aangaat dus ook die van mijn 1.5 webshop, waar ik geen backup van heb gemaakt voorafgaande aan de PHP/MySQL upgrade omdat ik mijn niet realiseerde dat die database ook. Ik ben een merchant en een leek op het gebied van websites maar werk al vele jaren met PS en nooit dit soort problemen gehad. Ben niet zo iemand die gelijk alles upgrade. Als het goed draait blijf ik er van af. PS was altijd een snelle en perfect werkende webshop Omdat ik een probleem had waar ik gean vinger achter kon krijgen bij mijn webshop die op 1.7 draait (kon geen wijzigingen opslaan in bv producten). Ik vermoed dat dit door de Redis module kwam want toen ik die in z'n geheel verwijderd heb inclusief de bijbehorende mappen was het probleem weg. Toen ik op de WHM/cPanel zag dat de PHP versie al end-of-life was heb ik deze geupdate ook een beetje ingegeven door de forum post (zie bijlage). En daarna ook MySQL geupdate naar 5.7. Kan het een PHP versie of PHP instelling zijn? Kennelijk heeft hij problemen om bij de gegevens in de database te komen? Alvast bedankt voor je mening. groet Freek The settings below are tested in production for 500 to 20.pdf
  11. Hallo Ik have done en update of PHP and MySGL versions and now the front office appears to work but no products are shown. Also the back office vieuw is normal but when you click on orders or products the wrror appears When I put debug on I get: PrestaShopDatabaseException] Expression #1 of ORDER BY clause is not in SELECT list, references column 'xxxxxx_knl.c.level_depth' which is not in SELECT list; this is incompatible with DISTINCT I enclose the complete error message Webshop is running on PS version MySQL was 5.5.62 now 5.7.27 What can this be? Thanks for your help !
  12. Hallo Ik heb een update gedaan van PHP en MySQL en nu werkt de frontoffice en de backoffice op het eerste gezicht wel maar er worden in de frontoffice geen producten meer getoond. Ook de back office overzichten zien er normaal uit maar als je verder klikt op een order of products krijg je weer de foutmedling. Als is debug aanzet staat er: [PrestaShopDatabaseException] Expression #1 of ORDER BY clause is not in SELECT list, references column 'xxxxxx_knl.c.level_depth' which is not in SELECT list; this is incompatible with DISTINCT Volledig error message sluit ik bij. Webshop draait nog op MySQL was 5.5.62 nu 5.7.27 Wat kan dit zijn?
  13. https://www.prestashop.com/forums/topic/271134-solved-upgrade-fatal-error-internal-server-error-jqxhr/
  14. I used module MigrationPro to upgrade my webshop from 1.4.9 to 1.7.3 as also I had to buy a new theme. The MigrationPro module upgraded my database without any problems and with the new theme add new (version) modules. My 1.4.9. theme was not responsive yet and now it is important to have a good working responsive design. I only made major mis-calculation by moving my new upgrade shop to the root where my old shop was in folder "shop" which caused me destroying all my historical organic search results with Google and clicks felt down to almost zero.
  • Create New...