Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
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 11 years, 10 months 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: 11 years, 10 months ago by cifar24.

Re: Module works fine, but I see some error on the log 11 years, 10 months 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 11 years, 10 months ago #3809

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