Quote:
|
Originally Posted by Ace
Hello everyone I just started working with mambo but I have te following problem:
When you look at my site http://www.ace.joskeonline.com/mambo/ you can see that the log off Aliya Wolf is next to Destiny Davis.
How can I fix this ?
Also when I go to mamblog configuration I see this error at the bottom:
Fatal error: Cannot redeclare mosparseparams() (previously declared in /home/ace/public_html/mambo/includes/mamboxml.php:409) in /home/ace/public_html/mambo/administrator/components/com_mamblog/admin.mamblog.php on line 295
Can Anyone help me with this problem Thx alot 
|
This problem is discussed at the
Mamblog home site. Here is the solution:
Quote:
Just del or comment this code(line 295) in admin.mamblog.php
Code:
function mosParseParams( $txt ) {
$sep1 = "\n"; // line separator
$sep2 = "="; // key value separator
$temp = explode( $sep1, $txt );
$obj = new stdClass();
// We use trim() to make sure a numeric that has spaces
// is properly treated as a numeric
foreach ($temp as $item) {
if($item) {
&nbs p; $temp2 = explode( $sep2, $item, 2 );
&nb sp; $k = trim( $temp2[0] );
&nb sp; if (isset( $temp2[1] )) {
&nbs p; $obj->$k = trim( $temp2[1] );
&nb sp; } else {
&nbs p; $obj->$k = $k;
&nbs p; }
&n bsp;}
}
return $obj;
}
|
Here is the link to the original thread at that site:
Mamblog Error Fix
You simply need to comment out (or delete) a few lines of code. I've done this, and so far
Mamblog operates just fine without the code. Try it and see if it works for you.