Can you help me with this error? It happens when i visit the 'Modifications Settings' in the Administration Center.
http://www.******.net/index.php?action=admin;area=modsettings;df92ef14=8c2ac35425d1d7737041a9db4a1018a8
8: Undefined index: cols
File: /home/*****/public_html/Themes/default/Admin.template.php
Line: 930
Did you uninstall a mod that returned errors during the uninstall process?
OK, i fixed it.
Thank you
Would you mind sharing your solution?
A friend of mine did the job. I don't know programming.
As i see he modified the Admin.template.php as follows:
Find:
<textarea rows="', ($config_var['size'] ? $config_var['size'] : 4), '" cols="',($config_var['cols'] ? $config_var['cols'] : 30),'" ', $javascript, $disabled, ' name="', $config_var['name'], '" id="', $config_var['name'], '">', $config_var['value'], '</textarea>';
Replace
<textarea rows="', ($config_var['size'] ? $config_var['size'] : 4), '" cols="',(isset($config_var['cols']) ? $config_var['cols'] : 30),'" ', $javascript, $disabled, ' name="', $config_var['name'], '" id="', $config_var['name'], '">', $config_var['value'], '</textarea>';
and also added (not sure if its related to this problem) the following code to alerts.php
if (isset($_GET['scheduled']) && isset($_GET['ts']) && $_GET['scheduled'] == 'task')
return;
Much appreciated. Thanks for that.
Thanks 'searchgr' for posting this solution - I just discovered (and fixed) the same problem in Admin.template.php (couldn't find alerts.php on my forum).
Alerts.php is a file of the 'Alerts' mod and as i see is not related to the a/m problem.
Thanks a lot, I used the trick too .
T.
!empty(); would be a slightly better approach than isset();, but still.
Thanks, i will try it.
Thank you "searchgr", you helped me solved my problem.
Best regards.
:) Good!