XAMPP for Windows 1.4.16, October 05th 2005

Problems with the Windows version of XAMPP, questions, comments, and anything related.

XAMPP for Windows 1.4.16, October 05th 2005

Postby keisko » 08. October 2005 07:09

XAMPP for Windows 1.4.16, October 05th 2005

ZIP [MD5] 68 MB ZIP archive

That file must be 68 mb, so it's only 42996 kb and corrupted archive.

! C:\Documents and Settings\Administrator\Desktop\xampp-win32-1.4.16.zip: The archive is either in unknown format or damaged

I've downloaded it 5 times from different servers..
keisko
 
Posts: 44
Joined: 31. January 2005 18:44

Postby wizazz » 08. October 2005 13:33

:D I'm glad im not the only one... now i know its corrupt... i beat ya to the post by few hours... :wink: http://community.apachefriends.org/f/viewtopi ... d85c1c386d 8)

Now i hope they fix it so i can reinstall
wizazz
 
Posts: 12
Joined: 08. October 2005 00:48

Postby Wiedmann » 08. October 2005 13:43

As i post i the german forum:
At the moment you can use the 7ZIP file. (and this is the smallest download :-)
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Bug: http://localhost/security

Postby hap0 » 08. October 2005 22:06

Steps to reproduce:

1. Download and unpack 7zip archive for XAMPP Windows 1.4.16
2. Run setup_xampp.bat
3. Verify apache and mysql are running.
4. Goto URL: http://localhost/security
5. Encounter followinger error:

Warning: Cannot modify header information - headers already sent by (output started at C:\aWampp\security\htdocs\index.php:6) in C:\aWampp\security\htdocs\index.php on line 9
hap0
 
Posts: 8
Joined: 08. October 2005 04:39

Postby Wiedmann » 08. October 2005 22:46

\xampp\security\htdocs\index.php
Code: Select all
<?
   if(file_get_contents("lang.tmp")=="")
   {
      header("Location: splash.php");   
      exit();
   }

   include("lang/".file_get_contents("lang.tmp").".php");
?>
<html>
<head>
<link REL="icon" HREF="img/xampp.ico">
<meta name="author" content="Kai Oswald Seidler, Kay Vogelgesang">
<title><?=$TEXT['global-xampp']?> | Security Section</title>

<frameset rows="68,*" marginwidth="0" marginheight="0" frameborder="0" border="0" borderwidth="0">
    <frame name="head" src="head.php" scrolling=no>
<frameset cols="170,*" marginwidth="0" marginheight="0" frameborder="0" border="0" borderwidth="0">
    <frame name="navi" src="navi.php" scrolling=auto>
    <frame name="content" src="security.php" marginwidth=20>
</frameset>
</frameset>
</head>
<body bgcolor=#ffffff>
</body>
</html>

Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby hap0 » 09. October 2005 03:47

Wiedmann wrote:\xampp\security\htdocs\index.php
Code: Select all
<?
   if(file_get_contents("lang.tmp")=="")
   {
      header("Location: splash.php");   
      exit();
   }

   include("lang/".file_get_contents("lang.tmp").".php");
?>
<html>
<head>
<link REL="icon" HREF="img/xampp.ico">
<meta name="author" content="Kai Oswald Seidler, Kay Vogelgesang">
<title><?=$TEXT['global-xampp']?> | Security Section</title>

<frameset rows="68,*" marginwidth="0" marginheight="0" frameborder="0" border="0" borderwidth="0">
    <frame name="head" src="head.php" scrolling=no>
<frameset cols="170,*" marginwidth="0" marginheight="0" frameborder="0" border="0" borderwidth="0">
    <frame name="navi" src="navi.php" scrolling=auto>
    <frame name="content" src="security.php" marginwidth=20>
</frameset>
</frameset>
</head>
<body bgcolor=#ffffff>
</body>
</html>



That worked thank you very much!!!
hap0
 
Posts: 8
Joined: 08. October 2005 04:39

http.conf: problems with "server side includes"

Postby hap0 » 09. October 2005 16:47

I added index.shtml to the list of choices for index files, and uncommented the following lines:

AddType text/html .shtml
AddOutputFilter INCLUDES .shtml

But they still don't seem to work as seen by viewing the source in my browser and noting the directives are still there:

Code: Select all
<html>
...
<!--#include virtual="/inc/banner.html" -->

<!-- InstanceBeginEditable name="heading" -->
<img src="/images/welcome_text.gif" alt="Welcome" width="391" height="21" />
<!-- InstanceEndEditable -->
<!--#include virtual="/inc/leftnav.html" -->
...
hap0
 
