Ver 1.1 Bugs

Enter AlegroCart Bugs Here, but if you're not certain, post in General support first.
Locked
my_alfin
Posts: 1
Joined: Thu Jan 28, 2010 1:50 am

Ver 1.1 Bugs

Post by my_alfin » Thu Jan 28, 2010 3:21 am

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..

User avatar
Brent
Site Admin
Posts: 4459
Joined: Sat Dec 12, 2009 3:35 pm
Location: Canada eh

Re: Ver 1.1 Bugs

Post by Brent » Thu Jan 28, 2010 8:37 am

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

Code: Select all

$database =& new Database($this);
Change to

Code: Select all

$database = new Database($this);
That should fix this error.
Edit
There are three files affected. Download is :
viewtopic.php?f=10&t=53&p=56#p56

Locked