Warning: mkdir() [function.mkdir]: Permission denied in /home/admin/domains/mydomain.com/public_html/maxImageUpload.class.php on line 55 Warning: mkdir() [function.mkdir]: Permission denied in /home/admin/domains/mydomain.com/public_html/maxImageUpload.class.php on line 59 Warning: mkdir() [function.mkdir]: Permission denied in /home/admin/domains/mydomain.com/public_html/maxImageUpload.class.php on line 63
above the box.
Also, though it allows you to choose your file to upload, it doesnt give you the website its landed so I presume its not talking to the database on the server correctly.
However id be very happy if you could just solve the first issue for me, for the time being, to make it at least look good.
As its including the maximageupload.class.php, and the lines referred to from that file are these:
$this->originalDir = $this->baseDir.DIRECTORY_SEPARATOR.$this->originalDir.DIRECTORY_SEPARATOR;
if (!file_exists($this->originalDir)) {
mkdir($this->originalDir);
}
$this->normalDir = $this->baseDir.DIRECTORY_SEPARATOR.$this->normalDir.DIRECTORY_SEPARATOR;
if (!file_exists($this->normalDir)) {
mkdir($this->normalDir);
}
$this->thumbDir = $this->baseDir.DIRECTORY_SEPARATOR.$this->thumbDir.DIRECTORY_SEPARATOR;
if (!file_exists($this->thumbDir)) {
mkdir($this->thumbDir);
The permissions denied are always the lines that say: mkdir($this->normalDir);
But scrolling up the file, these variables are just:
// Directories to store images var $baseDir = ''; var $originalDir = 'original'; var $normalDir = 'normal'; var $thumbDir = 'thumbnail';
I was expecting somewhere to declare to this script that the file in question is referring to the new domain I-ve entitled the script to, but all i get are these variables, which dont say much to me.


Sign In
Create Account


Back to top









