Author |
Message |
kno
New Member


Joined: Nov 21, 2008
Posts: 5
|
Posted:
Fri Dec 19, 2008 6:09 am |
|
This is what i get when i try to send the entry Parse error: syntax error, unexpected T_PRIVATE, expecting ']' in /public_html/Gbook-piks/addtogb.php on line 26
i am able to see the index.php but i cannot add a entry to the guesbook
please help?
[Edited by Admin - Never post your full path for the public to see] |
|
|
|
 |
Guardian2003
Site Admin

Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Fri Dec 19, 2008 7:13 am |
|
Have you edited that file? Seems like a basic syntax error to me due to incorrectly editing the file. |
|
|
|
 |
kno

|
Posted:
Fri Dec 19, 2008 5:50 pm |
|
ALl i did is follow the instructions on the install.html
and uploaded to my server, ICHMOD the 2 directory files and the other 2 php files...thats all.....
another thing i noticed when i run my sysch.php the buffering is set to none on the server, do you think that mt be the problem of my issue
thanks |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Sat Dec 20, 2008 12:48 am |
|
Output buffering is required. Also, please post your addtogb.php file. Did you transfer your files using BINARY? You must ftp all files using BINARY. |
|
|
|
 |
kno

|
Posted:
Mon Dec 22, 2008 12:49 am |
|
when you say post my addtogb.php what do you mean?
meaning uploaded to my server..
ABout the transefering i did transfer all my files binary
thanks |
|
|
|
 |
Raven

|
Posted:
Mon Dec 22, 2008 8:42 am |
|
Have you tried resending the file addtogb.php to your server?
What version of KISGB are you using?
I need to see what your addtogb.php file looks like. Please post a text link where I can see it. In other words, make a copy of addtogb.php on your server and rename the copy to addtogb.txt. Then tell me the uri to your file. So, if your uri is http://www.domain.tld/, then place the addtogb.txt file in http://www.domain.tld/Gbook-piks/ so that when you access http://www.domain.tld/Gbook-piks/addtogb.txt you will see the addtogb code. |
|
|
|
 |
kno

|
Posted:
Tue Dec 23, 2008 4:34 am |
|
|
|
 |
Raven

|
Posted:
Tue Dec 23, 2008 9:38 am |
|
Have you tried resending the file addtogb.php to your server? |
|
|
|
 |
kno

|
Posted:
Tue Dec 23, 2008 11:00 pm |
|
my hosting admin turn my output buffering to 4096 now i am able to get into the admin page....
yes i have try to resend my addtogb.php 2 times...gives that same error
i also have strated from scratch twice by deleting all the files an uploading them to my server. All my CHMOD are correct.
Thank you for all your help. Am a newbeie to php . |
|
|
|
 |
|