2013-04-05, 23:40:33
I tried changing the lines as n00dles101 suggested:
$targetPath = (isset($_POST['path'])) ? GSDATAUPLOADPATH.$_POST['path'].DIRECTORY_SEPARATOR : GSDATAUPLOADPATH;
$targetFile = str_replace('//',DIRECTORY_SEPARATOR,$targetPath) . $name;
$path = (isset($_POST['path'])) ? $_POST['path'].DIRECTORY_SEPARATOR : "";
And the log shows this error: (You can see how the path is incorrect)
[05-Apr-2013 08:29:37 America/Chicago] PHP Warning: getimagesize(C:\Users\asharpe\Documents\Projects\Hollander\GetSimpleCMS_3.2.0/data/uploads/logo.gif): failed to open stream: No such file or directory in C:\Users\asharpe\Documents\Projects\Hollander\GetSimpleCMS_3.2.0\admin\upload-uploadify.php on line 66
$targetPath = (isset($_POST['path'])) ? GSDATAUPLOADPATH.$_POST['path'].DIRECTORY_SEPARATOR : GSDATAUPLOADPATH;
$targetFile = str_replace('//',DIRECTORY_SEPARATOR,$targetPath) . $name;
$path = (isset($_POST['path'])) ? $_POST['path'].DIRECTORY_SEPARATOR : "";
And the log shows this error: (You can see how the path is incorrect)
[05-Apr-2013 08:29:37 America/Chicago] PHP Warning: getimagesize(C:\Users\asharpe\Documents\Projects\Hollander\GetSimpleCMS_3.2.0/data/uploads/logo.gif): failed to open stream: No such file or directory in C:\Users\asharpe\Documents\Projects\Hollander\GetSimpleCMS_3.2.0\admin\upload-uploadify.php on line 66