Internal Server Error: Invalid command 'ess.swp'?
Posted by: barcode27899 (---.shopcandelabra.com)
Date: August 05, 2015 10:36PM

Windows 7 (32 bit)
WampServer Ver. 2.5 (32 bit)
Apache 2.4.9
PHP 5.5.12
MySQL 5.6.17
WampServer icon: Green

Hi,

I am getting non-ending internal server errors trying to setup my live Magento Site on Wampserver. Every time I fix one I get another one and another. The internal server errors are never ending. So with that background here is my latest apache log error:

[Wed Aug 05 15:57:12.977616 2015] [core:alert] [pid 5960:tid 776] [client 127.0.0.1:49913] C:/wamp/www/shopcandelabra/.htaccess: Invalid command 'ess.swp', perhaps misspelled or defined by a module not included in the server configuration, referer: [localhost]

What is Invalid command 'ess.swp'??? And here are errors from php log:

[05-Aug-2015 19:56:38 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_intl.dll' - The specified module could not be found. in Unknown on line 0

[05-Aug-2015 19:56:38 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.5.12/ext/php_ldap.dll' - The specified module could not be found. in Unknown on line 0

Thank you for any help here.



Edited 2 time(s). Last edit at 08/05/2015 10:47PM by barcode27899.

Options: ReplyQuote
Re: Internal Server Error: Invalid command 'ess.swp'?
Posted by: RiggsFolly (---.as43234.net)
Date: August 06, 2015 10:01AM

Hello,

To fix the 2 errors in the php error log do this

left click wampmanager->Apache->Version->2.4.9 ( click on the 2.4.9)

This will reload the relevant SYMLINKS in Apache\bin



The errors in the .htaccess file ( which belongs to Magento and not WAMPServer) sound like yuo may have missed one or more of the Magento pre-requisites see [magento.com] for help with that.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Internal Server Error: Invalid command 'ess.swp'?
Posted by: barcode27899 (---.shopcandelabra.com)
Date: August 06, 2015 03:29PM

RiggsFolly,

Well, you fixed those php errors. Thanks! Now, on to investigating these Magento pre-requisites you metioned. Thanks for helping me move a few steps closer to solving my Internal Server Errors.



Edited 2 time(s). Last edit at 08/06/2015 03:31PM by barcode27899.

Options: ReplyQuote
Re: Internal Server Error: Invalid command 'ess.swp'?
Posted by: barcode27899 (---.shopcandelabra.com)
Date: August 06, 2015 08:21PM

Update! If I comment out the Apache Error previously mentioned I still get this?

[Thu Aug 06 13:58:48.960097 2015] [mpm_winnt:notice] [pid 4568:tid 376] AH00422: Parent: Received shutdown signal -- Shutting down the server.

[Thu Aug 06 13:58:51.111220 2015] [mpm_winnt:notice] [pid 7960:tid 308] AH00364: Child: All worker threads have exited.

[Thu Aug 06 13:58:52.843319 2015] [mpm_winnt:notice] [pid 4568:tid 376] AH00430: Parent: Child process 7960 exited successfully.

[Thu Aug 06 13:58:58.362635 2015] [mpm_winnt:notice] [pid 392:tid 376] AH00455: Apache/2.4.9 (Win32) PHP/5.5.12 configured -- resuming normal operations

[Thu Aug 06 13:58:58.362635 2015] [mpm_winnt:notice] [pid 392:tid 376] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:13:13

[Thu Aug 06 13:58:58.362635 2015] [core:notice] [pid 392:tid 376] AH00094: Command line: 'c:\wamp\bin\apache\apache2.4.9\bin\httpd.exe -d C:/wamp/bin/apache/apache2.4.9'

[Thu Aug 06 13:58:58.369636 2015] [mpm_winnt:notice] [pid 392:tid 376] AH00418: Parent: Created child process 1480

[Thu Aug 06 13:58:58.896666 2015] [mpm_winnt:notice] [pid 1480:tid 308] AH00354: Child: Starting 64 worker threads.

Options: ReplyQuote
Re: Internal Server Error: Invalid command 'ess.swp'?
Posted by: Otomatic (Moderator)
Date: August 06, 2015 09:03PM

Hi,

Check rewrite_module in Wampmanager Icon->Apache->Apache Modules

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Internal Server Error: Invalid command 'ess.swp'?
Posted by: barcode27899 (---.shopcandelabra.com)
Date: August 06, 2015 09:05PM

Otomatic,

Yes, rewrite_module was already on. Any other ideas, pointers or suggestions? I have posted everywhere onoine trying to get this solved. Thank you for any additional help!

Options: ReplyQuote
Re: Internal Server Error: Invalid command 'ess.swp'?
Posted by: Otomatic (Moderator)
Date: August 06, 2015 09:46PM

Hi,

In your first post you mention an error:

[Wed Aug 05 15:57:12.977616 2015] [core:alert] [pid 5960:tid 776] [client 127.0.0.1:49913] C:/wamp/www/shopcandelabra/.htaccess: Invalid command 'ess.swp', perhaps misspelled or defined by a module not included in the server configuration, referer: [localhost]

As I can see in these error, the referer is (http://localhost/). This undoubtedly shows that you do not use the VirtualHost and this is IMHO, the source of your problems.
Indeed, the referer should be (http://shopcandelabra/) or the name you have given to your site.

With referer "localhost", the value of DocumentRoot is always C:\wamp\www\ while it should be: C:\wamp\www\shopcandelabra\ ie the correct path or file is not found.

Use VirtualHost, as RiggsFolly explains in WAMPServer 2.5 The Homepage, Your Projects Menu and the need for Virtual Hosts

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Internal Server Error: Invalid command 'ess.swp'?
Posted by: barcode27899 (---.shopcandelabra.com)
Date: August 06, 2015 10:36PM

Otomatic,

Thank you but VirtualHost is setup. In fact, I have many sites already running on Wampserver with no issues but that is not the case with this one. This problem I believe is directly related to my .htaccess file which I'll have to inspect though I don't know exactly what I'm looking for.



Edited 3 time(s). Last edit at 08/06/2015 10:38PM by barcode27899.

Options: ReplyQuote
Re: Internal Server Error: Invalid command 'ess.swp'?
Posted by: Otomatic (Moderator)
Date: August 07, 2015 11:10AM

Hi,

Could you post here a few lines before and after "ess.swp" of the .htaccess file that generate error: /.htaccess: Invalid command 'ess.swp'

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Internal Server Error: Invalid command 'ess.swp'?
Posted by: barcode27899 (---.shopcandelabra.com)
Date: August 07, 2015 07:01PM

Otomatic,

Sure. Here you go. What actions do you think I need to take? Thank you for you any help.

############################################
## enable resulting html compression
ess.swp
#php_flag zlib.output_compression on
###########################################

Options: ReplyQuote
Re: Internal Server Error: Invalid command 'ess.swp'?
Posted by: barcode27899 (---.shopcandelabra.com)
Date: August 07, 2015 08:35PM

Almost there perhaps. I commented out ess.swp in my .htaccess file including all Apache Errors that followed (eg. ExpiresActive, ExpiresByType). Now I am finally not getting a "500 Internal Server Error" but instead a Magento Error Page that says the below. I will continue working on this and report back accordingly.


There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: 1675670848

Options: ReplyQuote
Re: Internal Server Error: Invalid command 'ess.swp'?
Posted by: Otomatic (Moderator)
Date: August 08, 2015 09:35AM

Hi,

You need to see with Magento support what are exactly extensions needed with PHP and modules needed with Apache.
A priori, it lacks one or more Apache modules as well as the initiation and adjustment of the compression zlib module.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.