Jump to content

Syourt

Members
  • Posts

    6
  • Joined

  • Last visited

Profile Information

  • Location
    The Netherlands
  • Activity
    Freelancer

Syourt's Achievements

Newbie

Newbie (1/14)

0

Reputation

1

Community Answers

  1. I have found the solution via a post on http://www.inmotionhosting.com/support/community-support/prestashop-15/images-show-up-as-question-marks I've commented the 'php_flag engine off' out and added the RemoveHandler and RemoveType lines. The specific file I needed was /img/cms/.htaccess --- #php_flag engine off RemoveHandler .php RemoveType .php --- Hope the above can help someone else!
  2. Hi everyone, I've build a shop for one of my clients using prestashop. The shop is working fine and I have launched the shop a couple of months ago. Now a couple of days ago the images uploaded through the CMS panel suddenly stopped working. When I go via a direct link to the img/cms/.../.../filename.jpg then I get to see an internal server error. I have activated the dev mode and the following is showing up. ----- Notice: Undefined index: scenes in /home/bodyfas/domains/bodyfashionminerva.nl/public_html/cache/smarty/compile/dd/71/83/dd718363fdb089835f5fa074ba646cc9ec3f0fa0.file.header.tpl.php on line 191 Notice: Trying to get property of non-object in /home/bodyfas/domains/bodyfashionminerva.nl/public_html/cache/smarty/compile/dd/71/83/dd718363fdb089835f5fa074ba646cc9ec3f0fa0.file.header.tpl.php on line 191 Notice: Undefined index: category in /home/bodyfas/domains/bodyfashionminerva.nl/public_html/cache/smarty/compile/dd/71/83/dd718363fdb089835f5fa074ba646cc9ec3f0fa0.file.header.tpl.php on line 191 Notice: Trying to get property of non-object in /home/bodyfas/domains/bodyfashionminerva.nl/public_html/cache/smarty/compile/dd/71/83/dd718363fdb089835f5fa074ba646cc9ec3f0fa0.file.header.tpl.php on line 191 Notice: Trying to get property of non-object in /home/bodyfas/domains/bodyfashionminerva.nl/public_html/cache/smarty/compile/dd/71/83/dd718363fdb089835f5fa074ba646cc9ec3f0fa0.file.header.tpl.php on line 191 Notice: Undefined index: category in /home/bodyfas/domains/bodyfashionminerva.nl/public_html/cache/smarty/compile/dd/71/83/dd718363fdb089835f5fa074ba646cc9ec3f0fa0.file.header.tpl.php on line 191 Notice: Trying to get property of non-object in /home/bodyfas/domains/bodyfashionminerva.nl/public_html/cache/smarty/compile/dd/71/83/dd718363fdb089835f5fa074ba646cc9ec3f0fa0.file.header.tpl.php on line 191 Notice: Trying to get property of non-object in /home/bodyfas/domains/bodyfashionminerva.nl/public_html/cache/smarty/compile/dd/71/83/dd718363fdb089835f5fa074ba646cc9ec3f0fa0.file.header.tpl.php on line 191 ----- I don't believe the above is causing the trouble because this already was there from the beginning. The thing is, the exact same images were working perfectly fine before. And now it suddenly stopped working. I'm using 1.6.0.14 with a custom build theme. You can see the error via this link. I hope you can help me, thanks in advance!
  3. Hi Biorn, Thanks for your reply, I've found the problem. After adding the script-file of Mailchimp, my js files didn't load anymore. So I removed that file, now everything works fine!
  4. Hi, I have a question about the product combination function inside Prestashop 1.6.0.14. The cost of the products has to automatically adjust with certain combinations. This works perfectly fine in the back-end but the front-end does not alter the price as it should. I have added two screenshots of the problem, 1 from the back-end and 1 from the front-end. The back-end: The front-end: I really don't know how to fix this, hope you guys can help me, it's important. Thanks in advance!
  5. Hi everyone, After spending a couple of hours searching on Google, I still haven't found the solution. I think there must be some easy solution. I want to have my CMS page images served automatically over https. When I add a new image using the TinyMCE editor, it is using http by default. I want to have this changed to https or to a relative URL like /images/etc. I'm building this for a client so I don't want her to manually add the 's' after 'http'. I've already tried to set the relative url to true in /js/tinymce.inc.js but nothing seems to happen. The settings in here right now are: statusbar: false, relative_urls : true, convert_urls: true, I hope you guys could help me out. Thanks in advance. With kind Regards, Sjoerd van Hout
  6. Hi, I can't get to it... I want to Hook blockcart to the hook 'SHOPPINGBAG'.. In frontcontroller this is my code: public function initContent() { $this->process(); if (!isset($this->context->cart)) $this->context->cart = new Cart(); if (!$this->useMobileTheme()) { // These hooks aren't used for the mobile theme. // Needed hooks are called in the tpl files. $this->context->smarty->assign(array( 'HOOK_HEADER' => Hook::exec('displayHeader'), 'HOOK_TOP' => Hook::exec('displayTop'), 'HOOK_SHOPPINGBAG' => Hook::exec('displayShoppingBag'), 'HOOK_LEFT_COLUMN' => ($this->display_column_left ? Hook::exec('displayLeftColumn') : ''), 'HOOK_RIGHT_COLUMN' => ($this->display_column_right ? Hook::exec('displayRightColumn', array('cart' => $this->context->cart)) : ''), )); } else $this->context->smarty->assign('HOOK_MOBILE_HEADER', Hook::exec('displayMobileHeader')); } I also have added the rule to the second bunch of lines in frontcontroller.php in the exact same way. In blockcart.php I have tried so many things but in the end I came up with the code given in this tutorial: public function hookShoppingBag($params) { return $this->hookheader($params, 'displayShoppingBag'); } Maybe I've done something wrong in the code above. I want to place the hook in header.tpl this is the code I've used: <div class="shoppingbag"> {$HOOK_SHOPPINGBAG} </div> I also have tried {hook h="displayShoppingBag"}. Since I'm new to prestashop I might have made a stupid mistake.. But I'm stuck on this thing for a couple of hours, I really appreciate any kind of help. Thanks!
×
×
  • Create New...