[RapidPHP 10.0.0.114] Hangs while opening .js files

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
User avatar
ringoffire
Posts: 26
Joined: Mon Feb 05, 2007 1:24 pm
Location: Istanbul
Contact:

[RapidPHP 10.0.0.114] Hangs while opening .js files

Post by ringoffire »

Hi,

I don't know if I'm the only one who's having problems while opening .js files with RapidPHP (v...114) :(

Problem is:
When I try to open a js file (approx. 40-50KB) RapidPHP hangs and the only way to stop is through Task Manager -but it can not fully close it, a black window stays..

Another remark (maybe same cause):
I remarked that (at least since v2008) when I insert a link from menu: "Script>Insert Script..." it takes a considerable delay to open the dialog. It seems it does a lot of calculation behind for just to open this feature...

UPDATE!
After some tests I see that the problem can be repeated only with .js files which has long lines of code. Other js files with multiple lines instead of long lines work fine. It may be that RapidPHP cannot -by nature- treat long lines of code. So it may be possible that this is not specific to js files but other file types can also have similar effect causing application hang... (see: Opening XML File Hangs WeBuilder 2010 Beta)

Anyway, the second point is still there: considerable delay when script dialog is tried to be opened...
User avatar
Karlis
Site Admin
Posts: 3605
Joined: Mon Jul 15, 2002 5:24 pm
Location: Riga, Latvia, Europe
Contact:

Re: [RapidPHP 10.0.0.114] Hangs while opening .js files

Post by Karlis »

ringoffire wrote: Another remark (maybe same cause):
I remarked that (at least since v2008) when I insert a link from menu: "Script>Insert Script..." it takes a considerable delay to open the dialog. It seems it does a lot of calculation behind for just to open this feature...
Does not happen for me. Did this start in version 2008 or in 2010?

p.s. We will try to find a solution for the long line problem too, I just can not promise anything at this point.
Karlis Blumentals
Blumentals Software
www.blumentals.net
Gatis
Blumentals Software Developer
Posts: 545
Joined: Sun Mar 05, 2006 12:30 am
Location: Latvia

Re: [RapidPHP 10.0.0.114] Hangs while opening .js files

Post by Gatis »

Hi, can you send an example of the file you have problems with?
Please contact us through our support form.
Thanks!
Kind regards,
Gatis Avots
User avatar
ringoffire
Posts: 26
Joined: Mon Feb 05, 2007 1:24 pm
Location: Istanbul
Contact:

Re: [RapidPHP 10.0.0.114] Hangs while opening .js files

Post by ringoffire »

The support form does not permit uploading a file for testing so I'm using the forums.

Here is a sample js file: Click to Open
User avatar
syrupcore
Top Contributor
Posts: 917
Joined: Thu Jul 21, 2005 12:58 am
Location: Portland, Oregon, usa
Contact:

Re: [RapidPHP 10.0.0.114] Hangs while opening .js files

Post by syrupcore »

I've definitely had webuilder choke hard on the compressed versions of some library files (like jquery). Not sure if it was the (dean edwards) packed version or the jsMined version. it can take a while but it eventually opens for me. that's a lot of regex to run for syntax highlighting!
Post Reply