Posted by vagos on 10/04/68 11:33
Chung Leong wrote:
> Well, if it's not happening any more, then it's probably a transcient
> error of some sort. Maybe the server administrator was doing a file
> restore. Or maybe the disk drive was experiencing problems. It's highly
> unlikely that the error was caused by large PHP files.
>
Sorry, but i am still getting those errors
Warning: Unexpected character in input: ' in
/usr/local/apache/htdocs/super/lib/mod_lib.php on line 20
....
18. if ($mod == "in_m1") {
19. $main2 .= "<table width=100% border=0 cellpadding=\"1\"
cellspacing=\"1\">";
20. $result = mysql_query("SELECT * FROM cat_products WHERE sid = '0'
ORDER BY short ASC");
21.
22. while ($row = mysql_fetch_array($result))
....
This time i get error in a different file.
The strange is that web page is shown correctlly (exept the first line
writting the error)
The only solution i found is to @include("mod_lib.php") in my index.php
and no errors will be shown !! (hm, not the needed solution of course)
[Back to original message]
|