PDA

View Full Version : Some problems



hrehor69
03-15-2008, 03:54 PM
Hello,
First sorry, but my English is not perfect.

I'm sorry, If you already talk about simmilar problem, that I have, but I didn't find any solution on this forum.

Installation goes well. I use phpBB-2 forum and everything went OK.
Code was generated:

<?php include_once("/home/legices/public_html/last/news.php");
$forum_obj = new EP_Dev_Forum_News();
$forum_obj->display_News("", "", "", "0"); ?>

and include into php file. After I run it, this message shows:

Warning: Invalid argument supplied for foreach() in /home/legices/public_html/last/news.php on line 243
ERROR: Invalid forum id(s) specified.

I checked everything.
- on "Script Settings" I leave everythin except Absolute Path (auto-detect)
- on "News Source " I put al DB information, remove DB prefix, because I don't have them, choose Forum Type phpBB 2, write http://patht.to.my/forum and on Default Category Ids choose 2

What I did wrong?
Please hel me, because I really like to use that kind of script on my web page.

Thanks for your help.
Greetings.
Gregor

Patrick
03-15-2008, 08:11 PM
Make sure the news source is enabled. Click on "News Sources" and make sure "Enable forum" is set to "Enabled".

hrehor69
03-16-2008, 05:14 AM
Ahhh... no comment. :)
I don't know, how can I missed this.

Well, everything works fine now. I still have some problems with special characters, but this is not the major problem.

Thanks for your help.
Greetings.
Gregor

hrehor69
03-16-2008, 05:58 AM
About that special characters.
Our language use ščž and ŠČŽ characters.

On forum, they look OK, but with this script I get instead of š,Š, ž, Ž onlj little squares. Amazing, that č and Č are Ok.

I put a line <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"> (this is a code for Slovenian language) in news.php but nothing changes.

Any tip, please?

Thanks.
Greetings.
Gregor

hrehor69
03-17-2008, 03:22 PM
Solve the problem.
Thanks.
G.