Xampp win32 1.7.4 error

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

Xampp win32 1.7.4 error

Postby malaga » 12. April 2011 16:01

I have installed Xampp on Windows 7 32 bit but I am getting this error message when I type http://localhost/xampp onto the browser

Warning: Variable passed to each() is not an array or object in C:\xampp\htdocs\xampp\head.php on line 27

Below is the code inside the head.php file [pls take note: line 27 is the while loop]

I have already searched for this problem throughtout this board but i cannot find anywhere it has been addressed. Thanks,

Code: Select all
        while (list($key, $value) = each($languages))
                if($i++)echo ' / ';
      if($l==$key)$s='style="font-weight: bold;"';
                echo '<a '.$s.' target="_parent" href="/xampp/lang.php?'.$key.'">'.$value.'</a>';
Posts: 2
Joined: 12. April 2011 15:11

Re: Xampp win32 1.7.4 error

Postby malaga » 13. April 2011 10:49

Thanks, problem solved, I uninstalled it then used the zip file instead of windows installer. Works now although testing my wordpress sites on Xampp is a bit too slow. I wonder how I can improve loading speed of Xampp...will continue searching.
Posts: 2
Joined: 12. April 2011 15:11

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 55 guests