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

We are here to serve :)

Our support team is currently online to solve your issues.

Our support team is currently offline

Our support heroes might not be around this hour. Please expect some delays.

Our support is available from

Monday - Friday 8am - 5:30pm GMT+7

Your time: 00:00:00
Our time: 00:00:00

Welcome, Guest

Module works fine, but I see some error on the log
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Module works fine, but I see some error on the log

Module works fine, but I see some error on the log 9 years, 1 month ago #3710

While analysing my error log, I noticed a huge number of the following errors:

[Sun Jun 03 06:30:44 2012] [error] [client xx.xx.xx.xx] PHP Notice: Undefined index: pre in /mysite/modules/mod_ytc_content_slideshow/tmpl/theme3.php on line 56
[Sun Jun 03 06:30:44 2012] [error] [client xx.xx.xx.xx] PHP Notice: Undefined index: nex in /mysite/modules/mod_ytc_content_slideshow/tmpl/theme3.php on line 56

Surprising the site works perfectly fine including the next and previous links. Can someone point me to the right direction so that I stop getting these errors?

I love this module and it works great for us.

Some additional similar errors I am receiving are:

Undefined property: Browser::$Name on line 58 & 62 of the same file.
Last Edit: 9 years, 1 month ago by cifar24.

Re: Module works fine, but I see some error on the log 9 years, 1 month ago #3799

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Hi Gyanesh Sharma,

You can fix this bug by opening the theme3.php file in "your_site/modules/mod_ytc_content_slideshow/tmpl", finding:


<img src="<?php echo $item['thumb']?>" caption="<?php echo $item['sub_title']?>" alt="<?php echo $item['title']?>" href="<?php echo $item['link'];?>" linktarget = "<?php echo $target;?>" presrc = "<?php echo $item['pre']?>" nexsrc = "<?php echo $item['nex']?>" key="<?php echo $key;?>" style="width: <?php echo $thumb_width?>px; height:<?php echo $thumb_height?>px;"/>


change to:



<img src="<?php echo $item['thumb']?>" caption="<?php echo $item['sub_title']?>" alt="<?php echo $item['title']?>" href="<?php echo $item['link'];?>" linktarget = "<?php echo $target;?>" key="<?php echo $key;?>" style="width: <?php echo $thumb_width?>px; height:<?php echo $thumb_height?>px;"/>


Thanks
Ticket System | Join our Clubs to download our extensions and templates

Re: Module works fine, but I see some error on the log 9 years, 1 month ago #3809

Thanks a lot for the solution.
  • Page:
  • 1
Time to create page: 0.39 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.

Suggested Posts

(/)
Result not found!

Sj CarsFast Release

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
Quà Tết Cao Cấp Hộp quà tết Giỏ quà tết Túi quà tết