webuilder config xampp switch on and off?

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;
bandana
Posts: 17
Joined: Thu Jun 05, 2008 4:59 pm

webuilder config xampp switch on and off?

Post by bandana »

I have a question about the built in preview.s

When i use Webuilder with Xampp - all works fine when i want to preview a site with php. For this xampp has to be switched on.
so the site preview is shown correct internal.


But what when i have a site without php, just html and i don't want to switch on xampp for that because no interpreter is need, do i always have to change the configuration of webuilder so that i can use the preview and it works?


Because when webuilder is configured for use with webserver it doesn't work for normal html-sites when xampp is switched off
bandana
Posts: 17
Joined: Thu Jun 05, 2008 4:59 pm

Re: webuilder config xampp switch on and off?

Post by bandana »

Nobody?
User avatar
notuo
Posts: 258
Joined: Sat Jul 09, 2005 8:07 pm
Location: Tlalpan, Mexico City, Mexico

Re: webuilder config xampp switch on and off?

Post by notuo »

Hi.
When I have an html "pure" file or site, i don't need to turn on xampp.
The preview works for me fine in that cases.

If I have a php file or site I have to configure within WB and within xampp in order to see the result in the preview.

You can look at this post with my findings if you want: http://forums.blumentals.net/viewtopic.php?f=4&t=2576

Regards
bandana
Posts: 17
Joined: Thu Jun 05, 2008 4:59 pm

Re: webuilder config xampp switch on and off?

Post by bandana »

Yes, that's the thing. I don't want the xampp server alway be activated for site without php. And it's not very comfortable when you often have to switch.

Would be nice if Webuilder would provide a button to instant switch the configuration for different sites and needs.

Is that possible?
User avatar
notuo
Posts: 258
Joined: Sat Jul 09, 2005 8:07 pm
Location: Tlalpan, Mexico City, Mexico

Re: webuilder config xampp switch on and off?

Post by notuo »

Bandana

I am not following you.

I don't need to start anything but WB in order to preview html files

Regarding the button you mentioned. What is your proposal? (for the developer team). Maybe a detailed one will help to understand.

:D
bandana
Posts: 17
Joined: Thu Jun 05, 2008 4:59 pm

Re: webuilder config xampp switch on and off?

Post by bandana »

Sorry my english isn't the best, but it's exact what notuo says.

I have to different sites.

One with PHP and one just HTML.

HTML in Preview works fine. When i want to preview the PHP-site i have to set it up in the configuration, so that i can use Xampp. But i use Xampp in the way that i only start the server and sqlserver when i use it. it's not by default on when i start my windows. So when configured Webuilder and the mappings for the use with Xampp always Xampp must be activated to preview also a simple HTML-site otherwise it doesn't work.

The button should able me to fast switch the configuration configured for xampp to the configuration xampp is not used an mapped.

hope it's better to understand so.
bandana
Posts: 17
Joined: Thu Jun 05, 2008 4:59 pm

Re: webuilder config xampp switch on and off?

Post by bandana »

Any comments?
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Re: webuilder config xampp switch on and off?

Post by chrisjlocke »

What version of WeBuilder are you using?
v9 has a webserver built in, so you don't need Xampp.

What exact problems are you getting? WeBuilder should work fine displaying HTML pages. Server mappings are only used for server-side scripts, eg, ASP, PHP, etc.

By default, WeBuilder is set to use server mappings (c:\htdocs to http://localhost) and this works fine (ie, no problems if Xampp is not running)
bandana
Posts: 17
Joined: Thu Jun 05, 2008 4:59 pm

Re: webuilder config xampp switch on and off?

Post by bandana »

Yes, i know.

Version 9.0.0.96. But the Built-in-Webserver doesn't work with my sql-database in xampp.

When xampp with mapping is activated, i can't view normal html pages in the preview. when it's deactivated i can't view a php site via xampp in the preview. so i would like a button for qick switching.
User avatar
joemichaud
Posts: 39
Joined: Sat Sep 29, 2007 4:58 pm

Re: webuilder config xampp switch on and off?

Post by joemichaud »

Hmmm, you might be making this a little harder than it needs to be by switching between the two servers... Sounds like a pain in the rear-end to me. Personally, I just leave xampp and mysql running all the time and use preview mappings.

Just because WeBuilder has a built in web server doesn't mean you have to use it.
Joe Michaud
bandana
Posts: 17
Joined: Thu Jun 05, 2008 4:59 pm

Re: webuilder config xampp switch on and off?

Post by bandana »

yes, but i don't want the server to be always on. it takes ressources and i don't need it all the time and for security reasons it isn't optimal to run a webserver and mysql server you don't need.
User avatar
notuo
Posts: 258
Joined: Sat Jul 09, 2005 8:07 pm
Location: Tlalpan, Mexico City, Mexico

Re: webuilder config xampp switch on and off?

Post by notuo »

bandana

As I mentioned before. I don't need to have xampp running all the time. If I use a pure html site I can preview it directly with WB. If I need php then I have to start xampp.

In the post I mentioned is the config for all the xampp (ie php) sites. All the rest doesn't have any config at all but the project definitions in WB. (the html site is not defined inthe xampp config, nor the bindings within WB).

Hope this helps
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Re: webuilder config xampp switch on and off?

Post by chrisjlocke »

bandana wrote:i can't view normal html pages in the preview.
I need more information here. Do they not display correctly? Do they not display at all? Do you get an error?
Theoretically, you shouldn't be experiencing any issues viewing HTML pages - regardless of whether you have Xampp running or not.

Any chance of a screenshot? Sometimes this can provide more clues than words alone.
bandana
Posts: 17
Joined: Thu Jun 05, 2008 4:59 pm

Re: webuilder config xampp switch on and off?

Post by bandana »

Hi Chris,

here are two screens.

In the first screen i try to open a site without php-code.
In this second screen you see the mappings causing the error when xampp isn't started. Hope it helps?

Screen 1
Image

Screen 2
Image
User avatar
chrisjlocke
Top Contributor
Posts: 995
Joined: Mon Aug 01, 2005 4:12 pm
Location: Essex, UK
Contact:

Re: webuilder config xampp switch on and off?

Post by chrisjlocke »

Sorry to be a pain - whats in the HTML file - just the bare default? I notice yours is over 10KB.
Post Reply