Upload a file and setttings redirect to home page Upload a file and setttings redirect to home page
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Upload a file and setttings redirect to home page

Started by neige, January 15, 2016, 12:23:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

neige

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

phill104

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.
It is a mistake to think you can solve any major problems just with potatoes.

neige


phill104

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.
It is a mistake to think you can solve any major problems just with potatoes.

neige

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

Thank you!

neige

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! :'(

phill104

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

neige

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

gmc

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...
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money


gmc

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/
Thanks!
Greg
My Coppermine Gallery
Need a web hosting account? See my gallery for an offer for CPG Forum users.
Send me money

Αndré

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?

neige


neige

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

Αndré

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.