27.01.2018 15:13
|
|
mario052
Name: Roman
09.03.2016
Сообщения: 13
|
Call to undefined function yt_placehold()
Hi.I made the site on the subdomain was set Adon addon_jshopping_product_seo_1.0.3
When you transfer the finished site to the primary domain when you navigate to an item card, you get an error http://prntscr.com/i6c5y2
(this error appears on the php version of 7.1)
If you switch to a version of 5.6, then there is another error http://prntscr.com/i6c6fr
On the subdomain everything works fine http://10.volosy-tressy.com.ua
Please tell me, what do I do now?!
Thank You!
Joomla: 3.8 JoomShopping: 4.16.3 PHP: 7.1 Website Url: http://volosy-tressy.com.ua
|
|
27.01.2018 15:27
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Сообщения: 25064
|
Aw: Call to undefined function yt_placehold()
Addon product seo not use function yt_placehold()
Problem in your template
|
|
27.01.2018 15:30
|
|
mario052
Name: Roman
09.03.2016
Сообщения: 13
|
Aw: Call to undefined function yt_placehold()
webdesigner - 27.01.2018 15:27
Addon product seo not use function yt_placehold()
Problem in your template
but on the subdomain everything works fine!
|
|
27.01.2018 15:31
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Сообщения: 25064
|
Aw: Call to undefined function yt_placehold()
See code
addon_jshopping_product_seo_1.0.3
no functon yt_placehold()
|
|
27.01.2018 15:33
|
|
mario052
Name: Roman
09.03.2016
Сообщения: 13
|
Aw: Call to undefined function yt_placehold()
http://10.volosy-tressy.com.ua/katalog/furnitura/zakolki-38-mm.html
http://volosy-tressy.com.ua/katalog/furnitura/38-mm.html
|
|
27.01.2018 15:45
|
|
mario052
Name: Roman
09.03.2016
Сообщения: 13
|
Aw: Call to undefined function yt_placehold()
If the version of PHP to 5.6 error
<?php //Create placeholder items images
$src = ($this->image_product_path.'/'.$image->image_name);
if (file_exists($src) || @getimagesize($src) !== false) {
$full_img = '<img src="'.$src.'" alt="'.htmlspecialchars($image->_title).'" />';
}else {
$full_img = yt_placehold($placehold_size['product_detail']);
}
?>
<?php echo $full_img; ?>
<div class="text_zoom" style="text-align:center;">
<!--<img src="<?php print $this->path_to_image?>search.png" alt="zoom" /> -->
<?php print _JSHOP_ZOOM_IMAGE?>
</div>
|
|
27.01.2018 16:27
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Сообщения: 25064
|
Aw: Call to undefined function yt_placehold()
?
template developer?
|
|
27.01.2018 16:52
|
|
mario052
Name: Roman
09.03.2016
Сообщения: 13
|
Aw: Call to undefined function yt_placehold()
smartaddons
|
|
27.01.2018 16:56
|
|
mario052
Name: Roman
09.03.2016
Сообщения: 13
|
Aw: Call to undefined function yt_placehold()
I am a little understood, is not enough. http://prntscr.com/i6daz7
I have it uploaded to the main domain ( although on the subdomain it is not present)
the product started to open, but there was a plug http://placehold.it
understand nothing!
|
|
27.01.2018 19:05
|
|
mario052
Name: Roman
09.03.2016
Сообщения: 13
|
Aw: Call to undefined function yt_placehold()
I did it! )))) in PHP settings was enabled ionCube module, and the subdomain - no. Turned off - works. Thank you for participating in my question!
|
|
29.11.2020 17:45
|
|
fedor233
Name: fedor233
25.10.2020
Сообщения: 1
|
Aw: Call to undefined function yt_placehold()
when adding an item to the cart the same error what to do? "Call to undefined function yt_placehold ()" template using sj_jmart.
Joomla: 3 JoomShopping: 4.18.4 PHP: 7.3 Website Url: https://uhoz.ru
|
|
30.11.2020 08:05
|
|
admin
(Support Team)
Name: Admin
05.08.2010
Сообщения: 25064
|
Aw: Call to undefined function yt_placehold()
No problem in joomshopping problem in your template or other plugin.
|
|