*** Post 1.7.4 Issues In Here ***

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

Re: *** Post 1.7.4 Issues In Here ***

Postby Sharley » 16. February 2011 23:47

tyntyn85 wrote:But does anyone has a copy of xampp_shell.bat?
Copy over the one in the 1.7.3 version if you still have it or download the zipped version of 1.7.3 and then extract the bat file to your 1.7.4 installation xampp folder:
http://sourceforge.net/projects/xampp/files/XAMPP Windows/

The zipped 1.7.3 version can also come in handy if you feel there are other items worth experimentally copying over to 1.7.4 - some will work but others like the XAMPP Control Panel won't.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: *** Post 1.7.4 Issues In Here ***

Postby tyntyn85 » 17. February 2011 07:55

Thanks! :)
User avatar
tyntyn85
 
Posts: 11
Joined: 27. January 2011 09:47
XAMPP version: Various
Operating System: Windows 10 Pro x64

Re: *** Post 1.7.4 Issues In Here ***

Postby bytetracer » 21. February 2011 20:29

The worst xampp release I ever tried... First, you can force it to work well on Win7 x64, altough readme_en.txt says it will not run on x64 systems. I tried it on XP (32 bit) and 7 (64 bit). There was a number of problems on both OS's. Furthermore, you need to manually edit php.ini and httpd.conf to make some things to work. PEAR was most important to me. After I finally solved the issue with PEAR, i realized it was an older version not fully compatible with new version of PHP included with 1.7.4. Then I spent hours to update PEAR and solve other compatibility issues...
I think this release was not tested right. I spent too much time to make it work as I need it to work. Could not even remember what and where I was doing. That sucks!
That much trouble is not something I am used to - that's the reason I am using XAMPP as development and deployment platform after all.
So, I downgraded to 1.7.3 and manually updated components I need - step easy enough to remember and reproduce on every server I maintain...
I don't really know how this release earned the 'stable' status - it's everything but stable.

Oh, well, seems I am going to wait on 1.7.5 or whatever....
bytetracer
 
Posts: 1
Joined: 21. February 2011 20:03

Send Mail Configuration

Postby jemcdaniel » 01. March 2011 21:28

I tried downloading the recommended new sendmail, but it promptly crashed when and email was sent so I've gone back to the sendmail files that came with the self-install version of XAMPP 1.7.4 which I'm running on a WindowsXP machine.

General question:
sendmail.ini says it is a fake email program. So what does that mean? Does it in fact send a real email anywhere or does it just go through the motions so your web site thinks it sent an email? If it is a "fake" email service then why are so man people trying to set it up to send real email?

I assumed from the many questions people have asked while trying to get it to work that I can actually send a real email with content from my test web site running under xampp through my remote mail host to a real recipient, (like me). After 6 hours or so I can't get it to work.
My ISP smtp mail uses port 26 and is located at mail.thehiddenmanna.org. I use Thunderbird to access mail sent to me through that host with no problem.


My php.ini looks like this:
Code: Select all
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
smtp_port = 25

; For Win32 only.
; http://php.net/sendmail-from
;sendmail_from = me@example.com

; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"


My sendmail.ini looks like this:
Code: Select all
; you must change mail.mydomain.com to your smtp server,
; or to IIS's "pickup" directory.  (generally C:\Inetpub\mailroot\Pickup)
; emails delivered via IIS's pickup directory cause sendmail to
; run quicker, but you won't get error messages back to the calling
; application.
smtp_server=mail.thehiddenmanna.org
; smtp port (normally 25)
smtp_port=26
; the default domain for this server will be read from the registry
; this will be appended to email addresses when one isn't provided
; if you want to override the value in the registry, uncomment and modify
default_domain=thehiddenmanna.org
; log smtp errors to error.log (defaults to same directory as sendmail.exe)
; uncomment to enable logging
;error_logfile=error.log
; create debug log as debug.log (defaults to same directory as sendmail.exe)
; uncomment to enable debugging
;debug_logfile=debug.log
; if your smtp server requires authentication, modify the following two lines
auth_username=jim+thehiddenmanna.org
auth_password=myrealpassword
; if your smtp server uses pop3 before smtp authentication, modify the
; following three lines
;pop3_server=
;pop3_username=
;pop3_password=
; to force the sender to always be the following email address, uncomment and
; populate with a valid email address.  this will only affect the "MAIL FROM"
; command, it won't modify the "From: " header of the message content
;force_sender=me@localhost
; sendmail will use your hostname and your default_domain in the ehlo/helo
; smtp greeting.  you can manually set the ehlo/helo name if required
;hostname=localhost


I tried to use bbcodes to colorize the text to make it easier to read, but they didn't work, just showed up as literals in the preview.

Any help will be appreciated. Thanks.
jemcdaniel
 
Posts: 2
Joined: 01. March 2011 19:59

Re: *** Post 1.7.4 Issues In Here ***

Postby WilliL » 01. March 2011 21:54

have a look here: http://community.apachefriends.org/f/viewtopic.php?f=16&t=34510&p=173863&hilit=sendmail#p173863
I recomand you to activate error_logfile and debug_logfile (remove ';')
Willi
WilliL
 
