Post by galscorner » Tue Jul 21, 2009 9:57 pm

Dear Friends,
I am running open cart in wamp server in windows
The configuration details are as follows
Apache Version :
\2.2.11\
PHP Version :
\5.3.0\
MySQL Version :
\5.1.36\

Open cart is installed successfully, But when I try to access the open cart I get the error message in the displayed pages



Warning: The magic method __set() must have public visibility and cannot be static in C:\wamp\www\store\system\engine\controller.php on line 14
Deprecated: Function eregi_replace() is deprecated in C:\wamp\www\store\system\helper\image.php on line 9

Warning: Cannot modify header information - headers already sent by (output started at C:\wamp\www\store\system\engine\controller.php:10) in C:\wamp\www\store\system\library\response.php on line 65


Is this a known issue due to version incompatibility? Please advise.

Thanks,
Venki

Newbie

Posts

Joined
Tue Jul 21, 2009 9:52 pm

Post by Qphoria » Tue Jul 21, 2009 10:16 pm

Well eregi should be replaced by preg_match as shown here: http://devthought.com/tumble/2009/06/fi ... in-php-53/

eregi usage should have ceased back in php4 when preg was found to be much faster.

For the magic method static error, I wonder if 5.3 imposes new rules that 5.2 doesn't

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by crawler » Wed Jul 29, 2009 12:40 am

For the static method warning, just change 'protected' to 'public'

Newbie

Posts

Joined
Mon Jul 27, 2009 3:26 pm
Who is online

Users browsing this forum: No registered users and 22 guests