Jump to content

Meg

Members
  • Posts

    14
  • Joined

  • Last visited

1 Follower

Profile Information

  • Location
    Denmark
  • Activity
    Project Owner

Meg's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. Yes... Done! (Y) :-) value="{l s='search' mod='moduleName'}"
  2. Hi there, Hope some of can help me here, im trying to translate my module and trying to add this translate string, but it do not work for me, and it is a .TPL file How do i insert the tag: mod='moduleName' and l s='Search Now' for this Search button. <td data-title="{l s='Search' mod='moduleName'}"> <input type="hidden" id="itemOne" value="{Configuration::get('show_itemOne')}" /> <input type="button" id="searchOne" value="Search Now" /></td> Thanks BG /Meg
  3. Hi all, How to setup a carrier only for business address? (b2b customer) Are there a option of specifying that a carrier should only be available if the shipping address is a company address. (b2c customer) They have the option of having a package delivered to his/her office/work address. Can we provide the same possibility in Prestashop, but that doesn't seem to be possible? Does anyone have a solution or module for this? (PS 1.6.1.5) Best regards Meg
  4. 3nd Error fix Go to /adminXXXXX/themes/default/template/controllers/modules/list.tpl Find and open the file list.tpl and find the line 84: <i class="icon-shopping-cart"></i> {if $module->price|floatval == 0}{l s='Free'}{elseif isset($module->id_currency) && isset($module->price)}{displayPrice price=$module->price currency=$module->id_currency}{/if} Change it to: <i class="icon-shopping-cart"></i> {if isset($module->price)}{if $module->price|floatval == 0}{l s='Free'}{elseif isset($module->id_currency)}{displayPrice price=$module->price currency=$module->id_currency}{/if}{/if} Next go to adminXXXXX/themes/default/template/controllers/modules/tab_module_line.tpl Find and open the file tab_module_line.tpl and find the line 65: Change it to:
  5. 3nd Error is in Moule page: Now i do get this error when i open the AdminModules page Payment page Modules page
  6. 2nd Error is Inix Module Fatal error: Access level to Inix2Module::displayWarning() must be public (as in class ModuleCore) in /var/www/modules/inixframe/InixModule.php on line 3516 [PrestaShop] Fatal error in module file :/var/www/modules/inixframe/InixModule.php: Access level to Inix2Module::displayWarning() must be public (as in class ModuleCore) HowTo fix is: Find and open the file InixModule.php and find the line: protected function displayWarning($msg) Change it to public function displayWarning($msg) This is just a protected to --> public change.
  7. Okay, now i do get a new DB error. [PrestaShopDatabaseException]Subquery returns more than 1 row SELECT IFNULL( ( SELECT left_column FROM ps_theme t LEFT JOIN ps_theme_meta tm ON ( t.id_theme = tm.id_theme ) LEFT JOIN ps_meta m ON ( m.id_meta = tm.id_meta ) WHERE t.id_theme =5 AND m.page = "index" ) , default_left_column ) FROM ps_theme WHERE id_theme =5 LIMIT 1 at line 765 in file classes/db/Db.php 760. WebserviceRequest::getInstance()->setError(500, ' '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);761. } 762. elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) 763. { 764. if ($sql) 765. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>'); 766. 767. throw new PrestaShopDatabaseException($this->getMsgError()); 768. } 769. } 770. DbCore->displayError - [line 418 - classes/db/Db.php] - [1 Arguments] DbCore->query - [line 669 - classes/db/Db.php] - [1 Arguments] DbCore->getRow - [line 698 - classes/db/Db.php] - [2 Arguments] DbCore->getValue - [line 301 - classes/Theme.php] - [1 Arguments] ThemeCore->hasLeftColumn - [line 4287 - modules/themeeditor/themeeditor.php] - [1 Arguments] ThemeEditor->hookCalculateGrid - [line 569 - classes/Hook.php] - [1 Arguments] HookCore::coreCallHook - [line 524 - classes/Hook.php] - [3 Arguments] HookCore::exec - [line 197 - config/smarty.config.inc.php] - [3 Arguments] smartyHook - [line - ] - [2 Arguments] call_user_func_array - [line 257 - config/smarty.config.inc.php] - [2 Arguments] SmartyLazyRegister->__call - [line 59 - cache/smarty/compile/45/0c/75/450c7596ad6f3e8e8ad72b5c487c88db9103ddcc.file.product-list.tpl.php] - [2 Arguments] SmartyLazyRegister->smartyHook - [line 59 - cache/smarty/compile/45/0c/75/450c7596ad6f3e8e8ad72b5c487c88db9103ddcc.file.product-list.tpl.php] - [2 Arguments] content_55b394963723c5_15041176 - [line 188 - tools/smarty/sysplugins/smarty_internal_templatebase.php] - [1 Arguments] Smarty_Internal_TemplateBase->fetch - [line 329 - classes/SmartyCustom.php] - [7 Arguments] Smarty_Custom_Template->fetch - [line 303 - tools/smarty/sysplugins/smarty_internal_template.php] - [7 Arguments] Smarty_Internal_Template->getSubTemplate - [line 89 - cache/smarty/compile/a6/2d/87/a62d87501a9ae07f452b95187046492b5b738468.file.hompagetabs.tpl.php] - [7 Arguments] content_55b39495c27082_69626704 - [line 188 - tools/smarty/sysplugins/smarty_internal_templatebase.php] - [1 Arguments] Smarty_Internal_TemplateBase->fetch - [line 329 - classes/SmartyCustom.php] - [7 Arguments] Smarty_Custom_Template->fetch - [line 2244 - classes/module/Module.php] ModuleCore->display - [line 548 - modules/hompagetabs/hompagetabs.php] - [3 Arguments] HompageTabs->hookDisplayHome - [line 569 - classes/Hook.php] - [1 Arguments] HookCore::coreCallHook - [line 524 - classes/Hook.php] - [3 Arguments] HookCore::exec - [line 40 - controllers/front/IndexController.php] - [1 Arguments] IndexControllerCore->initContent - [line 180 - classes/controller/Controller.php] ControllerCore->run - [line 373 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 28 - index.php]
  8. Hi all, I did a simple "1 click upgrading" from version 1.6.0.14 to --> 1.6.1.0 with "Upgrade Complete" but now i get fatal error. Fatal error: Class 'Core_Business_ContainerBuilder' not found in /var/www/config/bootstrap.php on line 27 I have also try to delete the file /cache/class_index.php - did not work for me. Could anyone please help me? Thx Bg Meg Zamani
  9. OKay i see, i do use DigitalOcean VPS for my shop. Do you maybe have any idea what it can be.
  10. Hi all, I get this error on my VPS server after some run-time. But if i restart MySQL service on my server the with prestashop version 1.6.0.9 all works okay, but after some time (12-24 hr) i get this error: Link to database cannot be established: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) BG Meg
×
×
  • Create New...