Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Guestbook Error in backend: missing file / Fehlende Datei:‘’
#5
Hi Belletage,

You are right, it's a bug. I did not know it.
If you delete guestbook.log first, then you can not recover the log from backup. Logs are not shown, but logs are in folder.
To fix it, you must replace the following in line 202 to 204:

Code:
else{   //If file does not exist
        echo '<label>'.$i18n['MISSING_FILE'].':&lsquo;<em><?php echo @$log_name; ?></em>&rsquo;</label>';
            }

by:

Code:
else{   //If file does not exist
                //backups    
            if (@$_GET['action'] == 'backup') {
                    include 'guestbook/backup.php';
                } else {
            echo '<label>'.$i18n['MISSING_FILE'].':&lsquo;<em><?php echo @$log_name; ?></em>&rsquo;</label>';
                }
        }

The log of comments is saved in data/other/logs/guestbook.log
Backups of logs are saved in data/other/logs/guestbook_bak

Files
Quote:six files became saved:
----------------------
stylesheet.txt
pages.xml*
guest-cumbe.xml*
guestbook-belle.bak.xml
guestbook-cumbe.bak.xml*
sitemap.xml*
----------------------
are pages of getsimple.


Regards.

PD:i will upload to extend a new version with it fixed.
Reply


Messages In This Thread
Guestbook Error in backend: missing file / Fehlende Datei:‘’ - by cumbe - 2012-10-07, 20:42:42



Users browsing this thread: 1 Guest(s)