PDA

View Full Version : error upload went without error???


lowfat
04-04-2005, 12:33 AM
I've installed pixelpost and everything went fine until I try and upload an image. I get this:
error
upload went without error

my result: no images in folder

I've checked the absolute and relative paths for the images folder (as stated in FAQ). I can FTP an image to that folder and view it no problem with a browser but for some reason can't upload via PP admin. My GD-lib seems to be up to snuff so what gives??

That said, this is a wonderful program and I hope to add to the available templetes when I can get up and running.

Thanks in advance for your help
Low


PHP-version 4.3.10

MySQL version 4.1.9-standard-log

GD-lib bundled (2.0.28 compatible)

Server software Microsoft-IIS/6.0

EXIF Your php does not seem to be compiled with exif-enabled.
Permissions
Images folder
Images folder is writable, which is a good thing.

Thumbnails folder
Thumbnails folder is writable.

raminia
04-04-2005, 05:29 AM
- check the path again
- a tailing slash...
- search the forum there are a bunch of threads about this.

lowfat
04-04-2005, 02:56 PM
Hi Raminia,
I do understand the importance of checking the forum and have read loads on this occurence. I assure you I was not pleading for help without trying to help myself first. The most direct response to this occurence came from pixelpunk:

"That's an awesome error, I laugh every time I stumble upon it. Sorry for that non-informed error.

The first Error is in the context of moving the file from the tmp/ directory to your images-folder. If this fails, it says error and then it checks what the upload error is, because it is an upload error. It is a wrong assumption.

Anyway. The upload went ok. But it can't save the file in your images-folder.
Check your path, it has to be an absolute server path."

I believe this to be my error as well and believe I've attempted every iteration of the absolute path but I still get the same error. Here is my path:
/owlanddragon.com/pixelpost/images/

I know if I can FTP to this folder that I should be able to write to it via the pixelpost PHP.

I realize and GREATLY appreciate that this takes time out of your day to help me out. I do have great respect for the forum moderators who share their personal time. Just let me know what I can do to resolve this issue and hopefully help others with the same problem. :)

Low

raminia
04-04-2005, 05:54 PM
I underestand that you have search the forum and read the FAQ but I insist on the path 'cause you said that there is no restriction in host permissions.

I was out all to today I saw you message now:)

- maybe the path that admin/index.php sees is different from the path you see in the ftp program. e.g. added a /public_html/ at first....
I'll check and provide you a php file to get the recommended path as it does in v1.4.

lowfat
04-04-2005, 08:32 PM
Thank you raminina,
I look forward to your response and ver 1.4

Low

raminia
04-04-2005, 08:37 PM
save this php code in a file guesspath.php in admin folder and open it with a browser and see the guessed path.
<?php
echo "<strong>Guessed Path is: </strong><br />";
$guess_path = pullout($_SERVER['DOCUMENT_ROOT']);
$guess_path .= $_SERVER['SCRIPT_NAME'];
$guess_path = pathinfo($guess_path);
$guess_path = $guess_path['dirname'];
$guess_path = eregi_replace("admin","",$guess_path);
echo $guess_path."images/</i><p />";


function pullout($str)
{
$str = stripslashes($str);
$str = UTF8_decode($str);
return $str;
}
?>

lowfat
04-04-2005, 11:04 PM
Hi raminia,

I ran the script you went me and the guesspath came back no different than what was already in the admin options.

I called my hosting company again to make double sure that there were no restrictions on saving to a folder. They, once again, assured me that there were not as long as I changed the permissions on the folder which I'd done and double checked many times.

this time the guy I spoke with asked if I was using a unix based FTP program. I'm on a mac so I said yes. His reply:

"oh, most people don't know this but you can't change the file permissions on a server running windows IIs something or other from a unix FTP program. You must do it from your control panel"

Thought it says from my program "transmit from panic software" that indeed the permissions have been changed, my control panel indicated otherwise. Ok, first problem solved.

However, the saving still didn't work. I went back to your first suggestion that the host was adding a public_html. It turns out that they are but written very differently. For me it's:
inetpub/domainname/folder/images

It works now but I'd like to find a way to consolidate in the FAQ's a check list of sorts that includes these steps. that is, checking to see if one's server is unix based and or FTP program. As well as directing people that their host may put a very different directory in the beginning of their physical address.

Thank you so much for your patience and help with this matter. If I can contribute to the FAQ at all just let me know

Low

raminia
04-05-2005, 06:23 AM
duh! I forgot to tell you about non unix servers!
I was running my site on a Windows NT IIS server and when I decided to run Pixelpost I migrated to a Linux server to be able to do what ever I want to do with permissions and other stuff.

Thank you for your detailed information. I'm working on v1.4 final release and it made me availability for support limited! :wink:

Happy Pixelposting!
Ramin