Not signed in (Sign In)

Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.

  1.  
    I followed all the instructions. Perfect install but P3 keeps telling me my file doesnt exist when I try to single upload them.

    The file does, the path is correct and it is within size limits.

    Any suggestions... Anyone!!

    PM
    • CommentAuthorjammindice
    • CommentTimeAug 17th 2007
     
    some details about your setup would help.

    do you run windows/*nix, php/apache-iis/mysql versions?

    do you get any error messages?

    if you are running windows and recieve a fatal error: you can try This post for an answer.
  2.  
    Hi,

    My host is running:

    Apache
    Linux
    MySQL 4.1.20
    Php 4.4.7

    The error message was rendered by plogger on the page. It looks like an expected error but I'm not sure why because I feel I did everything correctly.

    Cheers PM
    • CommentAuthorjammindice
    • CommentTimeAug 22nd 2007
     
    what is the error message plogger sends?

    have you checked file/folder permissions, try 777 on the appropriate folders (uploads, images, thumbs)

    anything else that would help troubleshoot?
  3.  
    When I try to upload a single image into an existing gallery using the upload tab i get an error message which is rendered in the page.

    It displays a reddish background, a red cross and states "File does not exist!"

    when I press the upload button.

    The file path is correct and the album exists. I've tried this on 2 different PC (Home and Work) and both display the same message.

    Chmod was part of the install so they are all set to 777.

    Why cant plogger find my image? The image size is really small so I'm really confused.

    Is anyone else using single upload/having this problem???

    PM
    • CommentAuthorjammindice
    • CommentTimeAug 22nd 2007
     
    ok much better...

    it looks like something is up with your php setup.

    the plogger error is based on the built-in php variable: $_FILES['userfile']['size']

    in the php manual it says:
    If no file is selected for upload in your form, PHP will return $_FILES['userfile']['size'] as 0

    and since plogger checks to make sure that $_FILES['userfile']['size'] is equal to 0 to produce that error the file is not being accepted by php for some reason.


    i imagine this is a shared server? any ideas about upgrading to php5? or recompiling php 4?

    you could try checking to make sure the following entries are in your php.ini
    file_uploads = On
    upload_tmp_dir = "/wherever/you/want"

    and setup appropriate permissions on the upload temp directory

    check out these few things and let me know what you did/what they're set to
  4.  
    It is shared hosting and not very good hosting at that www.supanames.co.uk

    I've looked on my php settings and I can set the upload_tmp_dir to go to a tmp file within my hosting otherwise it suggests it goes to a central account.

    I have posted the questions on the support desk of supanames and I'll let you know when/if they respond.

    Many thanks for your support and the great (yet simple) script.

    Cheers PM
  5.  
    Hi Jamminidice,

    Finally I got an answer from my host although it is not what I was hoping for:

    Thank you for your email.

    You currently have not set the php variable upload_tmp_dir and session_save in your MyPANEL, netiher is there an upload folder /tmp in your filesapce. Could you follow the instructions below in what I would suggest to resolve this issue.

    You will need to go into your MyPanel and go to 'Advanced Settings' and then 'PHP Settings' . Here you will need to add 'Upload_tmp_dir' and 'sessions_save_path' then access your filespace using FTP.

    You then create a directory called 'tmp' and chmod the directory to 777, then after Apache has restarted on the server the error should be resolved. Please state the absolute paths as apose to the relative paths in your code.

    Please see this link for further information: http://www.supanames.com/support/open_basedir.html

    If you require any further assistance please let me know.

    Regards,
    Mark
    Support Assistant
    Email: support1@supanames.com

    I'm assuming what they are saying in a round about way is that because it is a shared server service that they cant make the changes I asked for becuase this would change the php.ini settings globally??

    Is there anyway of adjusting the code in plogger to work in with there suggestion? I know very little about php so am guessing here. If my host can make the changes on my account without effecting others please tell me and I will press them further.

    Cheers JD, PM.
  6.  
    no it sounds like they told you exactly what you need to do... follow the instructions they gave you to enbale the temp directory uploads for php and everything will/should just work.
  7.  
    I've followed the instructions and am just waiting for the restart to see if they have worked.

    I created the tmp folder at the site top level but was wondering if I should have created the tmp folder inside the gallery folder? Does this matter?

    Cheers PM
    • CommentAuthorjammindice
    • CommentTimeSep 18th 2007
     
    no this tmp folder is global for php so you did good putting it in your main directory. but it really doesn't matter you would just have to remember where the directory is if you program anything else on your site that involves uploading files or any other uses php might have for the tmp directory.