Backup tool gibt Warning

Hier können Probleme und alles andere in Deutscher Sprache gelöst werden.
Post Reply
cummins
Regular
Posts: 86
Joined: Thu Oct 16, 2008 5:40 pm
Contact:

Backup tool gibt Warning

Post by cummins »

Wenn ich im Backend auf Backup Interface gehe bekomme ich folgende Fehlermeldung:
(ich hatte das Backup Tool 2x installiert und wieder rausgenommen)

Warning: Invalid argumentWarning: Invalid argument supplied for foreach() in /home/htdocs/site7/fairsuchen.info/root/plugins/serendipity_event_backup/serendipity_event_backup.php on line 1039

Warning: Invalid argument supplied for foreach() in /home/htdocs/site7/fairsuchen.info/root/plugins/serendipity_event_backup/serendipity_event_backup.php on line 1187 supplied for foreach() in /home/htdocs/site7/fairsuchen.info/root/plugins/serendipity_event_backup/serendipity_event_backup.php on line 1187

Kann ich ein Backup anstossen? Und wie bekomme ich die Meldung weg?

greetz Cummins
cummins
Regular
Posts: 86
Joined: Thu Oct 16, 2008 5:40 pm
Contact:

Re: Backup tool gibt Warning

Post by cummins »

Jetzt ist es passiert ;)

http://www.fairsuchen.info

Der oben genannte Fehler kam gestern und wenn ich jetzt meine Homepage aufrufe,
bekomme ich :

Warning: include(/home/htdocs/site7/fairsuchen.info/root/include/compat.inc.php) [function.include]: failed to open stream: Permission denied in /home/htdocs/site7/fairsuchen.info/root/serendipity_config.inc.php on line 38

Warning: include() [function.include]: Failed opening '/home/htdocs/site7/fairsuchen.info/root/include/compat.inc.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/htdocs/site7/fairsuchen.info/root/serendipity_config.inc.php on line 38

Warning: include(include/lang.inc.php) [function.include]: failed to open stream: Permission denied in /home/htdocs/site7/fairsuchen.info/root/serendipity_config.inc.php on line 158

Warning: include() [function.include]: Failed opening 'include/lang.inc.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /home/htdocs/site7/fairsuchen.info/root/serendipity_config.inc.php on line 158

Warning: include(/home/htdocs/site7/fairsuchen.info/root/include/functions.inc.php) [function.include]: failed to open stream: Permission denied in /home/htdocs/site7/fairsuchen.info/root/serendipity_config.inc.php on line 250

Warning: include() [function.include]: Failed opening '/home/htdocs/site7/fairsuchen.info/root/include/functions.inc.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear:/home/htdocs/site7/fairsuchen.info/root/bundled-libs/:/home/htdocs/site7/fairsuchen.info/root/bundled-libs/Smarty/libs/::') in /home/htdocs/site7/fairsuchen.info/root/serendipity_config.inc.php on line 250

Warning: include(/home/htdocs/site7/fairsuchen.info/root/include/lang.inc.php) [function.include]: failed to open stream: Permission denied in /home/htdocs/site7/fairsuchen.info/root/serendipity_config.inc.php on line 254

Warning: include() [function.include]: Failed opening '/home/htdocs/site7/fairsuchen.info/root/include/lang.inc.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear:/home/htdocs/site7/fairsuchen.info/root/bundled-libs/:/home/htdocs/site7/fairsuchen.info/root/bundled-libs/Smarty/libs/::') in /home/htdocs/site7/fairsuchen.info/root/serendipity_config.inc.php on line 254

Fatal error: Call to undefined function serendipity_die() in /home/htdocs/site7/fairsuchen.info/root/serendipity_config.inc.php on line 255

Ich habe versucht fixperm auszuführen, aber es gibt keine Änderung
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Backup tool gibt Warning

Post by garvinhicking »

Hi!

Mti dem Backuplugin hängt das eigentlich nicht zusammen. Ich frag mich manchmal echt, was Du für Sachen machst!

Das Backuplugin bringt Fehler, weil eine davon erstelle Datenbanktabelle nicht mehr existiert. Je nachdem wie und warum du immer deine plugins löschst und neuinstallierst kannst du hier was geschrottet haben. Das kann ich aber nicht sagen ohne zu wissen, was Du da immer genau machst. :-)

Ein Plugin sollte man immer über die Pluginoberfläche deinstallieren: Plugin ankreuzen und auf "markiertes plugin löschen" (oder so) klicken. NIEMALS per FTP einfach Dateien löschen oder neu rüberkopieren oder so.

