Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Guestbook Error in backend: missing file / Fehlende Datei:‘’
#1
Hi,
with GS 3.1.2 and guestbook 4.4.2 and Exec-PHP 1.1:

when I call guestbook in the backend, I can´t reach its config-menu??

only a message: Fehlende Datei:‘’
with means: missing file`´.

not more. I don´t know which file?

the url is domainname.tld/gs/admin/load.php?id=guestbook

Everything is several times uploaded, even the whole adim-folder.
and I empty the data/cache-folder too,


Guestbook runs on my home-PC, in a kind of the same environment,
but uploaded, it doesn´t Sad(

Does anybody has helping ideas?

Thanx, regards, B.
Reply
#2
... mmh - while cooking I got the idea, the missed file ist
the guestbook.log - and - it is! Smile

There must be any trouble with the folders writing-rights.
I still can´t see the guestbook form in the frontend, and
when I delete the guestbook.log, I can´t restore it ...

How to set the folder rights for the guestbook?

... (I go on cooking ...) ;]

---------------------------

the offline-version doesn´t run anymore too Sad

thats after I change in the "site"-code
<!--?php sv_book('cumbe', 3, 'D', 'Y', 'Y'); ?-->
to
<!--?php sv_book('belle', 3, 'D', 'Y', 'Y'); ?-->

and there is no way back. "belle", the admin-name.

I changed the guestbook.xml too, but no positve result.

---------------------------

hard to understand & manage on this user-level ...

regards
Reply
#3
What does "Support / Website-Server-Prüfung" show? Everything green, ok?

I would suggest

1) to deactivate the guestbook-plugin and delete it
2) check of this directory exists:
data/other/logs
3) after that install it again

I use this plugin for some time now at a client's site, the guestbook-log-file has "640" there

Cheers, Connie
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#4
hi,

health check: Everything green, Yes!


Quote:the guestbook-log-file has "640"
I gave even 777 to it


Quote:I use this plugin for some time now at a client's site
try to save the file again Wink but CAUTION!!!
Don´t do It!

-------------------

I still don´t find out, what happened, just:

If you save,
the formular and the postings aren´t displayed anymore. And
six files became saved:
----------------------
stylesheet.txt
pages.xml*
guest-cumbe.xml*
guestbook-belle.bak.xml
guestbook-cumbe.bak.xml*
sitemap.xml*
----------------------
If you restore, the first time, formular and the postings are back again, but not for a second time.
After restore, four files became saved, marked with a *


In my file, I use this code
Code:
<!--?php sv_book('belle', 3, 'D', 'Y', 'Y'); ?-->
. First I had
Code:
<!--?php sv_book('cumbe', 3, 'D', 'Y', 'Y'); ?-->
, but I read, that you should use the name of the user ...? Don´t know. Seems no matter.



An other lack with "guestbook-log-file": If you delete it in the backend, its gone and you don´t get it again, just the Missing file:‘’ message.



At least: the guestbook might work, but don´t save it twice and don´t delete all postings.

thats on my win-apache, with the latest GS & Plugins.


best, Bell
Reply
#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
#6
Hi cumbe,
thanks!
But that doesn´t solve all my problems: after saving the guestbook-site, the formular ist gone.
To get it back, the file guestbook.xml seems to be the reason:
In the running version with formular, it looks like that:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<item><pubDate>Sun, 07 Oct 2012 23:53:21 +0200</pubDate><title>Gästebuch</title><url>guestbook</url><meta></meta><metad></metad><menu>Gästebuch</menu><menuStatus>Y</menuStatus><template>template.php</template><parent></parent><content>&amp;lt;?php sv_book(&amp;#039;admin&amp;#039;, 3, &amp;#039;D&amp;#039;, &amp;#039;Y&amp;#039;, &amp;#039;Y&amp;#039;); ?&amp;gt;</content><private></private><author>admin</author><menuOrder><![CDATA[2]]></menuOrder></item>
after saving the guestbook-site, without changes, it looks like that
Code:
<?xml version="1.0" encoding="UTF-8"?>
<item><pubDate>Mon, 08 Oct 2012 00:16:14 +0200</pubDate><title><![CDATA[Gästebuch]]></title><url><![CDATA[guestbook]]></url><meta><![CDATA[]]></meta><metad><![CDATA[]]></metad><menu><![CDATA[Gästebuch]]></menu><menuOrder><![CDATA[1]]></menuOrder><menuStatus><![CDATA[Y]]></menuStatus><template><![CDATA[template.php]]></template><parent><![CDATA[]]></parent><content><![CDATA[&lt;!--?php sv_book('admin', 3, 'D', 'Y', 'Y'); ?--&gt;]]></content><private><![CDATA[]]></private><author><![CDATA[admin]]></author></item>
if I exchange the content, the form ist back again.
So there is a coding-problem.

And a nice additional feature would be, if the Plugin keeps the formular-data, if someone gives a wrong capatcha and has to go <<back.

best regards, Bell.
Reply
#7
Well, the problem is solved! Smile
"Exec-PHP has some issues, use DynPages instead."
http://get-simple.info/forum/post/31292/#p31292with DynPages all the problems are gone.
A great guestbook!!
Best, B.
Reply




Users browsing this thread: 1 Guest(s)