Forum Reply Fail
-
- Outdoor Adventurer
- Posts: 751
- Joined: 12 April 04 11:27 pm
- Location: Brisbane
Forum Reply Fail
I have come across this problem a few times before, I dont know whats causing it but I go to do a reply and I get a PHP error.
Example as follows:
(acctually, it wont even let me copy and paste the error in here)
This is the last part of the message:
Error in posting
DEBUG MODE
INSERT INTO phpbb_posts_text (post_id, post_subject, bbcode_uid, post_text) VALUES (74512, '', 'ba2ad111a6', '....
Line : 280
File : /var/www/au_com_geocaching_forum/docroot/includes/functions_post.php
Example as follows:
(acctually, it wont even let me copy and paste the error in here)
This is the last part of the message:
Error in posting
DEBUG MODE
INSERT INTO phpbb_posts_text (post_id, post_subject, bbcode_uid, post_text) VALUES (74512, '', 'ba2ad111a6', '....
Line : 280
File : /var/www/au_com_geocaching_forum/docroot/includes/functions_post.php
- caughtatwork
- Posts: 17016
- Joined: 17 May 04 12:11 pm
- Location: Melbourne
- Contact:
-
- Outdoor Adventurer
- Posts: 751
- Joined: 12 April 04 11:27 pm
- Location: Brisbane
- caughtatwork
- Posts: 17016
- Joined: 17 May 04 12:11 pm
- Location: Melbourne
- Contact:
- setsujoku
- 3500 or more caches found
- Posts: 1422
- Joined: 28 December 04 5:46 pm
- Twitter: BGNWP
- Location: Athelstone, SA
- Contact:
nope even tried that as well.Cached wrote:paste into notepad, then cut and paste again into gca, that should cut out anything nasty.
even tried removing all the punctuation in notepad and pasting it in, but still no luck
it has a numbered list in it that was generated in outlook(which uses word for its editor) so im wondering if that might be the problem
- Chwiliwr
- 10000 or more caches found
- Posts: 900
- Joined: 10 April 05 10:39 pm
- Location: Leeming Western Australia
Its possible that the text still has something in it even with a paste into notepad.setsujoku wrote:nope even tried that as well.Cached wrote:paste into notepad, then cut and paste again into gca, that should cut out anything nasty.
even tried removing all the punctuation in notepad and pasting it in, but still no luck
it has a numbered list in it that was generated in outlook(which uses word for its editor) so im wondering if that might be the problem
Windows sometimes is smart/dumb enough to keep some things within notepad until the save so perhaps try saving the text in notepad itself and then open it up again and then copy it to wherever.
I had a similar problem at work a while ago where a special tab character was kept for some reason until I save it within notepad.
The IT people think that it was windows copying from the clipboard (the original copy) not notepad that caused it to happen.
- The Ginger Loon
- 450 or more roots tripped over
- Posts: 824
- Joined: 28 March 03 9:09 pm
- Location: Tamworth
- Contact:
Just to throw extra confusion to the issue (*sorry*), I had the same problem a week or so ago, except that the post I was trying to submit was created entirely using the GCA features.
I was trying to quote a previous poster and add another quote from scratch as well as add a hyperlink to an external site, but it kept throwing up an *error* in line 280.
I even tried copying the post out of the GCA text editor and putting it into notepad and back into the GCA editor but to no avail.
In the end I gave up completely, rebooted by PC, logged back in and tried again, without the hyperlink and added quote.
I had it happen once before too, prolly about a year or so ago.
I was trying to quote a previous poster and add another quote from scratch as well as add a hyperlink to an external site, but it kept throwing up an *error* in line 280.
I even tried copying the post out of the GCA text editor and putting it into notepad and back into the GCA editor but to no avail.
In the end I gave up completely, rebooted by PC, logged back in and tried again, without the hyperlink and added quote.
I had it happen once before too, prolly about a year or so ago.
Fair enough.riblit wrote:I have found that the so called "smart quotes" from Word persist across copy/paste operations to notepad and a multitude of other text processors. (They all use the same base control to implement the editor). I now manually replace the quotes(").
But I still don't see why we now can't do things we used to be able to do!
Can't these changes be desrever?
- riblit
- It's the journey.
- Posts: 3444
- Joined: 04 April 03 6:30 pm
- Location: Land Grant of John Campbell
There have been NO changes to the forum codebase or the underlying database. The apache webserver and the version of php it runs have been changed to later versions. This we can't do anything about as the site shares these applications with a number of other sites hosted on the same machine.Bunya wrote:Fair enough.riblit wrote:I have found that the so called "smart quotes" from Word persist across copy/paste operations to notepad and a multitude of other text processors. (They all use the same base control to implement the editor). I now manually replace the quotes(").
But I still don't see why we now can't do things we used to be able to do!
Can't these changes be desrever?
That upgrade may have caused the effect you see as checking is a lot stricter in the later code.
It is better not to pollute the database with the formatting rubbish Word puts out and use standard ascii chars with either bb or html tags for formatting.
If you must use Word you can strip its formatting by typing ctl-shift-z ( I think) after selection and before copying.
- stealth_ninja_penguin
- 1000 or more caches found
- Posts: 214
- Joined: 04 November 06 10:19 pm
- Location: Adelaide