Posts: 660
Joined: 08. January 2010 10:54
Operating System: Win7Home Prem 64 SP1

Sendmail configuration

Postby jemcdaniel » 02. March 2011 21:35

I enabled the debug and error logs. The error log doesn't indicate a problem. The debug log indicates that sendmail connected to my smtp service and was authenticated. But at the very end I always see this:
Code: Select all
11-03-02 13:11:14 >> Subject: testmail<EOL>
11-03-02 13:11:14 >> <EOL>
11-03-02 13:11:14 >> This is a testmail.<EOL>
11-03-02 13:11:14 >> .<EOL>
11-03-02 13:11:15 << 550 Administrative prohibition<EOL>
11-03-02 13:11:15 ** Disconnecting from mail.thehiddenmanna.org:26
11-03-02 13:11:15 ** Disconnected.
11-03-02 13:11:15 ** Disconnected.
11-03-02 13:11:15 ** Administrative prohibition<EOL>


And no email ever shows up at the destination. Thoughts anyone??
jemcdaniel
 
Posts: 2
Joined: 01. March 2011 19:59

Re: *** Post 1.7.4 Issues In Here ***

Postby WilliL » 02. March 2011 22:52

did you change your sendmail.ini?
If not you didn't read the suggested link else post your sendmail.ini
Willi
WilliL
 
Posts: 660
Joined: 08. January 2010 10:54
Operating System: Win7Home Prem 64 SP1

Re: *** Post 1.7.4 Issues In Here ***

Postby Sharley » 03. March 2011 00:51

Sendmail is a Linux email client but for Windows it was given the name Fake Sendmail by it's developer and in no way means that it does anything other than emulate the Linux Sendmail version.
sendmail readme.html wrote:fake sendmail for bugzilla/windows

http://glob.com.au/sendmail
sendmail[at]glob.com.au

about

sendmail.exe is a simple windows console application that emulates sendmail's
"-t" option to deliver emails piped via stdin.

it is intended to ease running unix code that has /usr/lib/sendmail hard coded
as an email delivery means.

it doesn't support deferred delivery, and requires an smtp server to perform
the actual delivery of the messages.

jemcdaniel wrote:I tried to use bbcodes to colorize the text to make it easier to read, but they didn't work, just showed up as literals in the preview.
You can't use bbcode in the forum code tags but you can use bbcode in the forum quote tags - see above examples.



Try this:
Comment out this part of sendmail.ini so it looks like this
Code: Select all
; the default domain for this server will be read from the registry
; this will be appended to email addresses when one isn't provided
; if you want to override the value in the registry, uncomment and modify
; default_domain=thehiddenmanna.org

Add your email address here:
Code: Select all
; to force the sender to always be the following email address, uncomment and
; populate with a valid email address.  this will only affect the "MAIL FROM"
; command, it won't modify the "From: " header of the message content
force_sender=jim@thehiddenmanna.org
Change the email address to suit and in the mailtest.php code below.

In your php.ini file comment out the whole of the Win32 section as it is only required you use one or the other and you are using sendmail
Code: Select all
; For Win32 only.
; http://php.net/smtp
; SMTP = localhost
; http://php.net/smtp-port
; smtp_port = 25
Save all the changes and restart Apache.

To test your configuration:
Delete the C:\xampp\sendmail\sendmail.log file if there is one.
(It will be recreated automagically as needed).

Create a file called mailtest.php and put it in the C:\xampp\htdocs folder using this code
Code: Select all
<?php
error_reporting(E_ALL);
var_dump(mail('jim@thehiddenmanna.org', 'testmail', 'This is a testmail.'));
?>
Access the file in your browser using
http://localhost/mailtest.php.

1. What does the output say in your browser?

2. What is now in the C:\xampp\sendmail\sendmail.log file?

3. Allow some time for the mail to be delivered then can you see this new email has been delivered in TBird or which ever email client you use - also check your spam folder if you have one?


Good luck and please let me know if this solution is successful.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: *** Post 1.7.4 Issues In Here ***

Postby Sharley » 10. March 2011 21:04

Enabling XSL support in XAMPP 1.7.4
viewtopic.php?f=16&t=45018

Thanks dominicsayers for this info.

dominicsayers wrote:I don't remember this being a problem in previous versions, but in 1.7.4 there is no mention of XSL in php.ini at all. The extension is there in the ext directory but it is not enabled.

For me the solution was simple:

1. Add the line
Code: Select all
extension=php_xsl.dll
to the Windows Extensions section of php.ini (line 988 in my case)
2. Restart Apache
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: *** Post 1.7.4 Issues In Here ***

Postby bosworth99 » 13. March 2011 03:12