Wenn du ein plugin danach neu installierst ("Hier klicken um ein ereignisplugin zu installieren") wird alles vom plugin neu ausgeführt, auch z.b. die Erstellung der Datenbanktabellen. Konkret will das backup plugin die Tabelle "serendipity_dma_sqlbackup" (sofern du den standardprefix "serendipity_" eingestellt hast bei der installation von serendipity) erstellen. Schau mal per phpMyAdmin oder so, ob diese Tabelle wirklich nicht existiert.


Die jetzige Fehlermeldung heißt dass entweder die in der Fehlermeldung genannten Dateien nicht mehr existieren oder keine Leserechte bestehen. Am besten Du spricht mit deinem Hosting-Bekannten.

Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
cummins
Regular
Posts: 86
Joined: Thu Oct 16, 2008 5:40 pm
Contact:

Re: Backup tool gibt Warning

Post by cummins »

Ich habe die Rechte Vergabe nach dieser Anleitung gemacht.

http://www.richtigbloggen.de/3-Serendip ... ieren.html

Komisch...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Backup tool gibt Warning

Post by garvinhicking »

Hi!

Ja, aber irgendwas hat sich ja verändert, sonst würde der Fehler nicht plötzlich kommen. Prüf mal ob die Dateien noch da sind und Leserechte haben. Frag sonst mal deinen Hoster, vielleicht hat der ja was gemacht wegen deiner anderen geschichten. :)

Grüße,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Stosh
Regular
Posts: 77
Joined: Mon Oct 12, 2009 11:47 pm

Re: Backup tool gibt Warning

Post by Stosh »

Hi Garvin,

I think I need this in English. I installed the plugin three times before realizing it wasn't going to let me have a base outside of the doc directory.

I made a new base directory in the doc area. Most of the errors went away. Only these two are left:

Code: Select all

Warning: Invalid argument supplied for foreach() in /var/www/vhosts/IMeMy.com/httpdocs/Blog/plugins/serendipity_event_backup/serendipity_event_backup.php  on line 1039

Warning: Invalid argument supplied for foreach() in /var/www/vhosts/IMeMy.com/httpdocs/Blog/plugins/serendipity_event_backup/serendipity_event_backup.php on line 1187
I keep getting a "connection reset" error when I try to export from the SQL manager. Worse, when I export non-zipped and then it tries to import, it seems to want to import only to the same database name. Not sure if I'll be able to do this, since I want to move to a new provider.


Best I can tell using translate... You want me to uninstall and then reinstall the pluggin?

-djr
Stosh
Regular
Posts: 77
Joined: Mon Oct 12, 2009 11:47 pm

Re: Backup tool gibt Warning

Post by Stosh »

Update:

I uninstalled and re-installed the backup pluggin, and I now have a clean backup screen.

The backup ran to 98 Meg zipped. :shock:

The normal phpMyAdmin export function started working this morning, and I was able to make a clean backup (~225K, zipped).

My question is: If I move to a different domain, where they will surely make me use a different name-prefix for the sql database, will I still be able to restore these records into those tables?

The reason I ask is because when I exported to non-zipped (text), it included a directive that had the database name.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Backup tool gibt Warning

Post by garvinhicking »

Hi!

The backup plugin is really a tad outdated; IMHO the easiest option to do a backup is use FTP for all files, and phpMyAdmin for the DB dump.

Usually, a provider does not give you a new table prefix, only a different database name. You can enter the database name to use simply in serendipity_config_local.inc.php, once you restore the backup on a new host.

You can also instruct phpMyAdmin to not dump the "CREATE DATABASE" options into the file, so yo u should not have a problem restoring the SQL on a new database table.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Stosh
Regular
Posts: 77
Joined: Mon Oct 12, 2009 11:47 pm

Re: Backup tool gibt Warning

Post by Stosh »

Garvin,

Hi. Thanks. I think I understand.

The problem with my last export was that it included a database name, which, when I attempted to import into a DB with a different name, gave me the error.

You're saying I can export without creating a database (which is where the name comes in?), and I'll be able to avoid this problem.

I'll try that.

-djr
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Backup tool gibt Warning

Post by garvinhicking »

Hi!

The SQL dump is BTW only an editable Text file, so you can without a problem edit the file and remove in the first few lines a "CREATE DATABASE..." or "USE DATABASE ... " statement to fix this issue with importing the dump!

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply