• hi,
    i have installed WordPress on my website. I have install correctly and i can add new post and configure the options.
    But if i try to upload a image file (jpg, gif…), the mask say to me that the file was uploaded correctly, but wordpress don’t make upload. I try to change CHMOD permissions withoit any results.
    You can find my web with WordPress here: http://www.officialsm.net/photoblog/index.php
    Thank you in advance.
    Sorry for my bad english

Viewing 11 replies - 1 through 11 (of 11 total)
  • post up the part of the code that contains the ‘img src=’ part. it could be that you just forgot to close your tags. happens to me a lot.

    Thread Starter officialsm

    (@officialsm)

    the tag is correct. i see that on the path designed for the upload, thre isn’t any file. Don’t make upload.
    Now say this errror:
    Warning: Cannot modify header information – headers already sent by (output started at /web/htdocs/www.officialsm.net/home/photoblog/b2-include/b2functions.php:1004) in /web/htdocs/www.officialsm.net/home/photoblog/wp-admin/b2edit.php on line 166

    Where do you even see the option to upload an image? I set my “file uploads” to “true” but I never see where I can uplaod a pic with an article, etc. How does this feature even work?

    Never mind…found it. LOL

    Ok… Now that I have the feature on and can see it. I didn’t get errors like officialsm and it told me that it successfully uploaded the file (even gave me the image link to put in my post) but when I FTP’d to the directory, the file wasn’t there. The image was never uploaded… Could this be what officialsm is experiencing too? Why isn’t this feature working…and yes, my directory is CHMOD to 766 or 777 (can’t recall at the moment).

    Thread Starter officialsm

    (@officialsm)

    my CHMOD is 755, but i tryed even 777.
    i set file upload to “true” and “fileupload_realpath” to images/<br></br>
    Do you think that could be an error of my hosting company? PLEASE HELP ME<br></br>
    Thanx

    Maybe leave off the ending / ?

    I had a problem with this, double check your path with your hosting provider. I think that could be the problem. Check in your blog settings as well, that the file upload is set to true, that your path to images is correct and that you have made a folder for images. CHMOD that folder to 777 or 766 and it should work.

    Thread Starter officialsm

    (@officialsm)

    the CHMOD is 777, i tryed with the folder name, with or without /
    Wordpress, day to me:
    File uploaded !
    Your file IM000201.jpg was uploaded successfully !
    but don’t uload nothing.
    Warning: Cannot modify header information – headers already sent by (output started at /web/htdocs/www.officialsm.net/home/photoblog/b2-include/b2functions.php:1004) in /web/htdocs/www.officialsm.net/home/photoblog/wp-admin/b2edit.php on line 166

    Hello,
    I am running into the same problems. please see below:
    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/images/image006.jpg) is not within the allowed path(s): (/www/htdocs/navauto) in /www/htdocs/navauto/wp-admin/b2upload.php on line 158
    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/images/image006.jpg) is not within the allowed path(s): (/www/htdocs/navauto) in /www/htdocs/navauto/wp-admin/b2upload.php on line 166
    File uploaded !
    Your file image006.jpg was uploaded successfully !

    Never mind… I forgot to place — /www/htdocs/navauto infront of /image –
    so when i changed the setting to /www/htdocs/navauto/image
    it worked…

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘help needed upload image file’ is closed to new replies.