Welcome to Geeklog, Anonymous Thursday, November 14 2024 @ 04:17 pm EST
Geeklog Forums
Need Help - Can't Post Images
Status: offline
winnerdk
Forum User
Full Member
Registered: 04/24/05
Posts: 339
Location:Panama City, Republic of Panama
This morning I ordered my site to me migrated to a dedicated server. After the move when I try to add an image to any article I get the following error message:
An error has occurred:
2 - move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/php4Lmuod' to '/home/panamax/public_html/images/articles/2007052807493650_1.jpg' @ /home/panamax/public_html/system/classes/upload.class.php line 516
It looks like there's now a breakdown somewhere in the conversion from a temp image. I've reported the error to the host and they are checking things out but so far they have not been able to find anything wrong. They just copied the entire site from one server to another so they are scratching their heads.
The difference is that before I was on a shared server and now I'm on a dedicated server.
What can I do to fix this problem? At this point any suggestions would be greatly appreciated. Thanks.
Don Winner
www.panama-guide.com
16
10
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Check the permissions on the images/articles directory.
If that doesn't help, switch on the debugging for the image upload and see what it produces:
// upload. Debug messages will be added to the error.log file.
// $_CONF['debug_image_upload'] = true;
bye, Dirk
If that doesn't help, switch on the debugging for the image upload and see what it produces:
Text Formatted Code
// Uncomment the following line if you experience problems with the image// upload. Debug messages will be added to the error.log file.
// $_CONF['debug_image_upload'] = true;
bye, Dirk
14
13
Quote
Status: offline
winnerdk
Forum User
Full Member
Registered: 04/24/05
Posts: 339
Location:Panama City, Republic of Panama
Permissions in the images/articles directory don't seem to be the problem.
The entire error is as follows (it's long, sorry)
array(2) {
["this"]=>
&object(upload)(29) {
["_errors"]=>
array(0) {
}
["_warnings"]=>
array(1) {
[1]=>
string(78) "Unable to enable logging because no log file was set. Use setLogFile() method"
}
["_debugMessages"]=>
array(11) {
[1]=>
string(52) "File size for Panama Guide Button.jpg is 20787 bytes"
[2]=>
string(79) "File, Panama Guide Button.jpg is of mime type image/pjpeg and IS an image file."
[3]=>
string(63) "in _getImageDimensions I got a width of 150, and a height of 48"
[4]=>
string(43) "Max allowed width = 3000, Image width = 150"
[5]=>
string(44) "Max allowed height = 3000, Image height = 48"
[6]=>
string(67) "File, Panama Guide Button.jpg has a width of 150 and a height of 48"
[7]=>
string(79) "File, Panama Guide Button.jpg is of mime type image/pjpeg and IS an image file."
[8]=>
string(63) "in _getImageDimensions I got a width of 150, and a height of 48"
[9]=>
string(43) "Max allowed width = 3000, Image width = 150"
[10]=>
string(44) "Max allowed height = 3000, Image height = 48"
[11]=>
string(67) "File, Panama Guide Button.jpg has a width of 150 and a height of 48"
}
["_allowedMimeTypes"]=>
array(5) {
["image/gif"]=>
string(4) ".gif"
["image/jpeg"]=>
string(10) ".jpg,.jpeg"
["image/pjpeg"]=>
string(10) ".jpg,.jpeg"
["image/x-png"]=>
string(4) ".png"
["image/png"]=>
string(4) ".png"
}
["_availableMimeTypes"]=>
array(18) {
["application/x-gzip-compressed"]=>
string(12) ".tar.gz,.tgz"
["application/x-zip-compressed"]=>
string(4) ".zip"
["application/x-tar"]=>
string(4) ".tar"
["text/plain"]=>
string(15) ".phps,.txt,.inc"
["text/html"]=>
string(10) ".html,.htm"
["image/bmp"]=>
string(9) ".bmp,.ico"
["image/gif"]=>
string(4) ".gif"
["image/pjpeg"]=>
string(10) ".jpg,.jpeg"
["image/jpeg"]=>
string(10) ".jpg,.jpeg"
["image/png"]=>
string(4) ".png"
["image/x-png"]=>
string(4) ".png"
["audio/mpeg"]=>
string(4) ".mp3"
["audio/wav"]=>
string(4) ".wav"
["application/pdf"]=>
string(4) ".pdf"
["application/x-shockwave-flash"]=>
string(4) ".swf"
["application/msword"]=>
string(4) ".doc"
["application/vnd.ms-excel"]=>
string(4) ".xls"
["application/octet-stream"]=>
string(9) ".fla,.psd"
}
["_filesToUpload"]=>
array(25) {
["file1"]=>
array(5) {
["name"]=>
string(23) "Panama Guide Button.jpg"
["type"]=>
string(11) "image/pjpeg"
["tmp_name"]=>
string(14) "/tmp/php4Lmuod"
["error"]=>
int(0)
["size"]=>
int(20787)
}
["file2"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file3"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file4"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file5"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file6"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file7"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file8"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file9"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file10"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file11"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file12"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file13"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file14"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file15"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file16"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file17"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file18"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file19"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file20"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file21"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file22"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file23"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file24"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file25"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
}
["_currentFile"]=>
array(5) {
["name"]=>
string(23) "Panama Guide Button.jpg"
["type"]=>
string(11) "image/pjpeg"
["tmp_name"]=>
string(14) "/tmp/php4Lmuod"
["error"]=>
int(0)
["size"]=>
int(20787)
}
["_allowedIPS"]=>
array(0) {
}
["_uploadedFiles"]=>
array(0) {
}
["_maxImageWidth"]=>
int(3000)
["_maxImageHeight"]=>
int(3000)
["_maxFileSize"]=>
int(10485760)
["_pathToMogrify"]=>
string(0) ""
["_pathToNetPBM"]=>
string(0) ""
["_imageLib"]=>
string(0) ""
["_autoResize"]=>
bool(false)
["_keepOriginalImage"]=>
bool(false)
["_maxFileUploadsPerForm"]=>
int(25)
["_fileUploadDirectory"]=>
string(41) "/home/panamax/public_html/images/articles"
["_fileNames"]=>
array(1) {
[0]=>
string(22) "2007052807493650_1.jpg"
}
["_permissions"]=>
array(1) {
[0]=>
string(4) "0644"
}
["_logFile"]=>
string(0) ""
["_doLogging"]=>
bool(false)
["_continueOnError"]=>
bool(false)
["_debug"]=>
bool(true)
["_limitByIP"]=>
bool(false)
["_numSuccessfulUploads"]=>
int(0)
["_imageIndex"]=>
int(0)
["_wasResized"]=>
bool(false)
}
["sizeOK"]=>
bool(true)
}
(This text is only displayed to users in the group 'Root'
The entire error is as follows (it's long, sorry)
array(2) {
["this"]=>
&object(upload)(29) {
["_errors"]=>
array(0) {
}
["_warnings"]=>
array(1) {
[1]=>
string(78) "Unable to enable logging because no log file was set. Use setLogFile() method"
}
["_debugMessages"]=>
array(11) {
[1]=>
string(52) "File size for Panama Guide Button.jpg is 20787 bytes"
[2]=>
string(79) "File, Panama Guide Button.jpg is of mime type image/pjpeg and IS an image file."
[3]=>
string(63) "in _getImageDimensions I got a width of 150, and a height of 48"
[4]=>
string(43) "Max allowed width = 3000, Image width = 150"
[5]=>
string(44) "Max allowed height = 3000, Image height = 48"
[6]=>
string(67) "File, Panama Guide Button.jpg has a width of 150 and a height of 48"
[7]=>
string(79) "File, Panama Guide Button.jpg is of mime type image/pjpeg and IS an image file."
[8]=>
string(63) "in _getImageDimensions I got a width of 150, and a height of 48"
[9]=>
string(43) "Max allowed width = 3000, Image width = 150"
[10]=>
string(44) "Max allowed height = 3000, Image height = 48"
[11]=>
string(67) "File, Panama Guide Button.jpg has a width of 150 and a height of 48"
}
["_allowedMimeTypes"]=>
array(5) {
["image/gif"]=>
string(4) ".gif"
["image/jpeg"]=>
string(10) ".jpg,.jpeg"
["image/pjpeg"]=>
string(10) ".jpg,.jpeg"
["image/x-png"]=>
string(4) ".png"
["image/png"]=>
string(4) ".png"
}
["_availableMimeTypes"]=>
array(18) {
["application/x-gzip-compressed"]=>
string(12) ".tar.gz,.tgz"
["application/x-zip-compressed"]=>
string(4) ".zip"
["application/x-tar"]=>
string(4) ".tar"
["text/plain"]=>
string(15) ".phps,.txt,.inc"
["text/html"]=>
string(10) ".html,.htm"
["image/bmp"]=>
string(9) ".bmp,.ico"
["image/gif"]=>
string(4) ".gif"
["image/pjpeg"]=>
string(10) ".jpg,.jpeg"
["image/jpeg"]=>
string(10) ".jpg,.jpeg"
["image/png"]=>
string(4) ".png"
["image/x-png"]=>
string(4) ".png"
["audio/mpeg"]=>
string(4) ".mp3"
["audio/wav"]=>
string(4) ".wav"
["application/pdf"]=>
string(4) ".pdf"
["application/x-shockwave-flash"]=>
string(4) ".swf"
["application/msword"]=>
string(4) ".doc"
["application/vnd.ms-excel"]=>
string(4) ".xls"
["application/octet-stream"]=>
string(9) ".fla,.psd"
}
["_filesToUpload"]=>
array(25) {
["file1"]=>
array(5) {
["name"]=>
string(23) "Panama Guide Button.jpg"
["type"]=>
string(11) "image/pjpeg"
["tmp_name"]=>
string(14) "/tmp/php4Lmuod"
["error"]=>
int(0)
["size"]=>
int(20787)
}
["file2"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file3"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file4"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file5"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file6"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file7"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file8"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file9"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file10"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file11"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file12"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file13"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file14"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file15"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file16"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file17"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file18"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file19"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file20"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file21"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file22"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file23"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file24"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
["file25"]=>
array(5) {
["name"]=>
string(0) ""
["type"]=>
string(0) ""
["tmp_name"]=>
string(0) ""
["error"]=>
int(4)
["size"]=>
int(0)
}
}
["_currentFile"]=>
array(5) {
["name"]=>
string(23) "Panama Guide Button.jpg"
["type"]=>
string(11) "image/pjpeg"
["tmp_name"]=>
string(14) "/tmp/php4Lmuod"
["error"]=>
int(0)
["size"]=>
int(20787)
}
["_allowedIPS"]=>
array(0) {
}
["_uploadedFiles"]=>
array(0) {
}
["_maxImageWidth"]=>
int(3000)
["_maxImageHeight"]=>
int(3000)
["_maxFileSize"]=>
int(10485760)
["_pathToMogrify"]=>
string(0) ""
["_pathToNetPBM"]=>
string(0) ""
["_imageLib"]=>
string(0) ""
["_autoResize"]=>
bool(false)
["_keepOriginalImage"]=>
bool(false)
["_maxFileUploadsPerForm"]=>
int(25)
["_fileUploadDirectory"]=>
string(41) "/home/panamax/public_html/images/articles"
["_fileNames"]=>
array(1) {
[0]=>
string(22) "2007052807493650_1.jpg"
}
["_permissions"]=>
array(1) {
[0]=>
string(4) "0644"
}
["_logFile"]=>
string(0) ""
["_doLogging"]=>
bool(false)
["_continueOnError"]=>
bool(false)
["_debug"]=>
bool(true)
["_limitByIP"]=>
bool(false)
["_numSuccessfulUploads"]=>
int(0)
["_imageIndex"]=>
int(0)
["_wasResized"]=>
bool(false)
}
["sizeOK"]=>
bool(true)
}
(This text is only displayed to users in the group 'Root'
13
17
Quote
Status: offline
winnerdk
Forum User
Full Member
Registered: 04/24/05
Posts: 339
Location:Panama City, Republic of Panama
Ah ha! Never mind. The problem was related to the disk quota on the new dedicated server.
Geeklog was choking when it was trying to convert the image from the tmp, it couldn't write but the problem was not permissions but rather available space.
I increased the quota, problem went away. Thanks for your help
Don
www.panama-guide.com
Geeklog was choking when it was trying to convert the image from the tmp, it couldn't write but the problem was not permissions but rather available space.
I increased the quota, problem went away. Thanks for your help
Don
www.panama-guide.com
13
12
Quote
All times are EST. The time is now 04:17 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content