Plogger Support Forum - Collections not appearing after install Fri, 29 Mar 2024 08:01:35 +0000 http://www.plogger.org/forum/ Lussumo Vanilla 1.1.10 Collections not appearing after install http://www.plogger.org/forum/comments.php?DiscussionID=2420&Focus=9588#Comment_9588 http://www.plogger.org/forum/comments.php?DiscussionID=2420&Focus=9588#Comment_9588 Sun, 04 Jan 2009 10:25:43 +0000 frankhurt
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]]>
Collections not appearing after install http://www.plogger.org/forum/comments.php?DiscussionID=2420&Focus=9591#Comment_9591 http://www.plogger.org/forum/comments.php?DiscussionID=2420&Focus=9591#Comment_9591 Sun, 04 Jan 2009 13:40:02 +0000 sidtheduck
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.]]>
Collections not appearing after install http://www.plogger.org/forum/comments.php?DiscussionID=2420&Focus=9592#Comment_9592 http://www.plogger.org/forum/comments.php?DiscussionID=2420&Focus=9592#Comment_9592 Sun, 04 Jan 2009 15:40:27 +0000 frankhurt
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]]>
Collections not appearing after install http://www.plogger.org/forum/comments.php?DiscussionID=2420&Focus=9596#Comment_9596 http://www.plogger.org/forum/comments.php?DiscussionID=2420&Focus=9596#Comment_9596 Mon, 05 Jan 2009 01:47:50 +0000 sidtheduck
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!]]>
Collections not appearing after install http://www.plogger.org/forum/comments.php?DiscussionID=2420&Focus=9600#Comment_9600 http://www.plogger.org/forum/comments.php?DiscussionID=2420&Focus=9600#Comment_9600 Mon, 05 Jan 2009 08:48:01 +0000 frankhurt
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]]>
Collections not appearing after install http://www.plogger.org/forum/comments.php?DiscussionID=2420&Focus=9602#Comment_9602 http://www.plogger.org/forum/comments.php?DiscussionID=2420&Focus=9602#Comment_9602 Mon, 05 Jan 2009 12:13:27 +0000 sidtheduck
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"])) {
]]>
Collections not appearing after install http://www.plogger.org/forum/comments.php?DiscussionID=2420&Focus=9603#Comment_9603 http://www.plogger.org/forum/comments.php?DiscussionID=2420&Focus=9603#Comment_9603 Mon, 05 Jan 2009 13:22:17 +0000 frankhurt
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]]>
Collections not appearing after install http://www.plogger.org/forum/comments.php?DiscussionID=2420&Focus=9604#Comment_9604 http://www.plogger.org/forum/comments.php?DiscussionID=2420&Focus=9604#Comment_9604 Mon, 05 Jan 2009 13:55:13 +0000 sidtheduck
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?]]>
Collections not appearing after install http://www.plogger.org/forum/comments.php?DiscussionID=2420&Focus=9605#Comment_9605 http://www.plogger.org/forum/comments.php?DiscussionID=2420&Focus=9605#Comment_9605 Mon, 05 Jan 2009 14:17:39 +0000 frankhurt
An email is on the way

Frank]]>