Canman2005 Posted May 25, 2009 Share Posted May 25, 2009 HI all I was having issues with WAMP2 crashing and so I switched to XAMPP Everything seems fine apart from a few php scripts which are for image and file uploading and uploading is no longer happening, there is also no errors showing even though all errors are switched on to be displayed in the php.ini Does anyone know if a specfic module needs to be activated? Thanks Quote Link to comment https://forums.phpfreaks.com/topic/159594-wamp2-to-xampp-issue/ Share on other sites More sharing options...
PFMaBiSmAd Posted May 25, 2009 Share Posted May 25, 2009 even though all errors are switched on to be displayed in the php.iniCheck what the actual settings are using a phpinfo(); statement. error_reporting should be set to E_ALL and display_errors should be set to ON. Quote Link to comment https://forums.phpfreaks.com/topic/159594-wamp2-to-xampp-issue/#findComment-841792 Share on other sites More sharing options...
Canman2005 Posted May 25, 2009 Author Share Posted May 25, 2009 Yep, errors are turned on I know that error_reporting was switched to E_ALL as I adjusted it in the php.info file, but on phpinfo it tells me that error_reporting is set to 6135 Quote Link to comment https://forums.phpfreaks.com/topic/159594-wamp2-to-xampp-issue/#findComment-841810 Share on other sites More sharing options...
PFMaBiSmAd Posted May 25, 2009 Share Posted May 25, 2009 6135 is E_ALL without E_NOTICE. The Notice errors are off for some reason - the php.ini that you are changing is not the one the php is using, did not stop and start web server to get change made to php.ini to take effect, there is a .htaccess or local php.ini that is overriding the E_ALL setting. There very well could be Notice messages that would tell you why uploading does not work. Start by getting error_reporting set to E_ALL. What does the phpinfo(); statement show for the file_uploads setting? And what does the following show for the $_FILES array - echo "<pre>"; echo "FILES:"; print_r($_FILES); echo "</pre>"; Quote Link to comment https://forums.phpfreaks.com/topic/159594-wamp2-to-xampp-issue/#findComment-841825 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.