Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-11-22 13:15:54

bartekk
Member
Registered: 2004-11-09
Posts: 57

safe_query() error in debug mode

I get following error:

Fatal error: Cannot redeclare safe_query() (previously declared in /home/httpd/docs/xxx/2005/textpattern/lib/txplib_db.php:47) in /home/httpd/docs/graexxxber/2005/textpattern/lib/txplib_db.php on line 64

how can I fix it?

EDIT:

my diagnostics:

Version Textpattern: 4.0.2 (r1076)
last_update: 2005-11-02 10:31:38/2005-11-02 10:30:55
Absoluter Pfad der Seite: /home/httpd/docs/xxx
$path_to_site: /home/httpd/docs/xxx/2005
Pfad Textpattern: /home/httpd/docs/xxx/2005/textpattern
Schema der URLs: section_title
Temporäres Verzeichnis: /home/httpd/docs/xxx/2005/textpattern/tmp
Seiten-URL: www.xxx.de/2005
PHP-Version: 5.0.2
server_time: 2005-11-22 14:57:07
MySQL: 4.1.7-standard
Regionale Einstellungen: de_DE.UTF-8
Server: Apache/2.0.50 (Unix) mod_perl/1.99_14 Perl/v5.6.1 PHP/5.0.2 FrontPage/5.0.2.2635
Apache-Version: Apache/2.0.50 (Unix) mod_perl/1.99_14 Perl/v5.6.1 PHP/5.0.2 FrontPage/5.0.2.2635

Last edited by bartekk (2005-11-22 13:58:27)

Offline

#2 2005-11-22 21:37:03

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: safe_query() error in debug mode

That’s weird. Try replacing /textpattern/lib/txplib_db.php with a fresh copy.

Offline

Board footer

Powered by FluxBB