Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest
Read user-guide, report bugs and discuss more
  • Page:
  • 1

TOPIC: Installation fails

Installation fails 5 years, 1 month ago #38383

Hi. I purchased the plugin, unzipped folder and tried to install. It causes an internal server error each time I try: "500 Internal Server Error". Is there a special system plugin required to make this plugin work? Can you please advise?

Re: Installation fails 5 years ago #38414

Dear jeanl

Please check right version before install refer the change log here to install for joomla version prntscr.com/n2kq78
or send us the domain and admin account to check directly

thanks

Re: Installation fails 5 years ago #38421

Thank you, I got it installed and plugin enabled. I do not see a plugin button in my editor? Using JCE.

Re: Installation fails 5 years ago #38443

Dear jeanl

Please go to the file: plugins\system\ytshortcodes\ytshortcodes.php and find:
$page = str_replace('<div id="editor-xtd-buttons">', '<div id="editor-xtd-buttons">' . $button, $page);
$page = str_replace('<div id="editor-xtd-buttons" class="btn-toolbar pull-left">', '<div id="editor-xtd-buttons" class="btn-toolbar pull-left">' . $button, $page);

=> Edit to:

$version = new JVersion();
if($version->RELEASE < '3.5' ){
$page = str_replace('<div id="editor-xtd-buttons">', '<div id="editor-xtd-buttons">' . $button, $page);
$page = str_replace('<div id="editor-xtd-buttons" class="btn-toolbar pull-left">', '<div id="editor-xtd-buttons" class="btn-toolbar pull-left">' . $button, $page);
}else
{
$app = JFactory::getApplication();
$editor = $app->getCfg('editor');
if($editor == "jce")
{
$page = str_replace('<div id="editor-xtd-buttons" class="btn-toolbar pull-left" role="toolbar" aria-label="Toolbar">','<div id="editor-xtd-buttons" class="btn-toolbar pull-left" role="toolbar" aria-label="Toolbar">'. $button.'</div><div class="toggle-editor btn-toolbar pull-right clearfix">', $page);
}
if($editor == "tinymce")
{
$page = str_replace('<div class="toggle-editor btn-toolbar pull-right clearfix">','<div class="toggle-editor btn-toolbar pull-right clearfix">'. $button.'</div><div class="toggle-editor btn-toolbar pull-right clearfix">', $page);
}else{
$page = str_replace('<div id="editor-xtd-buttons" class="btn-toolbar pull-left">', '<div id="editor-xtd-buttons" class="btn-toolbar pull-left">' . $button, $page);
}
}

thanks
The following user(s) said Thank You: jeanl
  • Page:
  • 1
Time to create page: 0.26 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes