forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 upload => Topic started by: alfisti-164 on February 03, 2012, 11:29:00 am

Title: Upload OK, but getting message: Failed!
Post by: alfisti-164 on February 03, 2012, 11:29:00 am
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 (http://alfa164register.nl/_temp/error.jpg)

Thanks in advance for your suggestions.
Title: Re: Upload OK, but getting message: Failed!
Post by: Αndré on February 03, 2012, 03:03:59 pm
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!
Title: Re: Upload OK, but getting message: Failed!
Post by: alfisti-164 on February 04, 2012, 05:15:27 pm
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!
Title: Re: Upload OK, but getting message: Failed!
Post by: Αndré on February 04, 2012, 06:31:12 pm
Have a look at your HTML source code and you'll find
Code: [Select]
<!--
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.
Title: Re: Upload OK, but getting message: Failed!
Post by: alfisti-164 on February 06, 2012, 09:11:52 pm
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!
Title: Re: Upload OK, but getting message: Failed!
Post by: Αndré on February 24, 2012, 01:36:36 pm
I can still see that code in the HTML output.