I changed a few words in the lang files (only between the " " so not in the codes themselves) i.e. from "email" to "what is your email address?" And got the following message;
Warning: Cannot modify header information - headers already sent by (output started at /home/alan/public_html/guestbook/lang/english.php:105) in /home/alan/public_html/guestbook/lib/admin.class.php on line 36
I've counted to line 105 in /lang/english.php I can't find anything wrong and didn't modify anything apart from having changed the words.
Any ideas?
By the way - is a full line of script one complete line even if it shows over two or three lines (cos of window restrictions) or is a line counted as each time a new line starts? Does that make sense?
Ta
Writing courses on a Greek island
www.symidream.com
15/01/2005 11:28:43
Subject:
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
Send me your english.php file or post it here.
Carbonize I am not the maker of the Advanced Guestbook
manswords wrote:By the way - is a full line of script one complete line even if it shows over two or three lines (cos of window restrictions) or is a line counted as each time a new line starts? Does that make sense?
Ta
Its word-wrapping by NotePad or WordPad. It won't screw the code up but it should all be on one line.
Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
15/01/2005 13:34:59
Subject:
fatjacK
Student
Joined: 08/11/2004 22:27:28
Messages: 50
Location: Isle of Sheppey
Offline
Isn't this the error caused by the 'white space ' at the bottom of the script
have a look and delete any spaces at the end of the script
Here's the file text copied without any changes from the server
Thanks again for your help!
";
$LANG["BookMess1"] = "HTML code is disabled";
$LANG["BookMess2"] = "HTML code is enabled";
$LANG["BookMess3"] = "Sign the Manswords Guestbook";
$LANG["BookMess4"] = "Back to the Manswords Guestbook";
$LANG["BookMess5"] = "Administration";
$LANG["BookMess6"] = "Hi. Welcome to the Manswords guestbook. Leave your messages and your favourite image here";
$LANG["BookMess7"] = "Comments from Manswords visitors";
$LANG["BookMess8"] = "Back to submit form";
$LANG["BookMess9"] = "Write a comment for this entry.";
$LANG["BookMess10"] = "Thank you for signing the Manswords guestbook.
Your entry was added successfully! You should be transfered back to the guestbook in 2 seconds.";
$LANG["EmailAdminSubject"] = "New guestbook entry";
$LANG["EmailGuestSubject"] = "Thank you for signing the manswords guestbook";
# Form
$LANG["FormMess1"] = "Fill out the blanks below to sign the guestbook. After you submit your entry, you will be returned to the guestbook. The blanks with (*) represent required fields.";
$LANG["FormMess2"] = "Manswords Smilies are ON";
$LANG["FormMess3"] = "AGCode is ON";
$LANG["FormMess4"] = "Show legend";
$LANG["FormMess5"] = "Below is your guestbook entry.";
$LANG["FormMess6"] = "AG Code is OFF";
$LANG["FormMess7"] = "Smilies are OFF";
$LANG["FormName"] = "Put your Manswords name";
$LANG["FormEmail"] = "Valid email address";
$LANG["FormLoc"] = "Where you are";
$LANG["FormPic"] = "Upload your best picture";
$LANG["FormUrl"] = "Homepage";
$LANG["FormGender"] = "Gender";
$LANG["FormMale"] = "Male";
$LANG["FormFemale"] = "Female";
$LANG["FormMessage"] = "O.k. Leave your Message";
$LANG["FormSelect"] = "Guestbook";
$LANG["FormUser"] = "Username";
$LANG["FormPass"] = "Password";
$LANG["FormReset"] = "Reset";
$LANG["FormSubmit"] = "Submit";
$LANG["FormPreview"] = "Preview";
$LANG["FormBack"] = "Go Back";
$LANG["FormEnter"] = "Guestbook - Administration Centre
Before you can proceed you have to enter a valid name and password!";
$LANG["FormButton"] = "Go";
$LANG["FormPriv"] = "Private message";
# Post Errors
$LANG["ErrorPost1"] = "You forgot to fill in the Name field. Please correct it and re-submit.";
$LANG["ErrorPost2"] = "You forgot to fill in the Message field. Please correct it and re-submit.";
$LANG["ErrorPost3"] = "Your message is either too short or too long. Please correct it and re-submit.";
$LANG["ErrorPost4"] = "One of the input fields does not seem to be valid.";
$LANG["ErrorPost5"] = "Guestbook - Error";
$LANG["ErrorPost6"] = "Image file is too big";
$LANG["ErrorPost7"] = "Wrong image file type";
$LANG["ErrorPost8"] = "Sorry! We have flood-control activated. Please try again after a period of time elapses!";
$LANG["ErrorPost9"] = "Your IP adress is banned!";
$LANG["ErrorPost10"] = "Your message contains some invalid words. Please correct it and re-submit.";
$LANG["ErrorPost11"] = "You forgot to fill in the Comment field. Please correct it and re-submit.";
$LANG["PassMess1"] = "Please enter a valid username and password:";
$LANG["PassMess2"] = "Invalid username or password. Please try again.";
$LANG["PassMess3"] = "Sorry, but the password you entered was not correct.";