Upload redirect to localhost/editpics.php? instead of refresh Upload redirect to localhost/editpics.php? instead of refresh
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Upload redirect to localhost/editpics.php? instead of refresh

Started by hyrapower, September 08, 2012, 06:38:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hyrapower

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?




hyrapower

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.

ΑndrĂ©

Adjust http://documentation.coppermine-gallery.net/en/configuration.htm#admin_general_coppermine-url


Quote from: hyrapower on September 08, 2012, 06:38:25 PM
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.

hyrapower

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.