+ Reply to Thread
Results 1 to 5 of 5

Thread: Some problems

  1. Join Date
    Mar 2008
    Posts
    4

    Some problems

    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

  2. Join Date
    Aug 2004
    Posts
    781

    Re: Some problems

    Make sure the news source is enabled. Click on "News Sources" and make sure "Enable forum" is set to "Enabled".


  3. Join Date
    Mar 2008
    Posts
    4

    Re: Some problems

    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

  4. Join Date
    Mar 2008
    Posts
    4

    Re: Some problems

    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

  5. Join Date
    Mar 2008
    Posts
    4

    Re: Some problems

    Solve the problem.
    Thanks.
    G.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts