config/database.bak.php could not be written. Please correct

Please report bugs here!

Moderator: Thorsten

Post Reply
scape
Posts: 216
Joined: Tue Apr 08, 2003 1:16 pm

config/database.bak.php could not be written. Please correct

Post by scape »

Updateversuch auf die aktuelle 2.6.0

Error: The backup file ../config/database.bak.php could not be written. Please correct this!

Error: Your version of phpMyFAQ could not updated.


Oups! Meine mich an die Anleitung gehalten zu haben :oops:
Ein paar der beschriebenen Ordner zum Behalten waren allerdings in meiner Version 2.5.2 gar nicht existent:
# the directory attachments/
# the directory data/
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: config/database.bak.php could not be written. Please correct

Post by Thorsten »

Hi,

oops... den Ordner config/ hab ich in der Doku vergessen. :-(

Der muss auch beschreibbar sein...

Ich fixe das in der Doku.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
scape
Posts: 216
Joined: Tue Apr 08, 2003 1:16 pm

Re: config/database.bak.php could not be written. Please correct

Post by scape »

Okay. Jetzt habe ich noch eine Fehlermeldung am Ende des Update-Vorgangs bekommen (success-Seite):
Warning: Invalid argument supplied for foreach() in /www/htdocs/v158395/phpmyfaq/install/update.php on line 615

Schlimm?
scape
Posts: 216
Joined: Tue Apr 08, 2003 1:16 pm

Re: config/database.bak.php could not be written. Please correct

Post by scape »

… und es gibt ein Problem mit der .htaccess (URL-rewrite) und noch einige Fehlermeldungen, z.B. auf:
http://schwitzen.com/phpmyfaq/content/2 ... esche.html
phpMyFAQ warning [2]: preg_replace_callback() [function.preg-replace-callback]: Requires argument 2, 'PMF_Glossary::_setAbbreviations', to be a valid callback in Mbstring.php on line 250

phpMyFAQ warning [2]: preg_replace_callback() [function.preg-replace-callback]: Requires argument 2, 'PMF_Glossary::_setAbbreviations', to be a valid callback in Mbstring.php on line 250

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at /www/htdocs/v158395/phpmyfaq/inc/functions.php:173) in index.php on line 574

...
scape
Posts: 216
Joined: Tue Apr 08, 2003 1:16 pm

Re: config/database.bak.php could not be written. Please correct

Post by scape »

… und als Subdomain aufgerufen folgeendes:
http://faq.schwitzen.com/content/6/140/ ... -deos.html
phpMyFAQ warning [2]: preg_replace_callback() [function.preg-replace-callback]: Requires argument 2, 'PMF_Glossary::_setAbbreviations', to be a valid callback in Mbstring.php on line 250

phpMyFAQ warning [2]: preg_replace_callback() [function.preg-replace-callback]: Requires argument 2, 'PMF_Glossary::_setAbbreviations', to be a valid callback in Mbstring.php on line 250

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at /www/htdocs/v158395/phpmyfaq/inc/functions.php:173) in index.php on line 574

...
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: config/database.bak.php could not be written. Please correct

Post by Thorsten »

Hi,

wir schauen uns das an!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: config/database.bak.php could not be written. Please correct

Post by Thorsten »

Hi,
scape wrote:Okay. Jetzt habe ich noch eine Fehlermeldung am Ende des Update-Vorgangs bekommen (success-Seite):
Warning: Invalid argument supplied for foreach() in /www/htdocs/v158395/phpmyfaq/install/update.php on line 615

Schlimm?
nein, das ist nur die Sicherung der Konfigurationsdateien...

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
scape
Posts: 216
Joined: Tue Apr 08, 2003 1:16 pm

Re: config/database.bak.php could not be written. Please correct

Post by scape »

Und? Gibt es schon Ideen zur Behebung der Fehlermeldungen?

Beispiel:
http://faq.schwitzen.com/content/2/23/d ... ht=roll-on
phpMyFAQ notice [8]: Undefined property: PMF_Helper_Category::$treeTab in Category.php on line 146

phpMyFAQ notice [8]: Undefined index: in Category.php on line 146

phpMyFAQ warning [2]: preg_replace_callback() [function.preg-replace-callback]: Requires argument 2, 'PMF_Glossary::_setAbbreviations', to be a valid callback in Mbstring.php on line 250

phpMyFAQ warning [2]: preg_replace_callback() [function.preg-replace-callback]: Requires argument 2, 'PMF_Glossary::_setAbbreviations', to be a valid callback in Mbstring.php on line 250

phpMyFAQ warning [2]: Cannot modify header information - headers already sent by (output started at /www/htdocs/v158395/phpmyfaq/inc/functions.php:173) in index.php on line 574

...
scape
Posts: 216
Joined: Tue Apr 08, 2003 1:16 pm

Re: config/database.bak.php could not be written. Please correct

Post by scape »

Klappt. DANKE!
scape
Posts: 216
Joined: Tue Apr 08, 2003 1:16 pm

Re: config/database.bak.php could not be written. Please correct

Post by scape »

Noch etwas… die Funktion "Sofortantwort" scheint nicht in allen Fällen zu klappen.
Suche ich bei uns beispielsweise nach "deodorant" gibt es keine Einträge obwohl dieser Begriff sowohl in Titeln als auch in Beiträgen und Keywords vorhanden ist :roll:
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: config/database.bak.php could not be written. Please correct

Post by Thorsten »

phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
scape
Posts: 216
Joined: Tue Apr 08, 2003 1:16 pm

Re: config/database.bak.php could not be written. Please correct

Post by scape »

Wuff! :D
Post Reply