By Paul Murray on Sunday, 15 July 2018
Posted in General Issues
Replies 7
Likes 0
Views 1.1K
Votes 0
Hi SI Team

Following the docs here:

https://stackideas.com/docs/payplans/administrators/welcome/minimum-system-requirement

Recommended Requirements

To get the best out of PayPlans, below are the list of recommended requirements for your site.

Joomla 3.8 and above is installed.
PHP 5.4 and above is installed.
PHP Extensions: Curl Library. (It is required by PayPlans to perform outgoing connections)
PHP Extensions: ZIP Library. (It is required by PayPlans for faster extraction process)
PHP: [upload_max_filesize = 32MB].
PHP: [post_max_size = 32MB].
PHP: [magic_quotes_gpc = Off].
PHP: [memory_limit = 64MB];
PHP: [max_execution_time = 30];
MySQL v5.2 and above.


I asked Site Ground to set magic quotes as suggested above which resulted in a White page with the following error:

Warning: array_key_exists() expects parameter 2 to be array, null given in /home/finalb9/public_html/libraries/cms.php on line 62

Warning: session_name(): Cannot change session name when headers already sent in /home/finalb9/public_html/libraries/joomla/session/handler/native.php on line 128

Warning: session_cache_limiter(): Cannot change cache limiter when headers already sent in /home/finalb9/public_html/libraries/joomla/session/handler/native.php on line 235
Error: Failed to start application: Failed to start the session because headers have already been sent by "/home/finalb9/public_html/libraries/cms.php" at line 62.


Site ground have since set magic quotes back to the way it was = does not strictly speaking adhere to above requirments.

They are trying to get a way to set the magic quotes correctly with out the site crashing.

Just thought that I would let you guys know.

Will update when I know more from Site Ground

thanks

Paul
Hey Paul,

Hm, can I know where are you hitting these errors?
·
Sunday, 15 July 2018 21:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Mark

I no longer see this error.
The error broke the site as all pages front end and back end displayed this error and nothing else!
It appeared when changing the magic quote settings in the php.ini file.
Maybe that was a freak coincidence maybe it was related!?!

This is what Site Ground said after investigation....

I have set the " magic_quotes_gpc = Off" in php.ini, then cleared the PHP Opcache and the cache directory of Joomla and the site works once again with the option present in php.ini, please clear your browser cache and verify on your end as well.


I just thought that I would mentio it as if it happens to me it might happen to others as well.

all the best

Paul
·
Sunday, 15 July 2018 22:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Paul,

I have set the " magic_quotes_gpc = Off" in php.ini, then cleared the PHP Opcache and the cache directory of Joomla and the site works once again with the option present in php.ini, please clear your browser cache and verify on your end as well.

Thanks for the update us on this, as this might be occur on other user as well. May I know do you still hit the previous error after your hosting provider set the php.ini?
·
Monday, 16 July 2018 11:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Fadhli

At my end this error no longer occurs.
I hope this helps.

All the best

Paul
·
Monday, 16 July 2018 14:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Great Paul It is indeed a good information if any other user hit the same issue
·
Monday, 16 July 2018 15:37
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post