Skip to main content

Posts

Showing posts from November, 2017

A PHP Error was encountered Severity: Notice Message: Only variable references should be returned by reference Filename: core/Common.php Line Number: 257

An error appear after upgraded Xampp version 3.2.2. This system using Codeigniter 2.1.2. To solve:- Change it in your Common.php if ( count ( $replace ) > 0 ){ foreach ( $replace as $key => $val ){ if ( isset ( $config [ $key ])){ $config [ $key ] = $val ; } } } $_config [ 0 ] =& $config ; return $_config [ 0 ]; Credit to:- https://stackoverflow.com/questions/30785717/codeigniter-error-variable-references edited  May 23 at 12:10 Community ♦ 1 1 answered  Jun 12 '15 at 1:05 aizele 713 1 6 17

Apache and Mysql on Xampp 32-bit - Windows Server 2012 can't start

Best Solution down vote accepted I was able to fix this! Had the same problems as stated above, made sure nothing was using port 80 and still not working and getting the message that Apache and Mysql were detected with the wrong path. I did install XAMPP once before, uninstalled and reinstalled. I even manually uninstalled but still had issues. The fix. Make sure you backup your system first! Start Services via Control Panel>Admin Tools (also with  Ctrl+R  and  services.msc ) Look for Apache and MySQL services. Look at the patch indicated in the description (right click on service then click on properties). Chances are that you have Apache listed twice, one from your correct install and one from a previous install. Even if you only see one, look at the path, chances are it's from a previous install and causing your install not to work. In either case, you need to delete those incorrect services. a. Got to command prompt (run as administrator): Start > al