Issue with uploaded image - preview not showing up thus image not being uploaded Issue with uploaded image - preview not showing up thus image not being uploaded
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Issue with uploaded image - preview not showing up thus image not being uploaded

Started by michael@mugglenet.com, January 30, 2007, 09:54:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

michael@mugglenet.com

Hello,

I am having an issue getting new images to upload properly. I have provided screen shots to help with my explanation.

Step 1: Upload the image
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fi177.photobucket.com%2Falbums%2Fw218%2Fmugglenet_help%2Fimage1.png&hash=fdb508d660228c9f807c567ac20c527a47a8d6b0)
Step 2: Receive the message that the image has been uploaded successfully
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fi177.photobucket.com%2Falbums%2Fw218%2Fmugglenet_help%2Fimage2.png&hash=d0a9d1dadb74f7d814c9ba4bf65a45b110e22949)
Step 3: Add the image to an album
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fi177.photobucket.com%2Falbums%2Fw218%2Fmugglenet_help%2Fimage3.png&hash=e9a21419e160da8508bfcb7189d316bd85e74baa)
This is where the error is: The preview image does not show up. I went under element properties with Firefox and retrieved this information. I logged onto the FTP account and went inside the proper folder and the image is there, simply under a different 8 character extraction of an md5 hash. Image is provided below.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fi177.photobucket.com%2Falbums%2Fw218%2Fmugglenet_help%2Fimage4.png&hash=648c42d0358349dc85f9b3a8f1314226daa1fcc5)
Step 4: Add information about the image
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fi177.photobucket.com%2Falbums%2Fw218%2Fmugglenet_help%2Fimage5.png&hash=933d4b44fd0acf8ac994a5e6fc7107042b406268)
Step 5: Image was not placed, and the image was placed?
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fi177.photobucket.com%2Falbums%2Fw218%2Fmugglenet_help%2Fimage6.png&hash=d6e17c83e59fe4d2627ab755f2c47fbde1774cdb)

The image fails to upload any time one attempts to upload it.

What is a resolution to this issue that can be applied soon. Thank You.

Michael


michael@mugglenet.com

I have already researched that page. No information on how to fix the issue is present.

Further assistance?

Nibbler

Please do as suggested so that we can help you.

QuoteWhen asking for support on the coppermine forum, post a link to your site and a test user account (the test user mustn't be in the admin group!) with upload privileges, with the above mentioned settings in place - this way, supporters can see the error messages as well. Do not post debug_output unless requested.

When people have issues with uploading and decide to post their question on the Coppermine support board, they usually are told to read this upload troubleshooting section. Many of them fail to do so properly, which results in frustration both for users as well as supporters. To make this absolutely clear: the above mentioned steps are absolutely mandatory, no matter what skill level you have, no matter what upload method you have troubles with. Failing to do exactly as suggested will result in your request for help being ignored. Yes, this applies to you. We mean it!

michael@mugglenet.com

If I had authorization to create a new account I would have done so. I did read the documentation. But since that is out of the question due to security reasons from higher officials of the server, screen caps and text explanations are all I can do for you.

If you need to have the issue explained in more detail, please let me know. But as far as I am concerned, I believe I have the issue pretty clear enough to understand.

Joachim Müller

Quote from: michael@mugglenet.com on January 30, 2007, 11:05:38 PM
If I had authorization to create a new account I would have done so. I did read the documentation. But since that is out of the question due to security reasons from higher officials of the server, screen caps and text explanations are all I can do for you.
Either get permissions from those authorities or fix the issue for yourself. How could we possibly help if you're not doing as suggested - we're not mind readers. You're suppossed to switch to single file uploads with debug_mode on. This should give you a better error message. The screenshots cleraly show that you have not done as suggested. Do exactly as suggested in the upload troubleshooting section, we haven't provided those steps just for fun. They are the only possible method to find out what is wrong.

michael@mugglenet.com

Notices
/include/picmgmt.inc.php

    * Notice line 205: Undefined index: OS
    * Warning line 225: unlink(./albums/edit/preview_691cb6c4.jpg) [function.unlink]: No such file or directory

/include/functions.inc.php

    * Notice line 2672: Undefined variable: i

michael@mugglenet.com

Okay, so I now have access to give you an account. If you could IM me, I would feel more secure about it. AIM is maapt88.


michael@mugglenet.com

Even better, I found the solution. The image library wasn't GD 2.X.X - it was ImageMagik and that causes everything not to work.

eruss

Quote from: michael@mugglenet.com on February 01, 2007, 04:43:03 AM
Even better, I found the solution. The image library wasn't GD 2.X.X - it was ImageMagik and that causes everything not to work.

If you remove the path for ImageMagick, you will use GD by default.  Or you can find the proper path to ImageMagick.

http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#WhatIsGD

http://coppermine-gallery.net/demo/cpg14x/docs/faq.htm#whatIsImageMagick

Joachim Müller