<script type="text/javascript">
var BLANK_URL = ‘http://www.***.com/js/blank.html’;
var BLANK_IMG = ‘http://www.***.com/js/spacer.gif’;
var BASE_URL = ‘http://www.***.com/index.php/admin/index/index/key/01c8c12c28a7d3419abf4ef9f2ae1ef0/’;
var SKIN_URL = ‘http:/www.***.com/skin/adminhtml/default/default/’;
var FORM_KEY = ‘GdOVRfxRDXDuNBIL’;
</script>
<script type="text/javascript">var Translator = new Translate([]);</script>
<script type="text/javascript">
//<![CDATA[
enUS = {"m”:{"wide”:["January”,"February”,"March”,"April”,"May”,"June”,"July”,"August”,"September”,"October”,"November”,"December"],"abbr”:["Jan”,"Feb”,"Mar”,"Apr”,"May”,"Jun”,"Jul”,"Aug”,"Sep”,"Oct”,"Nov”,"Dec"]}}; // en_US locale reference
Calendar._DN = ["Sunday”,"Monday”,"Tuesday”,"Wednesday”,"Thursday”,"Friday”,"Saturday"]; // full day names
Calendar._SDN = ["Sun”,"Mon”,"Tue”,"Wed”,"Thu”,"Fri”,"Sat"]; // short day names
Calendar._FD = 0; // First day of the week. “0” means display Sunday first, “1” means display Monday first, etc.
Calendar._MN = ["January”,"February”,"March”,"April”,"May”,"June”,"July”,"August”,"September”,"October”,"November”,"December"]; // full month names
Calendar._SMN = ["Jan”,"Feb”,"Mar”,"Apr”,"May”,"Jun”,"Jul”,"Aug”,"Sep”,"Oct”,"Nov”,"Dec"]; // short month names
Calendar._am = “AM”; // am/pm
Calendar._pm = “PM”;
// tooltips
Calendar._TT = {};
Calendar._TT["INFO"] = “About the calendar”;
Calendar._TT["ABOUT"] =
“DHTML Date/Time Selector
“ +
“(c) dynarch.com 2002-2005 / Author: Mihai Bazon
“ +
“For latest version visit: http://www.dynarch.com/projects/calendar/
“ +
“Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details.” +
“
“ +
“Date selection:
“ +
“- Use the «, » buttons to select year
“ +
“- Use the “ + String.fromCharCode(0x2039) + “, “ + String.fromCharCode(0x203a) + “ buttons to select month
“ +
“- Hold mouse button on any of the above buttons for faster selection.”;
Calendar._TT["ABOUT_TIME"] = “
“ +
“Time selection:
“ +
“- Click on any of the time parts to increase it
“ +
“- or Shift-click to decrease it
“ +
“- or click and drag for faster selection.”;
Calendar._TT["PREV_YEAR"] = “Prev. year (hold for menu)”;
Calendar._TT["PREV_MONTH"] = “Prev. month (hold for menu)”;
Calendar._TT["GO_TODAY"] = “Go Today”;
Calendar._TT["NEXT_MONTH"] = “Next month (hold for menu)”;
Calendar._TT["NEXT_YEAR"] = “Next year (hold for menu)”;
Calendar._TT["SEL_DATE"] = “Select date”;
Calendar._TT["DRAG_TO_MOVE"] = “Drag to move”;
Calendar._TT["PART_TODAY"] = ‘ (’ + “Today” + ‘)’;
// the following is to inform that “%s” is to be the first day of week
Calendar._TT["DAY_FIRST"] = “Display %s first”;
// This may be locale-dependent. It specifies the week-end days, as an array
// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1
// means Monday, etc.
Calendar._TT["WEEKEND"] = “0,6”;
Calendar._TT["CLOSE"] = “Close”;
Calendar._TT["TODAY"] = “Today”;
Calendar._TT["TIME_PART"] = “(Shift-)Click or drag to change value”;
I have a similar issue in v1.3.2.1. I have used v1.3.1.1 previously and image uploads worked fine, although the server setup may have slightly different.
i could not get image uploads to work, so i changed somthing (cannot remember for the life of me what i changed, sorry) then i started getting code pop up in a JS box.. so i quickly changed back obviously..
I still cant get image uploads to work though, here is my thread: http://www.magentocommerce.com/boards/viewthread/45562/
I finally got the issue resolved. I checked my phpinfo() on the server I realised that PHP ran as a CGI script, and not more commonly as an Apache module. So I think this is the reason why the code below in my .htaccess file would not take effect?
<IfModule mod_security.c>
SecFilterEngine Off SecFilterScanPOST Off
</IfModule>
I downloaded a php5-cgi binary file from Magento support and uploaded it to http://www.my-site.com/cgi-bin/php5-cgi. I set the permissions on that file and folder to 755. Now back in my .htaccess file I uncommented the following lines of code and now product image uploads work perfect!
# Make sure to specify the correct cgi php binary file name # It might be /cgi-bin/php-cgi
I am unable to upload images on product config page as I do not get the option of the two buttons to broswe then upload, I have tried adding the file into the cgi bin and un commenting the files as previously stated but it has made no difference. Can any one help ?
Chers Flashg