4images Forum & Community
4images Help / Hilfe => Bug Fixes & Patches => Topic started by: V@no on December 07, 2005, 12:51:06 AM
-
On servers where register_globals in PHP settings is turned off, editing templates from ACP (Admin Control Panel) will not save the changes.
To fix that, in admin/templates.php find:if (isset($HTTP_GET_VARS['template_folder']) || isset($HTTP_POST_VARS['template_folder'])) {
Insert above:if (isset($HTTP_POST_VARS['content'])) {
$content = trim($HTTP_POST_VARS['content']);
}
else {
$content = "";
}
-
Thanks for this ;)
-
hi i've got that same problem because i've got a server but is torned off register_globals
i try to talk for active that but i don't have choise, untill torn off register globals and my 4images shows error
Fatal error: Call to undefined function: show_admin_header() in /var/www/localhost/megaman/htdocs/4images/admin/home.php on line 35
i did what you say V@no but untill sohw me that error
what i must to do?
-
I think you did more that just that...the error comes from home.php file, and the fix above has nothing to do with that file...