Ryčiokas
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Downloads
Articles
Store
Blogs
Posts posted by Ryčiokas
-
-
7 hours ago, Traumflug said:
That's the key part:
/public_html/eshop/modules/lpexpress/logs): failed to open dir: Permission denied
How did you put this module onto the server?
By using the back office module page? Then it's weird, this problem shouldn't happen.
By uploading via FTP? Then there's a good chance your FTP user isn't the same as the web server user. Remove it and use the back office page to upload the module ZIP (Menu -> Modules and Services, button Add a new module near the top right corner).
I have used back office page to upload module. I have just tried to install it again, but same error.
-
Now this:
[ThirtyBeesException]
RecursiveDirectoryIterator::__construct(/public_html/eshop/modules/lpexpress/logs): failed to open dir: Permission denied
at line 1532 in file classes/module/Module.php1527. return false;1528. }1529. 1530. // Invalidate opcache1531. if (function_exists('opcache_invalidate') && file_exists(_PS_MODULEDIR.$this->name)) {1532. foreach (new RecursiveIteratorIterator(new RecursiveDirectoryIterator(_PS_MODULEDIR.$this->name)) as $file) {1533. /* @var SplFileInfo $file /1534. if (substr($file->getFilename(), -4) !== '.php' || $file->isLink()) {1535. continue;1536. }1537.
- RecursiveDirectoryIterator->__construct - [line - ] - [2 Arguments]
<div id="psArgs_0"> <pre style="background-color:#f1fdfe; border:1px solid #236b04; padding:5px">**Argument [0]**/public_html/eshop/modules/lpexpress/logs**Argument [1]**0</pre> </div>
- RecursiveDirectoryIterator->getChildren - [line 1532 - classes/module/Module.php]
<div id="psTrace_1"> <pre style="background-color:#eafee1; border:1px solid #236b04; padding:5px">1527\. return false;1528\. }1529\. 1530\. // Invalidate opcache1531\. if (function_exists('opcache_invalidate') && file_exists(_PS_MODULE_DIR_.$this->name)) {<span style="color:#f20000">1532\. foreach (new RecursiveIteratorIterator(new RecursiveDirectoryIterator(_PS_MODULE_DIR_.$this->name)) as $file) {</span>1533\. /** @var SplFileInfo $file */1534\. if (substr($file->getFilename(), -4) !== '.php' || $file->isLink()) {1535\. continue;1536\. }1537\. </pre> </div>
- ModuleCore->install - [line 44 - modules/lpexpress/lpexpress.php]
<div id="psTrace_2"> <pre style="background-color:#eafee1; border:1px solid #236b04; padding:5px">39\. }40\. }41\. 42\. public function install()43\. {<span style="color:#f20000">44\. $res = parent::install();</span>45\. 46\. if ($res)47\. {48\. $this->installAdminTabs();49\. $this->installCarriers();</pre> </div>
- LPExpress->install - [line 1648 - controllers/admin/AdminModulesController.php]
<div id="psTrace_3"> <pre style="background-color:#eafee1; border:1px solid #236b04; padding:5px">1643\. }1644\. if (count($this->errors)) {1645\. continue;1646\. }1647\. // Get the return value of current method<span style="color:#f20000">1648\. $echo = $module->{$method}();</span>1649\. // After a successful install of a single module that has a configuration method, to the configuration page1650\. if ($key == 'install' && $echo === true && strpos(Tools::getValue('install'), '|') === false && method_exists($module, 'getContent')) {1651\. Tools::redirectAdmin(static::$currentIndex.'&token='.$this->token.'&configure='.$module->name.'&conf=12');1652\. }1653\. }</pre> </div>
- AdminModulesControllerCore->postProcessCallback - [line 1511 - controllers/admin/AdminModulesController.php]
<div id="psTrace_4"> <pre style="background-color:#eafee1; border:1px solid #236b04; padding:5px">1506\. }1507\. }1508\. 1509\. // Call appropriate module callback1510\. if (!isset($ppmReturn)) {<span style="color:#f20000">1511\. $this->postProcessCallback();</span>1512\. }1513\. 1514\. if ($back = Tools::getValue('back')) {1515\. Tools::redirectAdmin($back);1516\. }</pre> </div>
- AdminModulesControllerCore->postProcess - [line 251 - classes/controller/Controller.php]
<div id="psTrace_5"> <pre style="background-color:#eafee1; border:1px solid #236b04; padding:5px">246\. if ($this->checkAccess()) {247\. if (!$this->content_only && ($this->display_header || (isset($this->className) && $this->className))) {248\. $this->setMedia();249\. }250\. <span style="color:#f20000">251\. $this->postProcess();</span>252\. 253\. if (!empty($this->redirect_after)) {254\. $this->redirect();255\. }256\. </pre> </div>
- ControllerCore->run - [line 837 - classes/Dispatcher.php]
<div id="psTrace_6"> <pre style="background-color:#eafee1; border:1px solid #236b04; padding:5px">832\. if (isset($paramsHookActionDispatcher)) {833\. Hook::exec('actionDispatcher', $paramsHookActionDispatcher);834\. }835\. 836\. // Running controller<span style="color:#f20000">837\. $controller->run();</span>838\. } catch (PrestaShopException $e) {839\. $e->displayMessage();840\. }841\. }842\. </pre> </div>
- DispatcherCore->dispatch - [line 63 - admin/index.php]
<div id="psTrace_7"> <pre style="background-color:#eafee1; border:1px solid #236b04; padding:5px">58\. if (!isset($_REQUEST['controller']) && isset($_REQUEST['tab'])) {59\. $_REQUEST['controller'] = strtolower($_REQUEST['tab']);60\. }61\. 62\. // Prepare and trigger admin dispatcher<span style="color:#f20000">63\. Dispatcher::getInstance()->dispatch();</span></pre> </div>
-
Hi,
did anyone tried to install LP Express shipping module compatible with PrestaShop in thirty bees, I am receiving error.
Change Reference Code To SKU
in Technical help
Posted
Hey, but after changing translation, reference still will be the same not like SKU, and I do not know why. How to revert to show SKU number instead of reference, tried to change in product.tpl, but it did not update in website. Can you advise?