Posts: 8
Joined: 08. October 2005 04:39

Re: http.conf: problems with "server side includes"

Postby hap0 » 13. October 2005 02:58

hap0 wrote:I added index.shtml to the list of choices for index files, and uncommented the following lines:

AddType text/html .shtml
AddOutputFilter INCLUDES .shtml

But they still don't seem to work as seen by viewing the source in my browser and noting the directives are still there:

Code: Select all
<html>
...
<!--#include virtual="/inc/banner.html" -->

<!-- InstanceBeginEditable name="heading" -->
<img src="/images/welcome_text.gif" alt="Welcome" width="391" height="21" />
<!-- InstanceEndEditable -->
<!--#include virtual="/inc/leftnav.html" -->
...


I've trying a couple things, but I still can't figure out what the issue is... Any help would be greatly appreciated...
hap0
 
Posts: 8
Joined: 08. October 2005 04:39

Postby Wiedmann » 13. October 2005 03:07

I added index.shtml to the list of choices for index files, and uncommented the following lines:

AddType text/html .shtml
AddOutputFilter INCLUDES .shtml

I don't know what you are doing. Because these things are allready done in XAMPP and SSI is working by default (you can see this in the status)?
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby hap0 » 13. October 2005 06:57

Wiedmann wrote:
I added index.shtml to the list of choices for index files, and uncommented the following lines:

AddType text/html .shtml
AddOutputFilter INCLUDES .shtml

I don't know what you are doing. Because these things are allready done in XAMPP and SSI is working by default (you can see this in the status)?


I realize that it is *supposed* to work by default. Here are the exact steps that I took before I encountered the problem:

01. Download and unpack 7zip archive for XAMPP Windows 1.4.16
02. Run setup_xampp.bat
03. start xampp-control
04. start apache && mysql
05. applied fix to xampp/security/htdocs/index.php
06. Opened URL http://localhost/security in browser
07. assign password for mysql && xampp directory
08. set "safe mode" to "On" in apache/bin/php.ini
09. restart apache
10. Goto http://localhost/xampp/ and check status:

MySQL database DEACTIVATED
PHP DEACTIVATED
HTTPS (SSL) ACTIVATED
Common Gateway Interface (CGI) ACTIVATED
Server Side Includes (SSI) DEACTIVATED
SMTP Service DEACTIVATED
FTP Service DEACTIVATED

11. A screenshot of phpmyadmin running should prove that mysql is running contrary to the what the status says:
Image

However, Server Side Includes are not being parsed. Which by the way I should not that index.shtml is not included in the list of files to load by default. In addition these lines:

#AddType text/html .shtml
#AddOutputFilter INCLUDES .shtml

are commented out by default, but I also found another instance of those lines uncommented this time, so apparently that had me confused the first time. I guess I have no idea what the problem is but there seems to be one or two somewhere.

Cheers.

Sorry I wasn't very clear about that to begin with.

Cheers.
hap0
 
Posts: 8
Joined: 08. October 2005 04:39

Postby Wiedmann » 13. October 2005 12:36

08. set "safe mode" to "On" in apache/bin/php.ini

With 'safe_mode = "On"' the status (and other parts of the XAMPP demos) is not working :-/
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby John Marshall » 14. October 2005 16:56

Requires TRANSLATION for others with same problem
Could someone translate this if useful.

SHTML NOW WORKS FOR MY INSTALLATION :D
===================================
===================================

I was having the same problem but I haven't any real experience with Apache at all however how difficult could this be:

Open:

httpd.conf

Uncommented:

LoadModule expires_module modules/mod_expires.so


Added:

XBitHack full #this has no affect in windows xp environment
Options Indexes FollowSymLinks ExecCGI Includes
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml .html


Then I thought what is the extension .shtml = a mime type !

There is a file called mime.types in the same folder as htppd.conf

Add: shtml to the line

text/html html htm


Now reads:
text/html html htm shtml


One of these items allows SSI to work on my Windows XP Apache Server.

Please could someone with Apache experience check my solution and tell us what bit did it - I have a thought that AddType text/html .shtml in the httpd.conf file doesnt work in Windows - Addtype is supposed to write or append the mime type to the mime file or as a variable that Apache can use - this isnt happening so if you edit mimes.types and add the word shtml it might be that.

As I said please could an expert please check this out - small bug.

John Marshall - Driving people nuts because he can
john@marshall-design.com[/quote]
John Marshall
 
