Upload OK, but getting message: Failed! Upload OK, but getting message: Failed!
 

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

Upload OK, but getting message: Failed!

Started by alfisti-164, February 03, 2012, 11:29:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

alfisti-164

I'm having issues when uploading on my Coppermine driven gallery http://alfa164register.nl/community/albums/index.php

With an upload, the upload goes great, but every time i get the message that it's failed.
The actual pictures are made, just like i want to, but for a user of my site that doesn't know that will try uploading again...

Here's the test user account data:
    Username: alfisti-164_testuser
    Password: pegasus01

On this picture the Debug says everything is OK, but on top of the screen the red box that says: Failed...
The popup that i get after uploading is there too...
http://alfa164register.nl/_temp/error.jpg

Thanks in advance for your suggestions.

Αndré

I assume it works with this link: http://alfa164register.nl/community/albums/index.php?theme=curve

I haven't tested that, but if it works you have to review your custom theme.


http://documentation.coppermine-gallery.net/en/theme_copyright.htm
No footer - no support!

alfisti-164

Thanks for your answer!

I'm sorry or the Footer, I removed it because it was projected at the top of the screen.
I shuffled some div's around now, and I have put it back (Now on the right spot!).
I never ment to 'just' remove it, so I can get credits or something... It was a cosmetic reason, but now that's fixed.

I hope you want to help me again, because the problem is still there. Whatever theme I use, the problem stays.
It is a test environment, so you can do what you want. I hope you can help!

Αndré

Have a look at your HTML source code and you'll find
<!--
if (isset($bridge_lookup)) {
    $default_bridge_data[$bridge_lookup] = array(
        'full_name' => 'phpBB version 3',
        'short_name' => 'phpbb3',
        'support_url' => 'http://www.phpbb.com/',
        'full_forum_url_default' => 'http://localhost/164_NL',
        'full_forum_url_used' => 'http://localhost/164_NL',
        'relative_path_to_config_file_default' => '../..',
        'relative_path_to_config_file_used' => '../../config.php',
        'use_post_based_groups_default' => '0',
        'use_post_based_groups_used' => 'radio,1,0',
        'cookie_prefix_default' => '',
        'cookie_prefix_used' => '',
    );
} else {
-->


It seems that this code is injected to every page, so I assume it's also injected to the upload response headers, which will cause your issue. Try to fix that and uploads will probably work as expected.

alfisti-164

I fixed the problem, but it still doesn't work... Can it be a problem with the bridging to my PhpBB 3 forum?

Thanks again!

Αndré

I can still see that code in the HTML output.