Jump to content

zizoo

Members
  • Posts

    31
  • Joined

  • Last visited

Everything posted by zizoo

  1. This worked, but still no effect. I can't add links.
  2. if i do that i get an error : [PrestaShop] Fatal error in module menutoplinks.class: syntax error, unexpected T_STRING I replaced : public static function gets($id_lang, $id_linksmenutop = null, $id_shop) { $sql = 'SELECT l.id_linksmenutop, l.new_window, ll.link, ll.label FROM '._DB_PREFIX_.'linksmenutop l LEFT JOIN '._DB_PREFIX_.'linksmenutop_lang ll ON (l.id_linksmenutop = ll.id_linksmenutop AND ll.id_lang = '.(int)$id_lang.' AND ll.id_shop='.(int)$id_shop.') WHERE 1 '.((!is_null($id_linksmenutop)) ? ' AND l.id_linksmenutop = "'.(int)$id_linksmenutop.'"' : '').' AND l.id_shop IN (0, '.(int)$id_shop.')'; return Db::getInstance()->executeS($sql); With public static function gets($id_lang, $id_linksmenutop = null, $id_shop) { $sql = 'SELECT l.id_linksmenutop, l.new_window, ll.link, ll.label FROM '._DB_PREFIX_.'linksmenutop l LEFT JOIN '._DB_PREFIX_.'linksmenutop_lang ll ON (l.id_linksmenutop = ll.id_linksmenutop AND ll.id_lang = '.(int)$id_lang.' AND ll.id_shop='.(int)$id_shop.') WHERE 1 '.((!is_null($id_linksmenutop)) ? ' AND l.id_linksmenutop = "'.(int)$id_linksmenutop.'"' : '').' ; return Db::getInstance()->executeS($sql); }
  3. I have used the multi-shop feature in the past on that site but have disabled it for some time now.
  4. When i do this, i receive an error : "bool(false)"
  5. Where and in which file do i put the var_dump ?
  6. I'm sorry you lost me. How do I dump $links ?
  7. I have both ps_linksmenutop and ps_linksmenutop_lang and both filled correctly
  8. I'm not sure where to look in the database..
  9. I'm using version 1.5.3.1 Not using multishop When adding a custom link to the top menu, the link is accepted but afterwards it is not shown in the link menu (in admin panel) , nor in the top menu of the site. I receive following errors in the error log : [Wed Mar 13 10:54:38 2013] [warn] [client 84.192.X.X] mod_fcgid: stderr: PHP Warning: Invalid argument supplied for foreach() in /var/www/clients/client1/web4/web/modules/blocktopmenu/blocktopmenu.php on line 262, referer: http://tablets.zizoo.be/admin1/index.php?controller=AdminModules&token=59ba6552e8350fddadd6c83b6516bc83 [Wed Mar 13 10:54:38 2013] [warn] [client 84.192.204.192] mod_fcgid: stderr: PHP Warning: Invalid argument supplied for foreach() in /var/www/clients/client1/web4/web/modules/blocktopmenu/blocktopmenu.php on line 407, referer: http://tablets.zizoo.be/admin1/index.php?controller=AdminModules&token=59ba6552e8350fddadd6c83b6516bc83 Any tips ?
  10. I have been strugling with this problem for some time and finally found a solution. I'm running PS 1.5.3.1 and since my upgrade to version 1.5 and above I did not get an order confirmation mail anymore to my admin account when a new order was placed by a customer. All version before 1.5 (1.4) worked fine. I've been looking at the various solutions for this problem in the forum and tried all suggestion (change smtp, check language folder and files, mailalert module configuration etc) but all was correct and I did not receive the admin mails. What is specific for my PS is that I use only one language and it isn't Englisch (en). I use as standard language dutch (nl) and this is the only language i use. I was able to resolve the problem by replacing the file /modules/mailalerts/mailalerts.php from my 1.5.3 installation with an older version of my 1.4 shop. Then i started debugging the original mailalerts.php from 1.5.3.1 and came to the following conclusion : on line 335 right after $template = 'new_order'; add following : $subject = $this->l('New order', false, (int)$id_lang).' - '.sprintf('%06d', $order->id); line 385 replace $iso = Language::getIsoById($id_lang); with $iso = Language::getIsoById((int)$id_lang); line 389 replace Mail::Send( $id_lang, $template, sprintf(Mail::l('New order - #%06d', $id_lang), $order->id), template_vars, explode(self::__MA_MAIL_DELIMITOR__, $this->_merchant_mails), null, $configuration['PS_SHOP_EMAIL'], $configuration['PS_SHOP_NAME'], null, null, dirname(__FILE__).'/mails/' ); with Mail::Send((int)$id_lang, $template, $subject, $template_vars, explode(self::__MA_MAIL_DELIMITOR__, $this->_merchant_mails), null, $configuration['PS_SHOP_EMAIL'], $configuration['PS_SHOP_NAME'], null, null, dirname(__FILE__).'/mails/'); This does the trick and everything works fine. PS developpers will probably have to clean up this code and solve the bug for next versions. Just wanted to share...
  11. I've added dreamtheme.eu as they are providing 1.5 themes..
  12. I found the setting in the database to disable minify.. my admin works again, but still nu clue about the error...
  13. New install of 1.5.2 i get a blank page on the admin page (frontend loads fine) just after enabled java minifying and caching... I get following error : [sat Nov 03 22:57:57 2012] [warn] [client 84.192.219.73] mod_fcgid: stderr: PHP Fatal error: Uncaught exception 'JSMinException' with message 'Unterminated string literal.' in /var/www/clients/client1/web4/web/tools/js_minify/jsmin.php:94 [sat Nov 03 22:57:57 2012] [warn] [client 84.192.219.73] mod_fcgid: stderr: Stack trace: [sat Nov 03 22:57:57 2012] [warn] [client 84.192.219.73] mod_fcgid: stderr: #0 /var/www/clients/client1/web4/web/tools/js_minify/jsmin.php(235): JSMin->action(1) [sat Nov 03 22:57:57 2012] [warn] [client 84.192.219.73] mod_fcgid: stderr: #1 /var/www/clients/client1/web4/web/tools/js_minify/jsmin.php(64): JSMin->min() [sat Nov 03 22:57:57 2012] [warn] [client 84.192.219.73] mod_fcgid: stderr: #2 /var/www/clients/client1/web4/web/classes/Media.php(154): JSMin::minify('/*<![CDATA[*/$(...') [sat Nov 03 22:57:57 2012] [warn] [client 84.192.219.73] mod_fcgid: stderr: #3 /var/www/clients/client1/web4/web/classes/Media.php(141): MediaCore::packJS('/*<![CDATA[*/$(...') [sat Nov 03 22:57:57 2012] [warn] [client 84.192.219.73] mod_fcgid: stderr: #4 [internal function]: MediaCore::packJSinHTMLpregCallback(Array) [sat Nov 03 22:57:57 2012] [warn] [client 84.192.219.73] mod_fcgid: stderr: #5 /var/www/clients/client1/web4/web/classes/Media.php(124): preg_replace_callback('/\\s*(<script\\b[...', Array, '<html xmlns="ht...') [sat Nov 03 22:57:57 2012] [warn] [client 84.192.219.73] mod_fcgid: stderr: #6 /var/www/clients/client1/web4/web/config/smarty.config.inc.php(149): MediaCore::packJSinHTML('<html xmlns="ht...') [sat Nov 03 22:57:57 2012] [warn] [client 84.192.219.73] mod_fcgid: stderr: #7 /var/www/clients/client1/web4/web/tools/smarty/sysplugins/smarty_internal_filter_handler.php(60): smartyPackJSinHTML('<html xmlns="ht...', Object(Smarty_Internal_Template)) [sat Nov 03 22:57:57 2012] [warn] [client 84.192.219.73] mod_fcgid: stderr: #8 /v in /var/www/clients/client1/web4/web/tools/js_minify/jsmin.php on line 94 Any suggestions ? Can i disable minify on a file/database level since i have no admin access anymore ?
  14. No, I mean an actual product. For instance, a new cellphone being released in a month or so. I want customer to be able to make a reservation (first in, first out) for when this product becomes available in stock. As such I can already add the product in the catalog, but instead of a "add to cart" they have to "make a reservation"...
  15. I'm looking for a solution so my customers can make a reservation instead of a purchase of a product that comes available on a later date.. Any suggestions ?
  16. I've added templatemela.com since they have 1.5 templates available
  17. I've added http://www.shop.ddlx.org/fr/219-template-prestashop-15
  18. I've added http://elationbase.com/elation-liquid/ since they have 1.5 template available.
  19. Thanks Alex, Whenever i see providers who have premium templates for v1.5 ready I'll include them in my inital post. Regards Stefan
  20. It would be great once you have the upgraded themes available that you give an update on this topic here.
  21. There are not yet a lot of premium themes released for version 1.5 of prestashop (and then I mean fully compatible). I didn't find my liking yet. I know the following providers : http://www.themeforest.net http://www.prestacoder.com http://www.promokit.eu http://elationbase.com/elation-liquid/ http://www.Presta199.com http://www.premium-templates.eu/ http://www.shop.ddlx...e-prestashop-15 http://www.templatem...ity=111&q=theme http://www.dreamtheme.eu/ and of course the prestashop own add-ons site. Do you know more providers with 1.5 version themes, please reply and list them here.. Thx
  22. After upgrading to 1.4.9 from 1.4.8.2 (one-click upgrader) there's an issue with the confirmation.php file from the ogone module. Worked perfectly in previous versions. Orders are being processed by ogone, ogone returns data in url, but page is stuck on: "please wait your payment is being processed" Order doesnt get processed in BO either. Customer doesn't receive confirmation mails. Everything worked perfectly on 1.4.8.2 I get following error in the logs : [warn] [client 212.23.45.97] mod_fcgid: stderr: PHP Fatal error: Call to undefined method Tools::safeOuput() in /var/www/clients/client1/web4/web/modules/ogone/validation.php on line 41 I posted this error as well in the bug tracker : http://forge.prestashop.com/browse/PNM-459
  23. I can confirm this fix works... succesfully upgraded to 1.4.9 http://forge.prestas...owse/PSCFI-6470
  24. Check this : http://forge.prestashop.com/browse/PSCFI-6470 I'm going to try this and let you know...
  25. That's great, but this is not really a 'one click upgrade'.. Too bad we don't see a reply from a prestashop representative on possible cause of this error...
×
×
  • Create New...