Malfunctioning Comments Page

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
cAdams
Posts: 40
Joined: Thu Sep 15, 2011 10:52 pm

Malfunctioning Comments Page

Post by cAdams »

Script URL:
Version of script: 1.7
Hosting company: Host-Ed.net
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

After scrolling through forum pages and pages, i'm pretty back where i started.

I've copied over one of my guestbook's onto another site i've built. All was going swimmingly this morning before i went to bed at 2:30 but since waking up 6hrs later, the following is happening.

From the server where one of my guestbooks is uploaded, all input is transferred to the comments page correctly, ie name, location, email, comments, emoticons and when comments were added.

Image
http://www.cmafit.net/CMA%20Fotography/ ... /gbook.php

However, on the new site where the guestbook files were copied to, i get the following name, location and email required fields but inputted comments transfer to the comments page as 'View Private Message' in the comments box with and Added under displaying the comments made.

Image
http://cityability.co.nz/guestbook/gbook.php

The emoticons are also not transferring over yet the exact same gbook.php and comments.php files are working perfectly on the the original site so what am i missing here :(
To All UALs (Unreliable Arrogant Liars), Go Play On The Motorway
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Malfunctioning Comments Page

Post by Klemen »

Not sure how you transfer files, but this could be an issue with the "entries.txt" file.

Try manually downloading your old entries.txt file and uploading it to the new server, all in ASCII mode, and see if that helps.
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
cAdams
Posts: 40
Joined: Thu Sep 15, 2011 10:52 pm

Re: Malfunctioning Comments Page

Post by cAdams »

i ftp files to the server Klemen and deleting the entries.php file from the server has worked

i have, however, being up since 5:30 this morning working on the gbook.php but the smileys are still NOT showing up in the comments page

the 'From' input is also not transferring to the comments page even though it's required in the settings.php
To All UALs (Unreliable Arrogant Liars), Go Play On The Motorway
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: Malfunctioning Comments Page

Post by Henrie »

http://cityability.co.nz/guestbook/gbook.php seems fine now, except for the from field. But when i download the entries file and copy it to my own guestbook ,it displays all fields correctly. So I guess you made an error when editing the comments.php file.
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.
cAdams
Posts: 40
Joined: Thu Sep 15, 2011 10:52 pm

Re: Malfunctioning Comments Page

Post by cAdams »

the smileys sill aren't showing my end Henrie and comments.php was copied from a 'working' php on another site

i'll re-ftp the original comments.php to see if that returns the smileys and From transferring
To All UALs (Unreliable Arrogant Liars), Go Play On The Motorway
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: Malfunctioning Comments Page

Post by Henrie »

They worked for me in the message I posted before.
Now i get an error on some smileys. Have you tried putting the original sign_form.php back? Maybe some changes you made to the code are causing it not to work correctly.
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.
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: Malfunctioning Comments Page

Post by Henrie »

I just (re)discovered that Klemen processes the smileys with a function in gbook.php.
I also see that he uses the following naming convention a lot.
image.gif is named in the code as :!image:
So change your code in sign_form.php to reflect that naming convention just to be safe.
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.
cAdams
Posts: 40
Joined: Thu Sep 15, 2011 10:52 pm

Re: Malfunctioning Comments Page

Post by cAdams »

i also noticed the :!image: coding so have since removed ALL of the ! in the emoticons.php file and most of them are working

all bar two

the lust and party smileys

the party smiley has been deleted from the sign_form but the pop-up transfer isn't even working properly still :cry:
To All UALs (Unreliable Arrogant Liars), Go Play On The Motorway
cAdams
Posts: 40
Joined: Thu Sep 15, 2011 10:52 pm

Re: Malfunctioning Comments Page

Post by cAdams »

smileys issue now resolved :D

there was an original conflicting emoticon and since removing the original one, both smileys are now displayed on their own ie with no proceeding unentered text

however, the 'From' field still isn't carrying over to the comments pages :|
To All UALs (Unreliable Arrogant Liars), Go Play On The Motorway
cAdams
Posts: 40
Joined: Thu Sep 15, 2011 10:52 pm

Re: Malfunctioning Comments Page

Post by cAdams »

From field issue now also resolved WAHOO!!! :D
To All UALs (Unreliable Arrogant Liars), Go Play On The Motorway
Post Reply