Page 1 of 1

Problem while upgrading from 1.5 to 1.6

Posted: Sun Mar 29, 2009 6:13 am
by Magda
Script URL: http://www.lapink.net/gb2/
Version of script: 1.6
Hosting company: wickednoukfamily.com
URL of phpinfo.php: http://www.lapink.net/gb2/phpinfo.php
URL of session_test.php: http://www.lapink.net/gb2/session_test.php
What terms did you try when SEARCHING for a solution: reading the readme file

Write your message below:

Hello,


I have problems upgrading from 1.5 to 1.6

I have now upgraded to 1.6 and did it like said in the readme.file

I backuped my old gb files (just downladed from the server to my folder)
I edited the new settings.php
I chmod the bannedip.txt to 666
I uploaded all files except the entries.txt

I uploaded images folder in binary mode and the rest in ASCII mode

I opened my site and the guestbook does not work. It just shows a blank page!

I uploaded my old files back (version 1.5) and this doesn't work too. Means I used my backuped files and they do not work either. What has happened here? I want my gbook back!

Posted: Sun Mar 29, 2009 8:44 am
by Klemen
Hello,

It could be a problem with file or folder permissions because your other PHP scripts in the "gb" folder don't work either:
http://www.lapink.net/gb/phpinfo.php
http://www.lapink.net/gb/session_test.php

But the readme file does work:
http://www.lapink.net/gb/readme.htm

Make sure all PHP files are CHMOD-ed to 644 (rw-r--r--). Or try installing GBook to a new folder (http://www.lapink.net/gb2) and see if it works there - if it does try renaming the old one to "gb_old" and "gb2" to "gb".

Posted: Sun Mar 29, 2009 8:50 pm
by Magda
thank you, this has worked

but all my entries are now gone???

I even uploaded from the backuped gb folder the 3ntrs...txt file back but my entries are gone. what should I do now?

Posted: Sun Mar 29, 2009 10:00 pm
by Henrie
Can you view the backuped 3ntrs...txt file and see if there are any entries in it (or just look what the filesize is).

Greetings,
Henrie

Posted: Mon Mar 30, 2009 2:25 pm
by Magda
yes I opened it with notepad and it is full of entries

Posted: Mon Mar 30, 2009 3:39 pm
by Henrie
I can't tell you exactly what the problem is.

Here are some ideas. I think it is mainly a permissions problem.
  • Is 3ntrs...txt file chmod 666?
  • $settings['logfile'] in settings.php file. Default value $settings['logfile']='entries.txt';
    Have you changed it to the name of your entries file?
  • Further i get error when trying to post that badwords file is missing.
    Is your badwords folder inside your gbook folder en is the file en.php inside it?
    And is $settings['filter_lang']='en'; in your entrie.php file.
  • Also images are not displayed. Is the images folder readable for the world? chmod 755?
This is all i can think of now. Can you check?

Greetings,
Henrie

Posted: Mon Mar 30, 2009 4:40 pm
by Magda
thank you, that helped me a lot,

I totally forgot to edit the entries.txt in the settings file, all my entries are back now but I did not understand what you meant with badwords.

The badwords folder is in the gb2 folder and inside the badwords folder is a file called en.php and badwords folder is chmoded to 644, is this correct???

Posted: Mon Mar 30, 2009 4:44 pm
by Henrie
When i try to post i get the following error:
The bad words file can't be found! Please check the name of the file. On most servers names are CaSe SeNsiTiVe!
The folder badwords should be chmod 755
The file en.php should be chmod 644

Greetings,
Henrie

Posted: Mon Mar 30, 2009 4:53 pm
by Magda
ok done, should work now?

thank you so much

Posted: Mon Mar 30, 2009 5:07 pm
by Henrie
I just tested and it works.

You should remove my message from your guestbook :wink:

Greetings,
Henrie