Undefined index with x_treme

gossamer

Joined: 2011-01-07
Posts: 47
Posted: Thu, 2011-01-13 19:20

Hi,

I have the x_treme theme running successfully with G2, but there are a bunch of errors in the site's error logs:

[Thu Jan 13 14:01:25 2011] [error] [client 192.168.1.7] PHP Notice: Undefined index: back in /home/gallery2/smarty/templates_c/%%626616196/x_treme/%%69^69F^69F75951%%photo.tpl.php on line 34, referer: http://www.mydomain.com/gallery/main.php
[Thu Jan 13 14:01:25 2011] [error] [client 192.168.1.7] PHP Notice: Undefined index: showblockRating in /home/gallery2/smarty/templates_c/%%626616196/x_treme/%%69^69F^69F75951%%photo.tpl.php on line 313, referer: http://www.mydomain.com/gallery/main.php

There are quite a few other lines like this with other missing indexes. What do these mean and how to I fix it?

It would probably help if I could provide information about the gallery2 version and x_treme version, but I don't see any definitive way to do that. I'm pretty sure they are both the latest.

According to "plugins", core is 1.3.0.1 and x_treme is 1.0.6. ImageFrame is 1.0.7.

Thanks,
Alex

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Thu, 2011-01-13 20:14

xtreme was never updated for 2.3

You should be able to remove those references in photo.tpl

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
gossamer

Joined: 2011-01-07
Posts: 47
Posted: Fri, 2011-01-14 00:02
suprsidr wrote:
xtreme was never updated for 2.3

You should be able to remove those references in photo.tpl

I'm not sure which you mean. The photo.tpl in the templates directory, or the smarty file? I believe the smarty file is just a cache, correct?

For example:

[Thu Jan 13 14:01:25 2011] [error] [client 192.168.1.7] PHP Notice: Undefined index: back in /home/gallery2/smarty/templates_c/%%626616196/x_treme/%%69^69F^69F75951%%photo.tpl.php on line 34, referer: http://www.mydomain.com/gallery/main.php

If it's the photo.tpl file in the templates directory, how do I interpret that to remove the correct reference from the above?

Thanks,
Alex

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2