Posts: 1
Joined: 13. October 2005 19:32
Location: Guildford Surrey UK

Postby hap0 » 15. October 2005 01:27

John Marshall wrote:SHTML NOW WORKS FOR MY INSTALLATION :D
===================================
===================================

I was having the same problem but I haven't any real experience with Apache at all however how difficult could this be:

Open:

httpd.conf

Uncommented:

LoadModule expires_module modules/mod_expires.so


Added:

XBitHack full #this has no affect in windows xp environment
Options Indexes FollowSymLinks ExecCGI Includes
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml .html


Then I thought what is the extension .shtml = a mime type !

There is a file called mime.types in the same folder as htppd.conf

Add: shtml to the line

text/html html htm


Now reads:
text/html html htm shtml


One of these items allows SSI to work on my Windows XP Apache Server.

Please could someone with Apache experience check my solution and tell us what bit did it - I have a thought that AddType text/html .shtml in the httpd.conf file doesnt work in Windows - Addtype is supposed to write or append the mime type to the mime file or as a variable that Apache can use - this isnt happening so if you edit mimes.types and add the word shtml it might be that.

As I said please could an expert please check this out - small bug.

John Marshall - Driving people nuts because he can
john@marshall-design.com
[/quote]

Nice work John! I'll be eagerly testing this over the weekend. If I figure out where the point of failure is I will post it here too.

Cheers!
hap0
 
Posts: 8
Joined: 08. October 2005 04:39

Here's a temporary recipe for fixing this...

Postby hap0 » 15. October 2005 05:32

01. Download and unpack 7zip archive for XAMPP Windows 1.4.16
02. Run setup_xampp.bat
03. Start xampp-control
04. Start apache && mysql
05. Apply fix to xampp/security/htdocs/index.php
06. Open URL http://localhost/security in browser
07. Assign password for mysql && xampp directory
08. Set "safe mode" to "On" in apache/bin/php.ini
09. Edit http.conf
10. Add index.shtml to list for DirectoryIndex
11. Save http.conf && Restart apache

That's it I guess. This time it worked. Whoohoo! :)
hap0
 
Posts: 8
Joined: 08. October 2005 04:39

Now Tomcat fails loading the manager page...

Postby hap0 » 24. October 2005 05:07

hap0 wrote:01. Download and unpack 7zip archive for XAMPP Windows 1.4.16
02. Run setup_xampp.bat
03. Start xampp-control
04. Start apache && mysql
05. Apply fix to xampp/security/htdocs/index.php
06. Open URL http://localhost/security in browser
07. Assign password for mysql && xampp directory
08. Set "safe mode" to "On" in apache/bin/php.ini
09. Edit http.conf
10. Add index.shtml to list for DirectoryIndex
11. Save http.conf && Restart apache


12. Download and upack Tomcat addon to xampp directory according to the following instructions:
###################################################################

EMGLISH: Simply extract this add-on in your current XAMPP-Directory.
All older files are overwritten. IMPORTANT: Then starts the "setup_xampp.bat"
to configure XAMPP with Java. After that, try the "tomcat_start.bat".
For stopping the Tomcat Server by hand please use the "tomcat_stop.bat".

As Service (NT): Please use the .\xampp\tomcat\tomcat_installservice.bat.
For uninstall this service => .\xampp\tomcat\tomcat_uninstallservice.bat.
Attentention: For Tomcat as service the start mode is "manuell" per default.
Please select your prefered start mode in your system "service" manager.

###################################################################


Tomcat Server Home = .\xampp\tomcat
Tomcat URL = http://localhost:8080
Tomcat Doc Root = .\xampp\tomcat\webapps


13. Next click on link for manager and login with username 'xampp', and password 'xampp' and you should encounter the following error:

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

javax.servlet.ServletException: Error allocating a servlet instance
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Unknown Source)

root cause

java.lang.NoClassDefFoundError: org/apache/catalina/Deployer
org.apache.catalina.manager.ManagerServlet.setWrapper(ManagerServlet.java:259)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
java.lang.Thread.run(Unknown Source)


Also note here is the last error reported in tomcat\logs\stdout.log:



Oct 23, 2005 8:46:27 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Allocate exception for servlet HTMLManager
java.lang.NoClassDefFoundError: org/apache/catalina/Deployer
at org.apache.catalina.manager.ManagerServlet.setWrapper(ManagerServlet.java:259)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1073)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:750)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:130)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)
hap0
 
Posts: 8
Joined: 08. October 2005 04:39


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 84 guests