Script URL:http://www.mcarthur64.com/guestbook/gbook.php
Version of script:1.43
Hosting company:Powweb.com
URL of phpinfo.php:http://www.mcarthur64.com/guestbook/phpinfo.php
URL of session_test.php:http://www.mcarthur64.com/guestbook/test.php
What terms did you try when SEARCHING for a solution:N/A
Write your message below:
Further exploration nets the following:
When I originally downloaded the 1.6 zip and tried to install it on my server site (Powweb.com), I got the "no sec img" error and "wrong security code" error.
Skipping intermediate machinations, when I got help from Powweb, the solution to the package working was to install it through their "Install Panel."
The version they're carrying is 1.43. I happily copied over the (modified) files from my 1.6 package only to find that I was again, dead in the water, only this time the sec img was displaying, but the number never changed and in any event it was the wrong one every time I typed it in.
Fast forward past all sorts of fooling around. I noticed the file "secimg.inc.php" has some capital letters in 1.43 and not in 1.6 which may or may not be significant (I think that depends on the server).
My modified v1.6 "settings.php" seems to work fine.
All of this makes me wonder what other config items are different between v1.43 and v1.6 that makes 1.6 not want to work at Powweb? And where are they (which files)?
More sec img, v1.43, v1.6, powweb anomalies.
Please don't open a new topic every time you get some new info, we're trying to keep things consistent here
Just post a reply to the old topic instead.
That said, I don't know how powweb's installation works, but if version 1.43 works so should version 1.6. Looking at your phpinfo one setting could be causing problems, try adding this code to the top of gbook.php and print_sec_img.php, just after the opening php tag <?php :
Save, upload and see if it helps. You should close all browser windows before testing to clear any old sessions.

That said, I don't know how powweb's installation works, but if version 1.43 works so should version 1.6. Looking at your phpinfo one setting could be causing problems, try adding this code to the top of gbook.php and print_sec_img.php, just after the opening php tag <?php :
Code: Select all
ini_set('session.use_trans_sid',0);
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
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


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
I think this is the final edition
Sorry. I thought there were enough different aspects of my experience which warranted different threads.Klemen wrote:Please don't open a new topic every time you get some new info, we're trying to keep things consistent hereJust post a reply to the old topic instead.
Sometimes the simplest things are the simplest things. I should have applied this lesson from when I first started playing with CSS. Troubleshooting HTML is generally pretty easy, because there is almost always a direct cause-and-effect from one's code--that is, if your text isn't red and should be, look for something directly affecting that text. With CSS, however, there are very often anomalies rendered which are caused by code errors in a completely unrelated part of the code (often the style sheet, but still unrelated).That said, I don't know how powweb's installation works, but if version 1.43 works so should version 1.6.
So it was with my problems here. The final troubleshooting started with completely emptying my guestbook subdirectory on the server, and then uploading a whole, fresh zip extracted collection of files. Everything worked, although generically bland looking. I started substituting files and the very first one (header.txt) caused the problem to appear. header.txt contained two simple lines of text, the first one surrounded by <h1> and the second by <h2>. Neither of those are defined in the virgin styles.css file. Once I defined them, everything worked.
A missing language.inc.php file (don't know how that got dropped) contributed to the rest of the anomalies.
All seems to be working, now, v1.6.
Thank you very much for your help and patience. I'll try to get out of your hair, now.
LRod
language.inc.php was added in v1.6 that's why it's missing from their installation.
Glad you got it working and don't worry about getting out of my hair, feel free to post if you have further problems
Glad you got it working and don't worry about getting out of my hair, feel free to post if you have further problems

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


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