SMF Development > Fixed or Bogus Bugs

[2.0 RC2] Error Message in Log File

(1/4) > >>

Ravey76:
Hi,

first of all: I´m glad RC2 of this genius software is out; works (almost) like a dream!

But there´s one or other thing that´s bugging me ...

Can anyone explain what this error message means?

http://www.Domainname.de/test/index.php?
2: mt_rand(): Invalid range: 0..0
Datei: /path/test/Sources/Subs.php
Zeile: 3103

I installed this testing board about a month ago. Meanwhile there are 122 pages with this error message.
(Note: clean installation; brand-new SQL-DB, no modifications but CSS color styling)

Thanx a lot,
Ravey76

N. N.:
Hello there!

About the error:
Can you please tell, do you have News active, to show on forum, and do you have actually any News item (Admin > News and Newsletters) defined?

About the characters: can you please verify, what encoding have the forum pages as received by the browser? You may find in the html source something like

--- Code: ---<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

--- End code ---
among the first lines of the html page source.

Pazuzu:
The second major problem is the UTF8-compatibility with german "Umlaute" (i.e.: ae, oe, ue)
I installed RC2 with the german UTF8 language pack. Database is also UTF8. Nevertheless all umlaut-characters are ignored/displayed wrong
(just in user-written threads. Navigation and system-messages are ok).

What went wrong?

I have the same problem. HTML output, language file and database all are set to UTF-8, but German Umlaute are not displayed correctly.

Though I must say, that I installed a fresh SMF1.x, imported old data, and then updated to 2.0
When I modify the posts/boards Umlaute are correct. How can I change that? Is there any option?

Any hinds on that? Thanks!

UPDATE

I re-installed everything and all's fine now :-D No clue why, though.

Ravey76:
Hello Norv,

yes, I have a small message on top of my board. Says something like "Welcome to our new testing board". All created and activated in admin-area, no hack´s / mods or similar.

"UTF8":
Here are the first lines of the html-code:


--- Code: ---<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="description" content="Start des Testforums" />
--- End code ---

Ravey76:
ok, I was playing around in admin-area and deactivated all news and rss-options. Error-messages still apear in log-file  :-\

Navigation

[0] Message Index

[#] Next page

Go to full version