Installed PHPlist, result wasTONS of script garbage code....

Once you've installed phpList Version 2... ask questions here!
Forum rules
Please help the volunteers to help you by supplying the version of phpList you are using, browser & version and if possible, a link to your phpList installation. This is for Version 2 of phpList (the orange one).

Installed PHPlist, result wasTONS of script garbage code....

Postby cstadler18 » 10:02pm, Wed 04 Apr, 2007

Ok I edited the config.php, connected to db ok.

http://localhost/phplist/public_html/lists/admin/

Renders a TON of garbage script code and a login.
"phplist - main admin page"

I am running :

Windows 2000
Apache 2.2
Php 5

Is there a module or something thats not catching and interpreting this code?
Help---???

-Craig


-----------------------------------
Code Snip here
-----------------------------------
'; return $html; } } class WebblerShader { var $name = "Untitled"; var $content = ""; var $num = 0; var $isfirst = 0; var $display = "block"; var $initialstate = "open"; function WebblerShader($name) { $this->name = $name; if (!isset($GLOBALS["shadercount"])) { $GLOBALS["shadercount"] = 0; $this->isfirst = 1; } $this->num = $GLOBALS["shadercount"]; $GLOBALS["shadercount"]++; } function addContent($content) { $this->content = $content; } function hide() { $this->display = 'none'; } function show() { $this->display = 'block'; } function shaderJavascript() { if ($_SERVER["QUERY_STRING"]) { $cookie = "WS?".$_SERVER["QUERY_STRING"]; } else { $cookie = "WS"; } if (!isset($_COOKIE[$cookie])) { $_COOKIE[$cookie] = ''; } return ' '; } function header() { $html = sprintf(' '); return $html; } function shadeIcon() { return sprintf(' ',$this->num,$this->num); } function titleBar() { return sprintf(' %s %s
',$this->shadeIcon(),$this->name); } function dividerRow() { return '
'; } function footer() { $html = sprintf('
'.$this->dividerRow().'

',$this->num,$this->display,addslashes($this->name),$this->num,$this->display); return $html; } function contentDiv() { $html = sprintf(' ',$this->num,$this->display); $html .= $this->content; $html .= ' '; return $html; } function shaderStart() { if (!isset($GLOBALS["shaderJSset"])) { $html = $this->shaderJavascript(); $GLOBALS["shaderJSset"] = 1; } else { $html = ""; } return $html; } function display() { $html = $this->shaderStart(); $html .= $this->header(); $html .= $this->titleBar(); $html .= $this->dividerRow(); $html .= $this->contentDiv(); $html .= $this->footer(); return $html; } } ?>
cstadler18
phpList newbie
 
Posts: 3
Joined: 6:55am, Thu 29 Mar, 2007

Postby H2B2 » 3:36am, Thu 05 Apr, 2007

Might be the "short tag" issue. See the FAQs page for more info.
H2B2
Moderator
 
Posts: 7188
Joined: 1:51am, Wed 15 Mar, 2006


Return to Question & Problems - after installing

Who is online

Users browsing this forum: No registered users and 4 guests