Auteur Sujet: AEVA error log in SMF  (Lu 201 fois)

0 Membres et 1 Invité sur ce sujet

azarimy

  • Invité
AEVA error log in SMF
Hello there. I just installed your Aeva media in SMF and it works brilliantly. Thanks for a great enhancement to SMF!

However, when I ran a regular check on the forum error logs, I found several issues which I'm not exactly sure. I keep getting several repetitive error messages, here's two example:

http://www.tanggam.com/v4/foru...p?action=media;area=mya;sa=add
8: Undefined index: image
File: /home/tanggam/public_html/v4/forum/Themes/default/languages/ManageBoards.english.php (aeva_above sub template - eval?)
Line: 595

http://www.tanggam.com/v4/foru...on=admin;area=aeva_albums;sesc
8: Undefined index: lang
File: /home/tanggam/public_html/v4/forum/Themes/default/languages/TwitterSettings.english.php (aeva_admin_above sub template - eval?)
Line: 595

There are several others, but just a variation of the above. Any suggestions?

Hors ligne Nao/Gilles

  • Admin
  • *
  • Messages: 6317
  • Sexe: Homme
  • 35 ans... Chaque année est une victoire de plus. Nao 2, Jésus 0.
    • Voir le profil
    • Cynacittà @ noisen
"eval?" means SMF couldn't decide where the error happens, so it's giving you the latest one it evaluated.
Try using the "disable template eval" mod to determine the exact position.
Or try in index.template.php -- usually that's the culprit. What's at line 595 in that file?
« Everyone knows rock attained perfection in 1974. It's a scientific fact. »

azarimy

  • Invité
hello again. thanks for taking the time to assist me.

line 595 reads:

$buttons[$key] = '<a href="' . $value['url'] . '" ' .( isset($value['custom']) ? $value['custom'] : '') . '>' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . ($value['lang'] ? $context['user']['language'] . '/' : '') . $value['image'] . '" alt="' . $txt[$value['text']] . '" border="0" />' : $txt[$value['text']]) . '</a>';

i seem to be getting this error everytime i access the pages in aeva media. it doesn't really interrupt me using the gallery, but at the rate it's going, my error log will be clogged up with this :D. i'm not very well versed in PHP, hope you can assist me in any way you can ;).

Hors ligne Nao/Gilles

  • Admin
  • *
  • Messages: 6317
  • Sexe: Homme
  • 35 ans... Chaque année est une victoire de plus. Nao 2, Jésus 0.
    • Voir le profil
    • Cynacittà @ noisen
Just replace it with:

$buttons[$key] = '<a href="' . @$value['url'] . '" ' .( isset($value['custom']) ? $value['custom'] : '') . '>' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . (@$value['lang'] ? $context['user']['language'] . '/' : '') . @$value['image'] . '" alt="' . $txt[@$value['text']] . '" border="0" />' : $txt[@$value['text']]) . '</a>';
It's just quick & dirty, you're better off with isset() calls, but I'm hungry and stuff like that.
And it's not Aeva's fault. :rolleyes:
« Everyone knows rock attained perfection in 1974. It's a scientific fact. »