Not signed in (Sign In)

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

    • CommentAuthorfrankhurt
    • CommentTimeJan 4th 2009
     
    I have just installed Plogger for the third time and keep having the same problem. I went right to the admin page, logged in and created a collection and album. The ploggerb3/index.php page shows "no collections yet" even though the Upload tab on the admin page shows the collection and album I have created. Shouldn't the index page at least show the "plogger test collection" there by default?

    When I try to upload images to the collection/album via the (Upload tab) I get an error message "File does not exist!".

    During all 3 installations I noticed several abnormalities.
    - The install page showed some php coding in the text entry fields, so I just deleted it and entered the required info.

    - When the installation was complete I received a display telling me user name and password, however the actual info was missing.

    - At first I was unable to login until I discovered an email from plogger, quite by accident, containing the login info. Did I miss the instruction on how this was handled or is something wrong?

    My database contains the generated tables with configuration data, along with the collections and albums.

    Why don't the collections and albums show up on the plogger/index.php page and why can't I upload images?

    Any help would be greatly appreciated!

    Frank
    •  
      CommentAuthorsidtheduck
    • CommentTimeJan 4th 2009
     
    frankhurt,

    I'll try to answer your questions.

    Posted By: frankhurtShouldn't the index page at least show the "plogger test collection" there by default?
    Nope. Plogger only shows albums or collections that have an image in them (no point in showing an empty album, is there?)

    Posted By: frankhurtThe install page showed some php coding in the text entry fields, so I just deleted it and entered the required info.
    That is odd. Can you post what the code is?

    Posted By: frankhurtWhen the installation was complete I received a display telling me user name and password, however the actual info was missing.
    This sounds like a session issue. Are you running PHP5 by chance? The default setting for session.save_path in PHP5 is blank by default and has caused some issues in the past because webhosts don't set it up when upgrading to PHP5. I'm guessing this is what is happening with you.

    Posted By: frankhurtDid I miss the instruction on how this was handled or is something wrong?
    Plogger is supposed to email you the information during install.

    Posted By: frankhurtWhen I try to upload images to the collection/album via the (Upload tab) I get an error message "File does not exist!".
    You said it created the collection and album. Can you verify that it created the actual directory under 'images/'? I'm guessing that something went haywire during the install process and only the database was updated. The beta3 version has some issues with suppressed errors (especially during the install process) that we're attempting to remedy in the newest code. If you can verify that the directories were actually created and verify what the CHMOD permissions and ownership are, that would help us to determine what is going on with your installation.
    • CommentAuthorfrankhurt
    • CommentTimeJan 4th 2009
     
    Thanks for the response to my call for help!

    To provide answers:
    - The install page codes in the text fields look like this. <?=$form['db_host']?> and <?=$form['db_name']?>

    - I had my hosting service (Verio.com) change my php.ini file to session.save_path = "/tmp". I can send a screen grab if you can give me an address. The php version is 5.2.6 The display following installation included "Your username is and your password is ``".

    - The directories in the images folder have been created and the permissions on the ploggerb3 and images folders are 755. Screengrabs available.

    Although the database includes the correct tables and configuration files there is nothing in the plogger_pictures table after attempting to upload pictures. I get this message -- File does not exist!

    Many thanks for your assistance.
    Frank
    •  
      CommentAuthorsidtheduck
    • CommentTimeJan 5th 2009
     
    frankhurt,

    I took another gander at the code and that error is tripped when the temporary uploaded file (via an HTML form) has a filesize of 0 (meaning there was a problem with the upload). First, I would check what your upload_max_filesize limit is in your php.ini settings (there was a persistent bug in a few versions of PHP that gave a filesize of 0 if the uploaded file was larger than the upload_max_filesize limit). If that isn't an issue (php.ini setting is larger than the file you are trying to upload), then there is an error with your server and how it grabs it's file information for image files. If your webhost won't fix the issue, you can try to comment out the error code in your Plogger install, but it really should be in there to determine when a file being uploaded does have an error (instead of you thinking you had uploaded an image already and it didn't work due to the file being corrupted or something along those lines).

    Let us know!
    • CommentAuthorfrankhurt
    • CommentTimeJan 5th 2009 edited
     
    sidtheduck

    I checked the php.ini file and found upload_max_filesize = 64M.

    I uploaded the ploggerb3 to another site hosted with the same company and experienced the same failure. It was a new download of the software to eliminate the possibility of an error there.

    So, my hosting company is the problem and I don't know what to tell them to fix. Can you show me where this error code you mentioned is? I would like to try commenting it out before I go further.

    Thanks,
    Frank
    •  
      CommentAuthorsidtheduck
    • CommentTimeJan 5th 2009
     
    sure thing frankhurt,

    The line of code you are looking for should be lines 95-96 in admin/plog-upload.php:
    } else if (!is_allowed_extension($pi["extension"])) {
    $output .= '<p class="errors">' . plog_tr('Plogger cannot handle this type of file') . '</p>';
    } else if ($_FILES['userfile']['size'] == 0) {
    $output .= '<p class="errors">' . plog_tr('File does not exist!') . '</p>';
    } else if (!isset($_REQUEST["destination_radio"])) {

    and comment out the code with double backslashes (//) like so:
    } else if (!is_allowed_extension($pi["extension"])) {
    $output .= '<p class="errors">' . plog_tr('Plogger cannot handle this type of file') . '</p>';
    // } else if ($_FILES['userfile']['size'] == 0) {
    // $output .= '<p class="errors">' . plog_tr('File does not exist!') . '</p>';
    } else if (!isset($_REQUEST["destination_radio"])) {
    • CommentAuthorfrankhurt
    • CommentTimeJan 5th 2009
     
    sidtheduck

    Thanks for the code. Unfortunately it didn't work. Although I am able to go thru the upload process without the error code, nothing is going up. The "No collections yet" is still showing and the database "pictures" table is empty.

    The server is definitely stopping the process. I am able to FTP images to folders on the root, it's just the database table that won't accept them.

    Any more ideas?

    Frank
    •  
      CommentAuthorsidtheduck
    • CommentTimeJan 5th 2009 edited
     
    frankhurt,

    Can you create a file with the code <?php phpinfo(); ?> as the only code in it and upload it to your server? Then, please email me the link to that file via sidtheduck SPLAT gmail DOT com. I can take a look at your php.ini settings to see if anything jumps out at me.

    Also, if you could send me an example image that you are trying to upload as well, that would be great.

    As another option, can you Import photos if you upload them to the 'uploads/' folder and go to the Import tab?
    • CommentAuthorfrankhurt
    • CommentTimeJan 5th 2009
     
    sidtheduck

    An email is on the way

    Frank