Advanced search  

News:

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

Pages: [1]   Go Down

Author Topic: Upload a file and setttings redirect to home page  (Read 3056 times)

0 Members and 1 Guest are viewing this topic.

neige

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Upload a file and setttings redirect to home page
« on: January 15, 2016, 12:23:13 pm »

Hi I just installed the script using softaculous and it looks fine except I can't do anything, Upload and settings and few more links just redirect to home page. I could not find any .htaccess file, should I create one and what should be in it? For exemple My profile link works well.
Thank you
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4483
    • Windsurf.me
Re: Upload a file and setttings redirect to home page
« Reply #1 on: January 15, 2016, 12:39:54 pm »

Unfortunately we cannot support installs made with one click installers such as the one you used. We would love to, but often they either use out of date versions of our software and worse still, introduce their own code which we just do not know. In addition, these installers often set a password, or introduce advertising script.

It is however very easy to ensure you have s supported version by following the upgrade procedure outlined in the docs - http://documentation.coppermine-gallery.net/en/upgrading.htm

Upgrading only takes a couple of minutes and requires minimal skill. If you struggle feel free to ask and we will do our best to help.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

neige

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Upload a file and setttings redirect to home page
« Reply #2 on: January 15, 2016, 12:55:37 pm »

hi it already installed the Version 1.5.40
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4483
    • Windsurf.me
Re: Upload a file and setttings redirect to home page
« Reply #3 on: January 15, 2016, 02:09:32 pm »

Yes, but the softalicious edited version. The code gets changed by their admins to fit the needs of their installer which can and does cause issues.

Upgrade then if problems still exist post a link so we can take a look and assist.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

neige

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Upload a file and setttings redirect to home page
« Reply #4 on: January 15, 2016, 10:02:01 pm »

hi! I just did and checked the file versions but still the same  :(

Thank you!
Logged

neige

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Upload a file and setttings redirect to home page
« Reply #5 on: January 17, 2016, 11:35:27 pm »

Hi is there a way I can fix this issue? I really wish I could set this up but anything that makes a request to the database is just redirecting to hosting account home page, even though I even reinstalled everything manually. Thank you! :'(
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4483
    • Windsurf.me
Re: Upload a file and setttings redirect to home page
« Reply #6 on: January 18, 2016, 12:19:24 am »

A link to your site will really help. In addition, have you set the path to your gallery in the config correctly?
Logged
It is a mistake to think you can solve any major problems just with potatoes.

neige

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Upload a file and setttings redirect to home page
« Reply #7 on: January 18, 2016, 12:22:50 am »

Hi, http://webdesign.halalmedias.com/
where is the gallery link setting? I cannot access the configuration page either.
Logged

gmc

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 723
    • GMC Design Photo Gallery
Re: Upload a file and setttings redirect to home page
« Reply #8 on: January 20, 2016, 05:44:40 pm »

The setting is under 'General Settings' - URL of your Coppermine gallery folder (with a trailing slash, no 'index.php' or similar at the end)
In the database - it is in the config table (cpg15x_config with your prefix for 'cpg15x_') with name 'ecards_more_pic_target'  (doesn't sound logical - but that was the first use for the value - and it's name hasn't changed.)

The gallery seems to navigate fine for me - for an empty galley that I can't login to... but following links for last upload, etc seems to bring up proper pages and is certainly making calls to the database to determine there is nothing there...
Logged
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money

neige

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Upload a file and setttings redirect to home page
« Reply #9 on: January 21, 2016, 01:43:12 am »

the link http://webdesign.halalmedias.com/admin.php redirects to home page
the link http://webdesign.halalmedias.com/upload.php redirects to home page
Logged

gmc

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 723
    • GMC Design Photo Gallery
Re: Upload a file and setttings redirect to home page
« Reply #10 on: January 21, 2016, 02:58:24 am »

You already said no .htaccess files..
Were you able to validate the database setting for 'ecards_more_pic_target' ?  should be set to: http://webdesign.halalmedias.com/
Logged
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15415
Re: Upload a file and setttings redirect to home page
« Reply #11 on: January 21, 2016, 09:31:09 am »

It seems every page that usually prints an error (like "permission denied" or "missing parameter") redirects to /
- http://webdesign.halalmedias.com/displayimage.php
- http://webdesign.halalmedias.com/util.php
- http://webdesign.halalmedias.com/register.php
- http://webdesign.halalmedias.com/update.php

Oddly, the same applies for http://webdesign.halalmedias.com/CHANGELOG.txt - I think we can start to debug with that information. Please have a look at your gallery's root directory, does that file exist?
Logged

neige

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Upload a file and setttings redirect to home page
« Reply #12 on: January 24, 2016, 03:23:29 am »

Thank you! yes the file exists
Logged

neige

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: Upload a file and setttings redirect to home page
« Reply #13 on: January 24, 2016, 03:43:54 am »

could it be related to the fact it is installed in a subdomain? thank you!
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15415
Re: Upload a file and setttings redirect to home page
« Reply #14 on: January 24, 2016, 12:07:14 pm »

If it even happens for text files (where Coppermine isn't involved at all), there must be some redirection of your web server. Please ask your hosting provider for support.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 21 queries.