(2020-06-26, 04:59:01)sidotij Wrote: Afternoon... I just installed v1.04 of my-theme and it seems I am unable to save any changes to the plugin components
I did read this was an issue in an earlier version.
and I am running in a subdirectory and I did comment out /* Error_Reporting(E_ALL & ~E_NOTICE); */
but I am not seeing any errors
Any advice?
John
The problem with working in the subdirectory was fixed earlier.
The following code is used to determine the site directory:
Code:
function my_template_Dirname($path, $levels = 1)
{
$arr = explode(DIRECTORY_SEPARATOR, dirname($path));
array_splice($arr, count($arr) + 1 - $levels);
return implode(DIRECTORY_SEPARATOR, $arr);
}
$MTDIR = my_template_Dirname(__FILE__, 2);
You can try to use GSROOTPATH instead $MTDIR.'/' (but I dont think the problem is this).
So try different versions of PHP.
Try on a different server and in the root directory, and not in a subdirectory.
Perhaps, for some reason, writing to the cfg.php file is not allowed.
I had no such problems. I dont know what else to advise.
P.S.
E_ALL & ~E_NOTICE no need to change.
In order to see php errors use GS�debug mode.
gsconfig.php
# Turn on debug mode
define('GSDEBUG', TRUE);