Problem while upgrading from 1.5 to 1.6

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
Magda
Posts: 7
Joined: Tue Nov 06, 2007 4:09 pm

Problem while upgrading from 1.5 to 1.6

Post 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!
Last edited by Magda on Sun Mar 29, 2009 8:52 pm, edited 1 time in total.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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".
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Magda
Posts: 7
Joined: Tue Nov 06, 2007 4:09 pm

Post 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?
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post 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
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Magda
Posts: 7
Joined: Tue Nov 06, 2007 4:09 pm

Post by Magda »

yes I opened it with notepad and it is full of entries
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post 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
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Magda
Posts: 7
Joined: Tue Nov 06, 2007 4:09 pm

Post 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???
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post 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
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Magda
Posts: 7
Joined: Tue Nov 06, 2007 4:09 pm

Post by Magda »

ok done, should work now?

thank you so much
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

I just tested and it works.

You should remove my message from your guestbook :wink:

Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Post Reply