tryed that. Just got this...
Text Formatted Code
An error has occurred:
2 - require_once(lib-common.php) [function.require-once]: failed to open stream: No such file or directory @ C:\wamp\www\plugins\staticpages\functions.inc(841) : eval()'d code line 1
array(5) {
["sp_content"]=>
string(3108) "require_once('lib-common.php');
$display = COM_siteHeader('none');
// These are names of the rdf blocks, their position
// and their urls.
$_NEWS['KBAlerts-WinUpdates'] = '1';
$_URLS[1]="http://www.kbalertz.com/rss/wupd.xml";
$_NEWS['KBAlerts-Win2K'] = '2';
$_URLS[2]="http://www.kbalertz.com/rss/win2000.xml";
$_NEWS['KBAlertz-WinNTServ4.0'] = '3';
$_URLS[3]="http://www.kbalertz.com/rss/nts40.xml";
$_NEWS['KBAlertz-Win98'] = '4';
$_URLS[4]="http://www.kbalertz.com/rss/w98.xml";
$_NEWS['KBAlertz-WinXP'] = '5';
$_URLS[5]="http://www.kbalertz.com/rss/winxp.xml";
$_NEWS['phpnews']=6;
$_URLS[6]="http://news.php.net";
$mysql = "SELECT *,UNIX_TIMESTAMP(rdfupdated) as date FROM {$_TABLES['blocks']} ";
$mysql .= "WHERE type='portal' order by blockorder,title asc";
$BLOCKS = DB_query($mysql);
$nrows = DB_numRows($BLOCKS);
for($i=0;$i<$nrows;$i++) {
$A=DB_fetchArray($BLOCKS);
$bname=$A['name'];
if ($_NEWS["$bname"] > 0) {
COM_rdfCheck( $A['bid'], $A['rdfurl'], $A['date'] );
//COM_rdfImport($A['bid'],$A['rdfurl']);
$tmp = $A['content'];
if (substr($tmp,0,5) == "Parse") { $tmp="Site feed Down"; }
switch($_NEWS["$bname"]) {
case '1':
$t1 = "" . $A['title'] . '</a>';
$news1 = COM_startBlock($t1);
$news1 .= $tmp;
$news1 .= COM_endBlock();
break;
case '2':
$t1 = "" . $A['title'] . '</a>';
$news2 = COM_startBlock($t1);
$news2 .= $tmp;
$news2 .= COM_endBlock();
break;
case '3':
$t1 = "" . $A['title'] . '</a>';
$news3 = COM_startBlock($t1);
$news3 .= $tmp;
$news3 .= COM_endBlock();
break;
case '4':
$t1 = "" . $A['title'] . '</a>';
$news4 = COM_startBlock($t1);
$news4 .= $tmp;
$news4 .= COM_endBlock();
break;
case '5':
$t1 = "" . $A['title'] . '</a>';
$news5 = COM_startBlock($t1);
$news5 .= $tmp;
$news5 .= COM_endBlock();
break;
case '6':
$t1 = "<a href='{$_URLS[6]}'>" . $A['title'] . '</a>';
$news6 = COM_startBlock($t1);
$news6 .= $tmp;
$news6 .= COM_endBlock();
break;
}
}
}
$display .= "<table width='100%' border='0' cellspacing='1' cellpadding='0'>";
$display .= "<tr><td width='50%' valign='top'>{$news1}</td><td width='50%' valign='top'>{$news2}</td></tr>";
$display .= "<tr><td width='50%' valign='top'>{$news3}</td><td width='50%' valign='top'>{$news4}</td></tr>";
$display .= "<tr><td width='50%' valign='top'>{$news5}</td><td width='50%' valign='top'>{$news6}</td></tr>";
$display .= "<tr><td colspan='2' align='center'>";
$display .= "Do you want to see a catagory thats not listed, and";
$display .= " You think it should be here";
$display .= " -- Send us the info</td></tr></table>";
$display .= COM_siteFooter();
echo $display;"
["sp_php"]=>
string(1) "2"
["_SP_CONF"]=>
&array(11) {
["version"]=>
string(5) "1.4.3"
["allow_php"]=>
int(1)
["sort_by"]=>
string(2) "id"
["sort_menu_by"]=>
string(5) "label"
["delete_pages"]=>
int(0)
["in_block"]=>
int(1)
["show_hits"]=>
int(1)
["show_date"]=>
int(1)
["filter_html"]=>
int(0)
["censor"]=>
int(1)
["default_permissions"]=>
array(4) {
[0]=>
int(3)
[1]=>
int(2)
[2]=>
int(2)
[3]=>
int(2)
}
}
["LANG_STATIC"]=>
&array(75) {
["newpage"]=>
string(8) "New Page"
["adminhome"]=>
string(10) "Admin Home"
["staticpages"]=>
string(12) "Static Pages"
["staticpageeditor"]=>
string(18) "Static Page Editor"
["writtenby"]=>
string(10) "Written By"
["date"]=>
string(12) "Last Updated"
["title"]=>
string(5) "Title"
["content"]=>
string(7) "Content"
["hits"]=>
string(4) "Hits"
["staticpagelist"]=>
string(16) "Static Page List"
["url"]=>
string(3) "URL"
["edit"]=>
string(4) "Edit"
["lastupdated"]=>
string(12) "Last Updated"
["pageformat"]=>
string(11) "Page Format"
["leftrightblocks"]=>
string(19) "Left & Right Blocks"
["blankpage"]=>
string(10) "Blank Page"
["noblocks"]=>
string(9) "No Blocks"
["leftblocks"]=>
string(11) "Left Blocks"
["addtomenu"]=>
string(11) "Add To Menu"
["label"]=>
string(5) "Label"
["nopages"]=>
string(37) "No static pages are in the system yet"
["save"]=>
string(4) "save"
["preview"]=>
string(7) "preview"
["delete"]=>
string(6) "delete"
["cancel"]=>
string(6) "cancel"
["access_denied"]=>
string(13) "Access Denied"
["access_denied_msg"]=>
string(149) "You are illegally trying access one of the Static Pages administration pages. Please note that all attempts to illegally access this page are logged"
["all_html_allowed"]=>
string(19) "All HTML is allowed"
["results"]=>
string(20) "Static Pages Results"
["author"]=>
string(6) "Author"
["no_title_or_content"]=>
string(69) "You must at least fill in the <b>Title</b> and <b>Content</b> fields."
["no_such_page_anon"]=>
string(15) "Please log in.."
["no_page_access_msg"]=>
string(215) "This could be because you're not logged in, or not a member of Geeklog Site. Please <a href="http://cherokee.point2this.com//users.php?mode=new"> become a member</a> of Geeklog Site to receive full membership access"
["php_msg"]=>
string(5) "PHP: "
["php_warn"]=>
string(95) "Warning: PHP code in your page will be evaluated if you enable this option. Use with caution !!"
["exit_msg"]=>
string(11) "Exit Type: "
["exit_info"]=>
string(90) "Enable for Login Required Message. Leave unchecked for normal security check and message."
["deny_msg"]=>
string(113) "Access to this page is denied. Either the page has been moved/removed or you do not have sufficient permissions."
["stats_headline"]=>
string(20) "Top Ten Static Pages"
["stats_page_title"]=>
string(10) "Page Title"
["stats_hits"]=>
string(4) "Hits"
["stats_no_hits"]=>
string(86) "It appears that there are no static pages on this site or no one has ever viewed them."
["id"]=>
string(2) "ID"
["duplicate_id"]=>
string(82) "The ID you chose for this static page is already in use. Please select another ID."
["instructions"]=>
string(266) "To modify or delete a static page, click on that page's edit icon below. To view a static page, click on the title of the page you wish to view. To create a new static page, click on "Create New" above. Click on on the copy icon to create a copy of an existing page."
["centerblock"]=>
string(13) "Centerblock: "
["centerblock_msg"]=>
string(85) "When checked, this Static Page will be displayed as a center block on the index page."
["topic"]=>
string(7) "Topic: "
["position"]=>
string(10) "Position: "
["all_topics"]=>
string(3) "All"
["no_topic"]=>
string(13) "Homepage Only"
["position_top"]=>
string(11) "Top Of Page"
["position_feat"]=>
string(20) "After Featured Story"
["position_bottom"]=>
string(14) "Bottom Of Page"
["position_entire"]=>
string(11) "Entire Page"
["head_centerblock"]=>
string(11) "Centerblock"
["centerblock_no"]=>
string(2) "No"
["centerblock_top"]=>
string(3) "Top"
["centerblock_feat"]=>
string(11) "Feat. Story"
["centerblock_bottom"]=>
string(6) "Bottom"
["centerblock_entire"]=>
string(11) "Entire Page"
["inblock_msg"]=>
string(12) "In a block: "
["inblock_info"]=>
string(28) "Wrap Static Page in a block."
["title_edit"]=>
string(9) "Edit page"
["title_copy"]=>
string(24) "Make a copy of this page"
["title_display"]=>
string(12) "Display page"
["select_php_none"]=>
string(18) "do not execute PHP"
["select_php_return"]=>
string(20) "execute PHP (return)"
["select_php_free"]=>
string(11) "execute PHP"
["php_not_activated"]=>
string(162) "The use of PHP in static pages is not activated. Please see the <a href="http://cherokee.point2this.com//docs/staticpages.html#php">documentation</a> for details."
["printable_format"]=>
string(16) "Printable Format"
["copy"]=>
string(4) "Copy"
["limit_results"]=>
string(13) "Limit Results"
["search"]=>
string(6) "Search"
["submit"]=>
string(6) "Submit"
}
["retval"]=>
string(0) ""
}
(This text is only displayed to users in the group 'Root')