Post by dragonfly-ie » Wed Jan 23, 2019 7:59 pm

Hi folks,

Does anyone know of changes needed to run v2.2.0.0. with PHP 7.2 or even 7.3?

Realise that mcrypt is depreciated in 7.2 and encryption.php needs to be changed.
viewtopic.php?f=181&t=199924#p728423
The template.php file in /system gave me error warnings, too.

My present repeated error log entries are:

2019-01-23 11:50:31 - PHP Warning: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time in /system/library/session.php on line 24, 25, 26, 27

2019-01-23 11:50:31 - PHP Warning: session_set_cookie_params(): Cannot change session cookie parameters when headers already sent in /system/library/session.php on line 37

2019-01-23 11:50:31 - PHP Warning: session_start(): Cannot start session when headers already sent in /system/library/session.php on line 38

I’m lost here. What is trying to change the session's header after it's been already sent?

Is there a fix ?
Much appreciated. Cheers.



.
Last edited by dragonfly-ie on Thu Jan 24, 2019 8:40 pm, edited 2 times in total.

Dum spiro spero.


User avatar
New member

Posts

Joined
Sat Nov 09, 2013 2:31 am


Post by OSWorX » Sun Jan 27, 2019 7:44 pm

It seems that you have edited a file wrong.
And this is now sending something - that's why the message 'Headers already sent'.

Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by dragonfly-ie » Tue Jan 29, 2019 1:45 am

I just changed the PHP version without editing any files, but I got OC 2.2 now working with PHP7.2.

The solution to fix my error log was found here:- https://stackoverflow.com/questions/970 ... t-by-error

Hope this might help somebody else ...

Dum spiro spero.


User avatar
New member

Posts

Joined
Sat Nov 09, 2013 2:31 am

Who is online

Users browsing this forum: No registered users and 440 guests