Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Upload redirect to localhost/editpics.php? instead of refresh  (Read 4131 times)

0 Members and 1 Guest are viewing this topic.

hyrapower

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Upload redirect to localhost/editpics.php? instead of refresh
« 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?



Logged

hyrapower

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Upload redirect to localhost/editpics.php? instead of refresh
« Reply #1 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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Upload redirect to localhost/editpics.php? instead of refresh
« Reply #2 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.
Logged

hyrapower

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Upload redirect to localhost/editpics.php? instead of refresh
« Reply #3 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.