Jump to content

Frevab

Members
  • Posts

    175
  • Joined

  • Last visited

About Frevab

  • Birthday 08/29/1959

Profile Information

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

Recent Profile Visitors

4,667,737 profile views

Frevab's Achievements

  1. I get this error when I want to access the module manager. How can I fix this ??? Error: Cannot declare class SampleDataMenu, because the name is already in use 500 Internal Server Error - FatalErrorException Stack Trace in modules/owlmegamenu/sql/SampleDataMenu.php at line 27 24. * International Registered Trademark & Property of PrestaShop SA 25. */ 26. 27. class SampleDataMenu 28. { 29. public function initData() 30. { Logs ErrorLog.txt
  2. No. I updated/migrated my shop to the last version of PS 1.7 and it works fine now. PS 8 was a step to far as many of the third party payment and shipping modules I use dont supportv8 yet
  3. They way I usually find it by searching for the text I want to change and search for it using Notepad+ using tab Search in files. I back-up a copy to my local HD and apply the search to the file containing the PS files. Looking for a text or just for a color code to find out where I can change it. Works all the time. I found it that way in: translations\nl-NL\ShopThemeGlobal.nl-NL.xlf on line 525 <target state="final">%copyright% %year% - E-commerce-software van %prestashop%</target> (I am in NL so you have to check your language files).
  4. 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.
  5. 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
  6. 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.
  7. 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 1.7.2.4. How can I fix this and it looks like it happended after a module update as before it was ok.
  8. I have 2 shops: one is on PS 1.6.1.24 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 1.7.2.4 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.
  9. 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?
  10. Hello I am looking for someone who can help me with setting up cache on my webshop (1.7.2.4 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 1.7.2.4 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)
  11. 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/
  12. 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
  13. 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 1.4.9.0 naar PS 1.7.2.4. 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 1.5.4.1 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
  14. 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 1.5.4.1 MySQL was 5.5.62 now 5.7.27 What can this be? Thanks for your help !
×
×
  • Create New...