This question about This website, Authentication or Authorisation, Topic Markup Language and applications: Asked

Apache error after crate a new page with text picture and pdf-file

-- JennyKolla - 20 Feb 2014

I have a problem with the apache from xampp.

Yesterday I have installed the foswiki and loged me as AdminUser in and

I experied with the foswiki editor and created a new page and wrote a text, linked a pdf- file and uploaded a picture.

At the end of the day I closed the browser and stopped the apache and than I got an error. This error exists today, too.

"Error: Apache shutdown unexpectedly. This may be due to a blocked port, missing dependencies, improper privileges, a crash,

or a shutdown by another method. Press the Logs button to view error logs and check the Windows Event Viewer for more clues

If you need more help, copy and post this entire log window on the forums"

The last errors in the log file:

"[Wed Feb 19 14:09:59.799016 2014] [cgi:error] [pid 3808:tid 1608] [client ::1:54761] AH01215: [Wed Feb 19 14:09:51 2014] view:

Use of uninitialized value $hID in hash element at C:/xampp/htdocs/foswiki/lib/Foswiki/Users/HtPasswdUser.pm line 341, <$IN_FILE> chunk 1.,

referer: http://localhost/foswiki/System/TextFormattingRules [Wed Feb 19 14:09:59.799016 2014] [cgi:error] [pid 3808:tid 1608] [client ::1:54761] AH01215:

[Wed Feb 19 14:09:51 2014] view: Use of uninitialized value $hID in hash element at C:/xampp/htdocs/foswiki/lib/Foswiki/Users/HtPasswdUser.pm line 342,

<$IN_FILE> chunk 1., referer: http://localhost/foswiki/System/TextFormattingRules [Wed Feb 19 14:09:59.799016 2014] [cgi:error] [pid 3808:tid 1608]

[client ::1:54761] AH01215: [Wed Feb 19 14:09:51 2014] view: Use of uninitialized value $hID in hash element at

C:/xampp/htdocs/foswiki/lib/Foswiki/Users/HtPasswdUser.pm line 343, <$IN_FILE> chunk 1., referer: http://localhost/foswiki/System/TextFormattingRules "

Do you know something about this error and how could I reset this error?

(Sorry my english isn't very good)

I found the error. I started the apache withe the cmd than i saw the error is at the line 17. The php5 file cannot found. I don't know why. But I copied the php5 file from the perl folder into the wished folder and than apache started without errors.

-- JennyKolla - 20 Feb 2014

My best guess is that the errors you are seeing in C:/xampp/htdocs/foswiki/lib/Foswiki/Users/HtPasswdUser.pm are resulting from a corrupt password file - probably a blank line. There should be no blank lines in the password file.

I don't know what you are trying to say about "the php5 file". Foswiki doesn't use PHP.

-- CrawfordCurrie - 20 Feb 2014

The PHP5 error is really strange. The only thing I can think of is it might be related to your apache configuration. If you used the ApacheConfigGenerator to build your Apache configuration, it has an option to disable execution of PHP, to protect your server from users who might try to attach/upload php files using Foswiki. It adds the following to your Apache configuration:

    # Disable execution of PHP scripts
    php_admin_flag engine off

If your server does NOT have PHP installed, then these statement can cause apache to fail to start due to a syntax error.

That's the only connection to PHP that I've come across related to Foswiki.

-- GeorgeClark - 20 Feb 2014
 

QuestionForm edit

Subject This website, Authentication or Authorisation, Topic Markup Language and applications
Extension
Version Foswiki 1.1.9
Status Asked
Related Topics
Topic revision: r3 - 20 Feb 2014, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy