citrix
24.02.2008, 16:51
Hallo liebe Community,
wollte mit meinem Forum auf einen anderen Webspace ziehen, jetzt habe ich nach dem Umzug aber ein Problem, dass das PHP irgendwie nicht als richtige Seite ausgegeben wird :(
Wenn ich die Seite aufrufe (http://www.lxbforum.net) sehe ich so etwas:
{ return true; } else { $lock_attempts--; sleep(1); } } return false; } /** * Releases the datastore lock * * @param string title of the datastore item * * @return void */ function unlock($title = '') { $this->dbobject->query_write("UPDATE " . TABLE_PREFIX . "adminutil SET text = 0 WHERE title = 'datastorelock'"); } function fetch_build($title) { $data = ''; $dataitem = $this->dbobject->query_first(" SELECT title, data FROM " . TABLE_PREFIX . "datastore WHERE title = '" . $this->dbobject->escape_string($title) ."' "); if (!empty($dataitem['title'])) { $this->build($dataitem['title'], $dataitem['data']); $data = unserialize($dataitem['data']); } return $data; } /** * Perform an atomic move where a request may occur before a file is written * * @param string Source Filename * @param string Destination Filename * * @return boolean */ function atomic_move($sourcefile, $destfile) { if (!@rename($sourcefile, $destfile)) { if (copy($sourcefile, $destfile)) { unlink($sourcefile); return true; } return false; } return true; } } /*======================================================================*\ ||
Der Support berichtet von diesem Fehler:
beim Aufruf der index-Seite erhalte ich folgende Fehlermeldung im error_log:
[Sun Feb 24 15:08:12 2008] [error] [client 217.235.128.133] PHP Fatal error:
Cannot redeclare build_usertextfields() (previously declared in
/srv/www/htdocs/web19/html/includes/functions_databuild.php:16) in /srv/www/htdocs/web19/html/includes/functions_databuild.php on line 1872,
Hilft Ihnen das weiter? Es scheint ein Fehler im Code vozuliegen.
Also ein Fehler im Code schließe ich ganz sicher aus, da es vorher auch lief.
Hier die PHP-Info des neues Spaces: http://www.lxbforum.net/phpinfo.php
Hier die vom alten: http://www.lexingtonbridge-forum.de/phpinfo.php
Könnt ihr irgendwelche Fehler ausmachen ?
Gruß,
Tom
wollte mit meinem Forum auf einen anderen Webspace ziehen, jetzt habe ich nach dem Umzug aber ein Problem, dass das PHP irgendwie nicht als richtige Seite ausgegeben wird :(
Wenn ich die Seite aufrufe (http://www.lxbforum.net) sehe ich so etwas:
{ return true; } else { $lock_attempts--; sleep(1); } } return false; } /** * Releases the datastore lock * * @param string title of the datastore item * * @return void */ function unlock($title = '') { $this->dbobject->query_write("UPDATE " . TABLE_PREFIX . "adminutil SET text = 0 WHERE title = 'datastorelock'"); } function fetch_build($title) { $data = ''; $dataitem = $this->dbobject->query_first(" SELECT title, data FROM " . TABLE_PREFIX . "datastore WHERE title = '" . $this->dbobject->escape_string($title) ."' "); if (!empty($dataitem['title'])) { $this->build($dataitem['title'], $dataitem['data']); $data = unserialize($dataitem['data']); } return $data; } /** * Perform an atomic move where a request may occur before a file is written * * @param string Source Filename * @param string Destination Filename * * @return boolean */ function atomic_move($sourcefile, $destfile) { if (!@rename($sourcefile, $destfile)) { if (copy($sourcefile, $destfile)) { unlink($sourcefile); return true; } return false; } return true; } } /*======================================================================*\ ||
Der Support berichtet von diesem Fehler:
beim Aufruf der index-Seite erhalte ich folgende Fehlermeldung im error_log:
[Sun Feb 24 15:08:12 2008] [error] [client 217.235.128.133] PHP Fatal error:
Cannot redeclare build_usertextfields() (previously declared in
/srv/www/htdocs/web19/html/includes/functions_databuild.php:16) in /srv/www/htdocs/web19/html/includes/functions_databuild.php on line 1872,
Hilft Ihnen das weiter? Es scheint ein Fehler im Code vozuliegen.
Also ein Fehler im Code schließe ich ganz sicher aus, da es vorher auch lief.
Hier die PHP-Info des neues Spaces: http://www.lxbforum.net/phpinfo.php
Hier die vom alten: http://www.lexingtonbridge-forum.de/phpinfo.php
Könnt ihr irgendwelche Fehler ausmachen ?
Gruß,
Tom