Built-In Web-server refresh

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
Grandmaster B
Posts: 6
Joined: Sun Apr 17, 2011 10:35 pm

Built-In Web-server refresh

Post by Grandmaster B »

Hello,

two things about the built-in web-server. First i have a question, is the "refresh" button the only way to update the preview when previewing PHP (with the built-in web-server)?

I would like to have a hotkey, which i could not find. Or have the preview updated when i save the document via Ctrl+S.

Secondly i want to know if anybody else had a strange behavior with the built-in web-server? For me it wants to download the PHP file when i update the preview (IE preview) with the button. But when i switch to another view ("Code editor", "Horizontal Preview, "Vertical Preview") it works as expected and the refresh button then also works for a while. Its not that bad but i would be glad to get this fixed.

Best regards.
yenerich
Posts: 24
Joined: Sun Feb 20, 2011 11:58 pm

Re: Built-In Web-server refresh

Post by yenerich »

Grandmaster B wrote: Secondly i want to know if anybody else had a strange behavior with the built-in web-server? For me it wants to download the PHP file when i update the preview (IE preview) with the button. But when i switch to another view ("Code editor", "Horizontal Preview, "Vertical Preview") it works as expected and the refresh button then also works for a while. Its not that bad but i would be glad to get this fixed.

Exactly the same behavior i found a couple of times.
Becase all that problems, i decide to work in a realserver on the web and use FTP to upload the page... then i found some problems working with queries (?searc0something&other=blabla), etc.

Webuilder is very nice and helpfull (the best i found), but need some bug correction or redesign of the internal viewer to be more helpfull when coding php i guess.
Also, as i post in the wish forum, have tabs in the internal viewer when coding php could make the difference.
Grandmaster B
Posts: 6
Joined: Sun Apr 17, 2011 10:35 pm

Re: Built-In Web-server refresh

Post by Grandmaster B »

Thanks for your response. If you have the same problem, for the record, what OS do you have? Mine is Win7-x64.

I agree, its the best web-editor i found too. It would be such a dream if the internal preview of PHP pages would work flawless.

I also found that i can not preview pages i opened from FTP, is this right?

We may not expect this to be fixed soon as they seem to be busy with the 2011 version but i hope this problem will be recognized by the devs.
Grandmaster B
Posts: 6
Joined: Sun Apr 17, 2011 10:35 pm

Re: Built-In Web-server refresh

Post by Grandmaster B »

UPDATE: At work, i installed the recommended PHP package from Blumentals (http://www.blumentals.net/download/php.php).
Here preview of pages opened from FTP work... and i also did not have the "download" issue so far. Maybe it's just a misconfiguration, i'll try that at home later.
yenerich
Posts: 24
Joined: Sun Feb 20, 2011 11:58 pm

Re: Built-In Web-server refresh

Post by yenerich »

W7 32 here.

With FTP files, to preview i use the real url, but was not that friendly neither.
I dont use the local PHP for uploaded files since they use MySQL at the server.

Iknow that some issues are because IE, so i switch to mozilla for the preview. However the address bar was not very friendly since i found some problems to use with queries.
My problem with the address bar is that it does not act like an standard address bar (cloud be nice to switch to that option somehow).

Imagine this scenario:

Im coding in PHP a page that does get the referral url to do something.
Then i try to navigate to a different domain to then click a link to the page im coding to see if my php code is working fine getting the refferal... well, i found difficult to acomplish that in webuilder, because i haven found an option to be able to navigate to test some part of my php codes, etc. (What i was really testing was some friendly urls, and was difficult to test them in the internal viewer)

Its not THAT important, im happy with webuilder, but if i can make some whishes, this will be one of my first ones: the php testing and preview.
Grandmaster B
Posts: 6
Joined: Sun Apr 17, 2011 10:35 pm

Re: Built-In Web-server refresh

Post by Grandmaster B »

I see, i believe they use a ActiveX control for the preview. From what i know its rather difficult to use. But maybe there is hope...

However, to our problem mentioned above. I reinstalled WeBuilder on my laptop (erasing all settings when uninstalling). To be safe i installed to C:/WeBuilder (and the recommended PHP package in C:/PHP). In the first-start wizard i only set the path to the PHP.exe and leaved the other options untouched. Now, so far, previewing PHP files works without problems!

Can't say what did the trick tho. The "Document root folder" and the "Temporary folder" are empty now (which is ok, since they are optional). I had them set to "c:/htdocs" and i also tried "c:/htdocs/temp" for the temporary folder once.
Post Reply