upgrade unsuccessful

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
pleen
Posts: 3
Joined: Tue Jun 23, 2009 11:13 pm

upgrade unsuccessful

Post by pleen »

Script URL: http://www.fortsmithtourism.ca/gbook
Version of script: upgraded 1.4 to 1.6
PHP: 4.47
Hosting company: powweb
URL of phpinfo.php: .../gbook/phpinfo.php
URL of session_test.php: .../gbook/session_test.php
What terms did you try when SEARCHING for a solution:
upgrade, upgrade 1.6, blank, chmod, and the stickys about 1.6

Write your message below:
Was inundated by spam so decided to upgrade.
Upon upgrading from 1.41 to 1.6, I end up with a blank screen at http://www.fortsmithtourism.ca/gbook/gbook.php
I've tried the following:
All files chmod 644, except banned_ip.txt (666), entries.txt (666-changed name too). Also changed images and badwords folder to 755 but en.php to 644.
Session test 1 and 2 work and return TRUE.
I also made sure everything was loaded in ASCII and the images in Binary.
I've tried with a different folder, the program doesn't work under .../guestbook either.
After these measures, my php knowledge is tapped out.
Any suggestions? Thank you.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Try removing lines

Code: Select all

ini_set('display_errors', 0);
ini_set('log_errors', 1);
from the settings.php file and see if you get any new errors then when trying to open GBook.
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
pleen
Posts: 3
Joined: Tue Jun 23, 2009 11:13 pm

unsuccessful upgrade

Post by pleen »

Hi Klemen,
Deleting the ini_set lines does not seem to produce any further results. Still the blank screen, no error messages.

Thanks,
p.
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Judging from your detailed description, i don't think you did, but i have to ask it anyway.

1. Did you make changes to any other file than the settings.php file?
2. Could it be you have made a type error when changing values in the settings.php file?
Which as i might add is unlikely, because it would generate errors.

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.
pleen
Posts: 3
Joined: Tue Jun 23, 2009 11:13 pm

my error

Post by pleen »

Ok, thanks to your suggestion, I looked over the settings.php file VERY closely, and found that I had not changed the $settings['gbook_url']='...guestbook/gbook.php'; to the new gbook folder that I'd created. Not sure of why it didn't work initially as I used the same folder the first time, but after the second install with the correct path it works great.
Thanks so much for your patience and good advice!
Post Reply