Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

Error after Yt framework update
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Error after Yt framework update

Error after Yt framework update 9 years, 8 months ago #20320

This morning after update yt framework directly from backend control panel, then frontend go blank...

error_log:
[14-Aug-2014 19:50:36 America/Denver] PHP Fatal error: Cannot redeclare class Browser in /public_html/templates/sj_lotte/includes/browser.php on line 139

so i rename /public_html/plugins/system/yt/includes/site/lib/browser.php to browser_BAK.php

frontend work again

now error_log has new error (although frontend work normally)
[14-Aug-2014 20:04:18 America/Denver] PHP Warning: include_once(browser.php): failed to open stream: No such file or directory in /plugins/system/yt/includes/site/lib/yt_template.php on line 14


Please any idea of this case?

Thanks.

Re: Error after Yt framework update 9 years, 8 months ago #20420

  • SA Thuy
Dear Sony Chen,

Please don't rename the file /public_html/templates/sj_lotte/includes/browser.php,
Fix: Go to the file templates\sj_lotte25\includes\yt_template.class.php and find:

include_once (dirname(__FILE__).DS.'browser.php');

=> Edit to:
if(!class_exists('Browser')) include_once (dirname(__FILE__).DS.'browser.php');


Thanks
  • Page:
  • 1
Time to create page: 0.19 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