Just my $.02 - I've only recently started using XAMPP for local wordpress development. I really dig the full set of features, and how easy it was to set up - but as others in my situation have noticed (xampp1.7.4 win7 64bit) - its really unstable. Sadly. My first install was via the installer - and it worked like a charm until I reset or shut down my compy. On reset, nothing would work, I got errors all over the place, and it let mostly to frustration (getting NetBeans FTP client to link up correctly to fileZilla). If I reboot, on occasion things would click - but I just as often got "the service cannot be started" or just a general error. I dug into the apache error log, and noticed I was getting issues with pathing. I have several drives on my machine; I've got my xampp directory on an empty drive (D:) i use primarily as a photoshop scratch drive. I noticed in the error log that the paths were being altered to the E: drive. Bad paths are bad.

I took some advice found on this forum, uninstalled, and downloaded the zip (backing up htdocs and sql dat). Running xampp_setup.bat seemed to do the trick. Then I rebooted my box, and ... drive letters mucked up again.

So now - if I, upon reboot, run xampp_setup.bat again to reset the directory paths, start xampp-control.exe and activate Apache and MySQL with the control buttons I'm back up and running. I'm not running services, and I'm not dealing with filezilla...

so. hobbled, yes. But I'm running a non-mission-critical test environment successfully with the above process.


Hopefully this will get worked out in future updates. I really love the application.

Cheers
bosworth99
 
Posts: 1
Joined: 13. March 2011 02:55

Re: *** Post 1.7.4 Issues In Here ***

Postby Sharley » 23. March 2011 13:39

There is a fix posted by new member bitstream] for the missing eAccelerator function in 1.7.4 for those who would like to use it.
viewtopic.php?p=176218#p176218

For XAMPP 1.7.4 using php 5.3.5 you should download this version...
PHP 5.3.5 VC6:
http://eac.qme.nl/eAccelerator_v1_0_svn ... _5-VC6.zip
... and use the eAccelerator-ts.dll in the archive not the eAccelerator.dll


Remember, when changing the line (about 1916) in the php.ini file that loads the extension, to use your own path if different from the default.

On a default XAMPP installation the path would be:
"C:\xampp\php\ext\eAccelerator_ts.dll"

Note - copying over this extension from previous XAMPP versions will not work with php 5.3.5 version.

Thanks bitstream.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: *** Post 1.7.4 Issues In Here ***

Postby alt » 30. March 2011 12:49

Hi all

I installed XAMPP for Windows 1.7.4 (26.1.2011) 7z and exe version on XP and Windows 2003 Server and I got the following error as I ran makecert.bat :
Unable to load config info from ./bin/openssl.cnf
Error opening Private Key privkey.pem
3668:error:02001002:system library:fopen:No such file or directory:.\crypto\bio\
bss_file.c:356:fopen('privkey.pem','rb')
3668:error:20074002:BIO routines:FILE_CTRL:system lib:.\crypto\bio\bss_file.c:35
8:
unable to load Private Key
Loading 'screen' into random state - done
server.csr: No such file or directory
Impossible de trouver C:\xampp\apache\.rnd
Impossible de trouver C:\xampp\apache\privkey.pem
Impossible de trouver C:\xampp\apache\server.csr
Le fichier spécifié est introuvable.
Le fichier spécifié est introuvable.

-----
Das Zertifikat wurde erstellt.
The certificate was provided.

Appuyez sur une touche pour continuer...


I downloaded openssl source from http://www.openssl.org and extract openssl.cnf that I placed into xampp\apache\bin\openssl.cnf and then makecert.bat worked fine.

Best Regards,
alt
 
Posts: 1
Joined: 30. March 2011 10:45

Re: *** Post 1.7.4 Issues In Here ***

Postby InsiteFX » 03. April 2011 17:24

XAMPP will not remove index.php using .htaccess file on localhost system!

And yes mod_rewrite.so is set right!

I have tried almost every mod to remove index.php on internet and it will not remove!
InsiteFX
 
Posts: 6
Joined: 03. April 2011 17:19

Re: *** Post 1.7.4 Issues In Here ***

Postby Sharley » 04. April 2011 00:34

InsiteFX wrote:XAMPP will not remove index.php using .htaccess file on localhost system!

And yes mod_rewrite.so is set right!

I have tried almost every mod to remove index.php on internet and it will not remove!
What are you trying to do, uninstall XAMPP and some files won't be deleted?

If so then open Windows Task Manager and find the httpd.exe process and click on the button to End Process.
After it is ended, try once again to remove the xampp folder.

If my assumption is incorrect then please give more details about what you are trying to do.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: *** Post 1.7.4 Issues In Here ***

Postby atl2000 » 12. April 2011 22:41

Pretty disappointed when I started working on this brand new version few weeks ago and when I switch from one PC to another with my USB key, on which I installed the version, boom, nothing works anymore, not even an attempt to reconfigure...

And today, reading this thread and checking the readme txt file, I realized that I lost quite some time trying to fix the thing by myself in vain, or at least because I don't want to waste more time to debug something that is broken, when I reverted back to 1.7.3, wonderful, from one PC to another, xampp-control to start only 2 most important service MySQL and Apache work again and now I'm developping websites from that.

Such a shame that 1.7.4 went through without more quality checking.

I'll be pleased to be beta tester if needed ;-)

Continue the good work and forget this release till the next 1.7.5 ?!?
atl2000
 
Posts: 1
Joined: 12. April 2011 22:36

PreviousNext

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 102 guests