-
Posts
48 -
Joined
-
Last visited
Profile Information
-
Location
rome
-
Activity
Web development agency
Recent Profile Visitors
2,912,565 profile views
bissio's Achievements
Newbie (1/14)
2
Reputation
-
Call to a member function trans() on a non-object
bissio replied to bissio's topic in General topics
Hi Flavio and thank you for you help. in the meantime i solved reinstalling a new new and blank version of PS 1.7.1... it was a strange behaviour because with the same environment, into the new version i did not get this error.. even importin a lot of items by CSV, or inserting them one by one. I translated meny CSM pages and modules as well but at the moment i did not get this annoying error... However i will keep in my box your suggestion so if i should get this error again, i will try to apply it. Thanks again ;-) -
Hi guys, first of all these are my settings: PHP 5.4.45 - PS 1.7.1.1 (latest stable) - Mysql 5.5.50 I installed the latest release of PS and all works fine except on the products section. When i try to insert a new product and set title and i try to insert an image, the (enabling the debug mode) i get the error reported on the attached file. Also, on my apache error log i get the following: PHP Fatal error: Call to a member function trans() on a non-object in /mysite_root/classes/controller/AdminController.php on line 2735 and this is the interested funcion: public function l($string, $class = null, $addslashes = false, $htmlentities = true) { $translated = $this->translator->trans($string); if ($translated !== $string) { return $translated; } if ($class === null || $class == 'AdminTab') { $class = substr(get_class($this), 0, -10); } elseif (strtolower(substr($class, -10)) == 'controller') { /* classname has changed, from AdminXXX to AdminXXXController, so we remove 10 characters and we keep same keys */ $class = substr($class, 0, -10); } return Translate::getAdminTranslation($string, $class, $addslashes, $htmlentities); } I also tried to import some products by CSV file but i get the same errors. It seems a symfony issue but the error is related to a PHP controller core file. i Checked on all forums but i did not find anything about this issue. Can someone help me? Thanks
-
Thanks, i figured out this could be a problem because i saw the meta description field marked in red (due the chars number), but even if i tryed to reduce the number of chars, the save or the save and stay button still did not work. Can you say when the 1.6.1.3. release will be available? Another thing... i got the same problem on 1.6.1.1 when i modified the tpl admin page (/themes/default/template/controllers/products/"all tpl files") related to Save button spinning issue (removing the disabled="disabled" on save button link) Thanks again
-
Hi, waiting for a problem solving i had to downgrade to PS 1.6.1.1 Just one question. After i downgraded my PS release, i had tha same problem (save button did not work on existing products...), so i deleted manually all cache directories on the server and the save button came back to work. My question is: did you try to clear manually all cache dirs on the server on your PS 1.6.1.2 upgraded release? I have not way to upgrade again my shop at the moment so i cannot check this issue. Thanks
-
Change cover image based on layered navigation color selection
bissio replied to remyessers's topic in Core developers
Hi, all, anyone solved this issue? I'm trying to use the color filter and it works on layered module but it shows the default cover images on product-list.tpl result. I would like that if i choose "red" as color filter, then the website should show me just the red products as result. Thanks -
color picker in product list
bissio replied to youpicontini's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
Hi all, i solved this issue using the advices poted on this link:https://www.prestashop.com/forums/topic/81210-colors-on-product-listtpl/page-6 (it works on my PS 1.5.6, but i had to uninstal and reinstall the blocklayered module first of all). Thanks -
color picker in product list
bissio replied to youpicontini's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
Hi Vekia, i tried to capture the code from PS 1.6 containing the color attribute, but never changes on my PS 1.5.6 theme. I tried to get some functions from PS 1.6 FrontController.php (public function addColorsToProductList(&$products)) and the related portion of code from product-list.tpl and product-list-color.tpl. Can you suggest me how to set some little color box on the product image into product-list.tpl file? Thanks -
Hi stylepop, honestly i do not know exactly if these actions work on ps 1.6.x themes (i guess yes), however you should install Paypal version 3.8.1 first of all. Also, the "hookProductActions()" is not included into this version but you have to put it manually inside the paypal.php file (read the top of this thread). Bye
- 34 replies
-
Hi Stylepop, yes first of all you should delete the footer product hook and then link the module on product Action hook (after you have put this function on paypal.php). Then you should move this line: {if isset($HOOK_PRODUCT_ACTIONS) && $HOOK_PRODUCT_ACTIONS}{$HOOK_PRODUCT_ACTIONS}{/if} over the cart form tag (</form>). Clear the cache on your site and try. Bye
- 34 replies
-
- 1