forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: hyrapower on September 08, 2012, 06:38:25 pm

Title: Upload redirect to localhost/editpics.php? instead of refresh
Post by: hyrapower on September 08, 2012, 06:38:25 pm
I am running a server bridged with phpbb3. No issues with that. All file rev 8359. Coppermine Version 1.5.20

Counter|Type                            |Path                                                       |Missing     |Permissions|Version    |Revision |Modified       |Comment
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      1|file                            |include/functions.inc.php                                  |            |           |1.5.20 (OK)|8359 (OK)|Modified (!)   |Warning
I threw in a line for gettext() located in one of your other tickets. That is the only warning I have received.


canvas.nku.edu/gallery

When I upload something it works fine until you hit the 'continue' button in the flash based upload. The upload completes successfully.
It redirects me to http://localhost/editpics.php?album=25&newer_than=garbagenumbers instead of refreshing the upload page.

http://localhost/editpics.php?album=25&newer_than=1347121561

The line I have for editpics.php for the continue is

'continue' => cpg_fetch_icon('right', 0),

I know I have something relatively simple going on here but I can't pinpoint it.

I am unable to provide a test login. But it is a repeatable issue that has been duplicated by all users more than 60% of the time.

I also wasn't able to find this issue in any other issue ticket or in the basic documentation.

The folders 'include' and 'albums' have full write access through Apache.

Any ideas?



Title: Re: Upload redirect to localhost/editpics.php? instead of refresh
Post by: hyrapower on September 10, 2012, 06:01:39 am
In short the flash upload works fine. Everything says completed. Then you hit the continue button under the files you uploaded and it brings you to some unresolvable localhost page that doesn't seem to route back to the upload page. Other than that everything runs fine.

This is a problem for me because users think uploads have failed, so I get to manually sift through and delete 15 of the same image because they thought it failed.
Title: Re: Upload redirect to localhost/editpics.php? instead of refresh
Post by: Αndré on September 11, 2012, 10:06:28 am
Adjust http://documentation.coppermine-gallery.net/en/configuration.htm#admin_general_coppermine-url


I also wasn't able to find this issue in any other issue ticket
That has already been asked and answered at least a dozen of times in a similar way. Usually users set the config value quite correct, but they use a different subdomain to access their gallery. Those users will be logged out after clicking "continue", as the URL redirects them to the gallery but the cookies does not match.
Title: Re: Upload redirect to localhost/editpics.php? instead of refresh
Post by: hyrapower on September 11, 2012, 04:35:19 pm
That would make sense if they were logged out. They are not. Instead they just redirected oddly.

Anyway, thanks, that did fix the problem. Maybe you should append your FAQ to state the actual list of problems users have instead of stating 'users may experience funny problems'. This may curb poor last resort issues like mine.

Anyone else reading this. If you have any issues regarding login or redirects that are wrong. THIS IS USUALLY YOUR PROBLEM.