long line. increase buffer length. (error)

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
pspence
Posts: 4
Joined: Thu Jun 19, 2008 10:02 pm

long line. increase buffer length. (error)

Post by pspence »

using RapidPHP release 9.0.0.97

When I try to use the toolbar button "Syntax check" I get 3-4 popup warning saying "long line. increase buffer length"

I dont generally have long lines in my .php code, for example here is one from a file that the error pops up on:

" $content = theme_table($headers, $rows, NULL, 'Outstanding Gold Tube Requests');"

That one clocks at 89 characters in the editor.

I am running the lastest version of PHP (as of 1 week ago), on windows XP.
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Re: long line. increase buffer length. (error)

Post by chrisjlocke »

I've put that single link in WeBuilder and it likes that - displays no errors.

What happens if you chop up the .php file in half and check again? I'm just thinking if there is an error in the .php file which is actually breaking the check (eg, a rogue " somewhere)

Is it a fairly long complicated .php file?
pspence
Posts: 4
Joined: Thu Jun 19, 2008 10:02 pm

Re: long line. increase buffer length. (error)

Post by pspence »

chrisjlocke wrote:I've put that single link in WeBuilder and it likes that - displays no errors.

What happens if you chop up the .php file in half and check again? I'm just thinking if there is an error in the .php file which is actually breaking the check (eg, a rogue " somewhere)

Is it a fairly long complicated .php file?
its a 35ish line file, really short. Cutting it in half doesnt help.

In fact, I can create a new document, delete all the lines in it and then run a syntax check and still get the "long line." error.
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Re: long line. increase buffer length. (error)

Post by chrisjlocke »

Create a new document and delete all the lines in it?! Thats impressive! ;)

Sounds like something has got corrupt if its failing a check on a blank document. I think its best you tried to reinstall RapidPHP. (This should retain your settings, etc)
pspence
Posts: 4
Joined: Thu Jun 19, 2008 10:02 pm

Re: long line. increase buffer length. (error)

Post by pspence »

chrisjlocke wrote:Create a new document and delete all the lines in it?! Thats impressive! ;)

Sounds like something has got corrupt if its failing a check on a blank document. I think its best you tried to reinstall RapidPHP. (This should retain your settings, etc)
It was doing it on the previous version I had installed (I think 1 or 2 micro revisions prior), and I installed .97 to see if it would fix the problem... so I have already re-installed prior to posting about this.
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Re: long line. increase buffer length. (error)

Post by chrisjlocke »

Aah. Was that an install of .97 just over the top? Might be worth seeing if a full uninstall and deletion of the program directory would help?

This error hasn't been reported many times and even a Google of that error doesn't throw up much, so it kind of suggests its not an underlying bug in RapidPHP ... if you see what I mean.

Does it do it on *every* .php file you use? (you mentioned it did it on an empty file?)
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: long line. increase buffer length. (error)

Post by Karlis »

This has nothing to do with your code lines, it is because of PHP console output on few computers. We will try to resolve this in the next updates.
Karlis Blumentals
Blumentals Software
www.blumentals.net
pspence
Posts: 4
Joined: Thu Jun 19, 2008 10:02 pm

Re: long line. increase buffer length. (error)

Post by pspence »

chrisjlocke wrote:Aah. Was that an install of .97 just over the top? Might be worth seeing if a full uninstall and deletion of the program directory would help?

This error hasn't been reported many times and even a Google of that error doesn't throw up much, so it kind of suggests its not an underlying bug in RapidPHP ... if you see what I mean.

Does it do it on *every* .php file you use? (you mentioned it did it on an empty file?)
yes, every file.
Karlis wrote:This has nothing to do with your code lines, it is because of PHP console output on few computers. We will try to resolve this in the next updates.
Great, if there is anything I need to do to help nail it, let me know.
Post Reply