I have install Alegrocart ver 1.1 on my local PC using XAMPP. But cannot run very well and error code like that:
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\upload\library\locator.php on line 77
Deprecated: Assigning the return value of new by reference is deprecated in C:\xampp\htdocs\upload\library\locator.php on line 77
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\upload\library\locator.php:77) in C:\xampp\htdocs\upload\library\session\session.php on line 19
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\upload\library\locator.php:77) in C:\xampp\htdocs\upload\library\language\language.php on line 56
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\upload\library\locator.php:77) in C:\xampp\htdocs\upload\library\cart\currency.php on line 46
Whats the trouble? How can I fix it? Thanks..
Ver 1.1 Bugs
Re: Ver 1.1 Bugs
I assume your XAMPP is using PHP 5.3 which I have not yet tested on.
If you can open the library/locator.php with notepad++
on line 77 find
Change to
That should fix this error.
Edit
There are three files affected. Download is :
viewtopic.php?f=10&t=53&p=56#p56
If you can open the library/locator.php with notepad++
on line 77 find
Code: Select all
$database =& new Database($this);
Code: Select all
$database = new Database($this);
Edit
There are three files affected. Download is :
viewtopic.php?f=10&t=53&p=56#p56