Page 1 of 1

Malfunctioning Comments Page

Posted: Mon Nov 26, 2012 1:34 am
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 :(

Re: Malfunctioning Comments Page

Posted: Mon Nov 26, 2012 4:31 pm
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.

Re: Malfunctioning Comments Page

Posted: Mon Nov 26, 2012 5:32 pm
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

Re: Malfunctioning Comments Page

Posted: Mon Nov 26, 2012 6:25 pm
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.

Re: Malfunctioning Comments Page

Posted: Mon Nov 26, 2012 7:50 pm
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

Re: Malfunctioning Comments Page

Posted: Mon Nov 26, 2012 7:56 pm
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.

Re: Malfunctioning Comments Page

Posted: Mon Nov 26, 2012 8:28 pm
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.

Re: Malfunctioning Comments Page

Posted: Mon Nov 26, 2012 9:10 pm
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:

Re: Malfunctioning Comments Page

Posted: Mon Nov 26, 2012 9:24 pm
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 :|

Re: Malfunctioning Comments Page

Posted: Mon Nov 26, 2012 9:28 pm
by cAdams
From field issue now also resolved WAHOO!!! :D