perhaps reading the threads before this...
someone or a few people have had this problem.
and yes in the html instructions file it was changed.
Ok.. might as well explain it.
when you add the code in the admin/user.php file, at the very top you are doubling the error_reporting line..
when I had..
find <?php ... and then after that I put paste this code under that, ... I had you in a sense doubling the error_report .. which gives you that, cause it is trying to do it twice.. and it can only do it once.
so go into your admin/user.php file, look at the very top.... right above <?php trace that down to where it says.. error_reporting(7);
and delete that line all the way up to the <?php line... leaving that line..
the instructions now say... find :
<?php
error_reporting(7);
and right underneath that paste this code:
PHP Code:
require("./global.php");
/*
Auto center window script- snyx (<a href="http://snyxmedia.com" target="_blank">[url]http://snyxmedia.com[/url]</a>) DO NOT REMOVE!
*/
echo "<SCRIPT language=\"javascript\" type=\"text/javascript\">\n";
echo "<!--\n";
echo "var win = null;\n";
echo "function NewWindow(mypage,myname,w,h,scroll){\n";
echo "LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;\n";
echo "TopPosition = (screen.height) ? (screen.height-h)/2 : 0;\n";
echo "settings = 'height='+h+',width='+w+',top='+TopPosition+',left ='+LeftPosition+',scrollbars='+scroll+',resizable'\n";
echo "win = window.open(mypage,myname,settings)\n";
echo "if(win.window.focus){win.window.focus();}\n";
echo "}\n";
echo "\n";
echo "//--></SCRIPT>\n";
echo "\n";
end result it should like this.. starting from line 1:
PHP Code:
<?php
//* Modified by Brad Clampitt *//
error_reporting(7);
require("./global.php");
/*
Auto center window script- snyx (<a href="http://snyxmedia.com" target="_blank">[url]http://snyxmedia.com[/url]</a>) DO NOT REMOVE!
*/
echo "<SCRIPT language=\"javascript\" type=\"text/javascript\">\n";
echo "<!--\n";
echo "var win = null;\n";
echo "function NewWindow(mypage,myname,w,h,scroll){\n";
echo "LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;\n";
echo "TopPosition = (screen.height) ? (screen.height-h)/2 : 0;\n";
echo "settings = 'height='+h+',width='+w+',top='+TopPosition+',left ='+LeftPosition+',scrollbars='+scroll+',resizable'\n";
echo "win = window.open(mypage,myname,settings)\n";
echo "if(win.window.focus){win.window.focus();}\n";
echo "}\n";
echo "\n";
echo "//--></SCRIPT>\n";
echo "\n";
does this help...