News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

One bug in Calendar and bug in forum not showing one icon

Started by three2five, October 03, 2005, 03:17:52 PM

Previous topic - Next topic

three2five

Hi y'all, i'm new here.

Could you help me out with two issues which I have?
First issue; The calendar is having a strange error. I don't know too much of PHP and this bug is too much into PHP for me. You can find my bug here; hxxp:www.afsma.nl/blog/Forum/index.php?action=calendar [nonactive]

When you scroll to below you'll see that the calendar is quite messed up, anyone knows the reason?

Second; one icon is not showing in the forum but as an image not found in IE and in Opera simply not showing at all. An example can be found here; hxxp:www.afsma.nl/blog/Forum/index.php?board=4.0 [nonactive]

As far as I know all images are present at the forum and I suggest it has more to do with a script missing or something but i really don't know where to check.

Thanks in advance for any help

Oldiesmann

The first one is due to a missing string in the language files, specifically index.dutch.php.

This is the string that's missing:
$months = array(1 => 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December');

Just change those values to the appropriate Dutch translations and add that to index.dutch.php.

I'm not sure what to tell you about the second one. In Firefox, when I do a view source, I just see <img src="" alt="" /> there. Check your forum error log and make see if there's anything there about it (most likely something like "undefined index: icon" or whatever the Dutch equivalent of that message is).
Michael Eshom
Christian Metal Fans

three2five

Ok, thanks that helped me out, appearantly there is an issue in the apollo file, i'll post it in their topic too. Appearantly it was one line more;

global $months, $days, $months_short, $days_short;
$months = array(1 => 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', 'oktober', 'november', 'december');


I cannot make anything up from the errors I am receiving but I have a hunch. I receive very much errors and i will show some.

Quotehxxp:www.afsma.nl/blog/Forum/index.php?action=viewErrorLog [nonactive]

8: Undefined index: registration_member
Bestand: /data/members/paid/a/f/afsma.nl/htdocs/www/blog/Forum/Sources/Subs.php
Regel: 1389


hxxp:www.afsma.nl/blog/Forum/index.php [nonactive]

8: Undefined index: common_stats
Bestand: /data/members/paid/a/f/afsma.nl/htdocs/www/blog/Forum/Themes/apollo11/BoardIndex.template.php (eval?)
Regel: 372


hxxp:www.afsma.nl/blog/Forum/index.php [nonactive]

8: Undefined index: common_stats
Bestand: /data/members/paid/a/f/afsma.nl/htdocs/www/blog/Forum/Themes/apollo11/BoardIndex.template.php (eval?)
Regel: 378

hxxp:www.afsma.nl/blog/Forum/index.php [nonactive]

8: Undefined index: common_stats
Bestand: /data/members/paid/a/f/afsma.nl/htdocs/www/blog/Forum/Themes/apollo11/BoardIndex.template.php (eval?)
Regel: 379


hxxp:www.afsma.nl/blog/Forum/index.php [nonactive]

8: Undefined index: show_buddies
Bestand: /data/members/paid/a/f/afsma.nl/htdocs/www/blog/Forum/Themes/apollo11/BoardIndex.template.php (eval?)
Regel: 408

Appearantly there is another bug in one of the skins script files but I cannot figure out which one exactly. Maybe i have uploaded some files not correctly or something that i am not aware of. When I click within configuration --> current theme --> modify current index template (main template)

Oldiesmann

You're trying to use the 1.1 version of that theme with a 1.0.5 board. Either upgrade the board to 1.1RC1 or use the 1.0.5 version of that theme.
Michael Eshom
Christian Metal Fans

Advertisement: