Fatal error !!!

Begonnen von HollyT, 23 März 2005, 11:47:39

⏪ vorheriges - nächstes ⏩

0 Mitglieder und 1 Gast betrachten dieses Thema.

HollyT

hallo zusammen,

moechte das eBoard in einer lokalen Testumgebung per Installations-Script neu einrichten.
nach dem anlegen der datenbanktabbellen und dem klick auf den 'weiter' button bekomme ich folgende fehlermeldung:

Fatal error: Cannot re-assign $this in H:\Privat\Ordner\apachefriends\xampp\htdocs\dolando\modules\eBoard\header.php on line 182

hier der ausschnitt der header.php:

163 $result = $dbxf->sql_query("INSERT INTO $table_members VALUES (NULL, '$xmb_username', '$xmb_password', '$xmb_regdate', '$xmb_postnum', '$xmb_email', '$xmb_site', '$xmb_status', '$xmb_sig', '$xmb_showemail', '$xmb_timeoffset', '$xmb_avatar', '$xmb_customstatus', '$xmb_theme', '$xmb_langfile', '$xmb_tpp', '$xmb_ppp', '$xmb_newsletter', '$xmb_timeformat', '$xmb_dateformat', '', '', '', '$xmb_trackingfid', '', '', '$xmb_u2u', '$xmb_notifyme', '$xmb_notifyemail', '$xmb_notifypm', '$xmb_notifythread', '$xmb_notifypost', '$xmb_notifyedit', '$xmb_notifydelete', '$xmb_pmuserid', '$xmb_keeplastvisit', '$xmb_advanceduinfo')");
164        }
165        else
166        {
167          if ($validadmin)        {
168          if($onlinerecord->time == "0"){$xmb_status = "Administrator";}
169          else {$xmb_status = "Member";}
170          $result = $dbxf->sql_query("UPDATE $table_members set status='$xmb_status', password='$xmb_password',  email='$xmb_email', site='$xmb_site' WHERE username = '$thisuser' ");
171          } else {
172          $result = $dbxf->sql_query("UPDATE $table_members set password='$xmb_password',  email='$xmb_email', site='$xmb_site' WHERE username = '$thisuser' ");
173          }
174        }
175 if($validadmin){
176   $synchro = " - administrator synchro ";
177   } else {
178   $synchro = " - synchro ";}
179  }
180
181  $query = $dbxf->sql_query("SELECT timeoffset, status, theme, tpp, ppp, timeformat, dateformat, langfile, lastvisit, lastvisitstore, lastvisitdate, trackingfid, trackingtime, keeplastvisit FROM $table_members WHERE username='$thisuser'");
182  $this = $dbxf->sql_fetch_object($query);
183  if($onlinerecord->time != "0"){$validadmin = false;}
184  if($this->langfile != "")                { $langfile = $this->langfile; }
185  if ( $globaltimestatus == 'off' ) { $timeoffset = $this->timeoffset; }
186  else                                                                { $timeoffset = $globaltimeoffset;   }
187  $status = $this->status;
188  $XFthemeuser = $this->theme;
189  $tpp = $this->tpp;
190  $ppp = $this->ppp;
191  $memtime = $this->timeformat;
192  $memdate = $this->dateformat;
193  $userpmid = $this->pmuserid;


kann mir jemand helfen ?!  :-\
gruss
HollyT
CMS-Version: pragmaMx 0.1.9, 1.30/2007-04-05
PHP-Version: 4.4.7 
MySQL-Version: 5.0.45-log
Server-Version: Apache/1.3.33 (Unix)

jubilee

Hallo !
Les mal bitte den folgenden Thread.
Der sollte bei diesem Problem mit dem eBoard und PHP5 helfen.
http://board.pragmamx.de/index.php?topic=10771.0

MfG
jubilee