Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - earthlyk

Pages: [1]
1
I have found a temporary solution maybe it will help to solve the problem, here are my code :


-------------------------------------------------------------------------------------------------------------
$new_news = (time() - 60 * 60 * 24 * $latest_news_days);

$newstype = $_GET["newstype"];     //I add this line.

if ($newstype == "latestnewsall"){
    $news_type = "latestnewsall";
    }
else {
    $news_type = "latestnews";
    }

  $additional_sql = "";
  $additional_sql_2  = ""; //and add this line too.

-------------------------------------------------------------------------------------------------

then it work, but still have error message(same above post), so I set PHP.ini to display_errors = Off

earthlyk

2
Hi, Fugaziman:

    First, thank you post this MOD, I have used this MOD with no problem by using WinXP+Easyphp 1.7 + 4images.

    Then, when I download a program call "Tenable NeWT Security Scanner" to scan my site, give me the result that my site had many holes. So I have to upgrade Easyphp1.7 to 1.8(apache 1.3.33 PHP 4.3.10 Mysql 4.1.9) and there comes some problem: one is this MOD, below are the message:

Notice: Undefined variable: newstype in ...\4images\index.php on line 184

Notice: Undefined variable: additional_sql_2 in ...\4images\index.php on line 197

I set PHP.ini register_globals = On (PHP 4.3.10 default is off) but still don't work.

I did not familiar with PHP coding, and it also painful for me to write English to ask help, BUT I have to, so if my expression didn't get well enough and let you could not understand what I mean just forget this post.

Sorry for my poor English and Thank you for reading my post.

earthlyk

3
Thanks Chris, now I see.

4
This .pic just work fine in IE, but don't work in FireFox. Could someone tell me how to change the css code ?

Thanks.

Pages: [1]