[Closed]: Setting Admin Profile Email Address [Closed]: Setting Admin Profile Email Address
 

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

[Closed]: Setting Admin Profile Email Address

Started by Programmer in Training, January 22, 2010, 07:14:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Programmer in Training

When I was configuring CPG for the first time (http://adragonstale.joseph-a-nagy-jr.us/personas/), I set the Admin email address as I needed it.

http://www.joseph-a-nagy-jr.us/images/problems/cpg-settings-correct.jpg

I went about setting everything else as I needed it so I can distribute my Personas and everything went according to plan, or so I thought.

Once I was done setting everything up, I checked out the user profile for the Admin account (the only one that will ever be) and I saw that the email address was incorrect.

http://www.joseph-a-nagy-jr.us/images/problems/cpg-settings-incorrect.jpg

After searching the docs and finding new recourse, I decided to come here. I have non qualms about hand editing any of the files, but before I did so I just wanted to check to see if there was something basic that I was missing. I need the email address in the Admin profile to reflect a correct and valid address. I can add another user account with admin privileges, but that doesn't solve this problem if someone goes to the admin profile to look for a way to report problems or whatever (and I would rather only use the one account).

I installed this on my web host via CPanel/SimpleScripts running Linux for this account (CentOS if the error messages are to be trusted).

Nibbler

The Coppermine installer asks you to provide your email address during installation. Since you used an autoinstaller who knows... we don't support them.

Joachim Müller

Quote from: Programmer in Training on January 22, 2010, 07:14:29 PM
I installed this on my web host via CPanel/SimpleScripts
...which is the reason for the issues you had. Using auto-installers sucks and goes unsupported. The only supported install method is the one we suggest in our docs. You just figured out one of the reasons why we don't like auto-installers: what you report wouldn't have happened if you were using the installer we provide instead of relying on some auto-installer that someone else created and that contains mistakes.
The email address you enter into the installer of the version we provide doesn't go into the admin user's profile at all. Instead, it's being used to populate the corresponding config field - see http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#install_screen_start

Joachim

P.S. In the future please attach screenshots instead of hotlinking them as per board rules
P.P.S. The plural of "persona" is "personae" - see http://en.wikipedia.org/wiki/Persona  ;)

Programmer in Training

So you can't even suggest a fix? Thanks, what great support you guys have. See ya.

Joachim Müller

Quote from: Programmer in Training on January 22, 2010, 07:29:12 PM
So you can't even suggest a fix?
The fix is not to use auto-installers. Another possible fix would be to edit the profile using coppermine's UI and fill in the correct email address. What did you expect? The mistake doesn't lie in coppermine, so what miracle suggestions should we come up with? We're not familiar with the auto-installer you used and therefore we can't come up with a fix for it.
Your remark
Quote from: Programmer in Training on January 22, 2010, 07:29:12 PMThanks, what great support you guys have. See ya.
was utterly uncalled for. We haven't done anything wrong and answered your question as good as we could, while you misbehaved by not respecting board rules and blaming something on us that we have no control over. It fits that you haven't even bothered to resolve your thread. What a lousy attitude ::). Farewell.

Programmer in Training

Before I go, here is the solution, which I found after brainstorming for a bit.

Since everything is stored in MySQL:

  • login to your database (I used phpmyadmin)
  • select the db for coppermine
  • select the _users section
  • Find the appropriate entry for admin
  • Click edit
  • edit the email address and save

And you are right. My attitude was poor, but so is the support.

Programmer in Training

Quote from: Joachim Müller on January 22, 2010, 07:28:21 PM
...which is the reason for the issues you had. Using auto-installers sucks and goes unsupported. The only supported install method is the one we suggest in our docs. You just figured out one of the reasons why we don't like auto-installers: what you report wouldn't have happened if you were using the installer we provide instead of relying on some auto-installer that someone else created and that contains mistakes.

Point made and taken.

QuoteThe email address you enter into the installer of the version we provide doesn't go into the admin user's profile at all. Instead, it's being used to populate the corresponding config field - see http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#install_screen_start

I call that a bug. It should populate every email field associated with the administrator account. The admin account should also be configurable via your UI, and it is not. I would not be here if it was.

QuoteP.S. In the future please attach screenshots instead of hotlinking them as per board rules

Sorry, I won't do that because sometimes I have large images (I refuse to insert a 35KB image into any forum, never know who is on dial-up and who isn't).

Fare-thee-well.

phill104

Quote from: Programmer in Training on January 22, 2010, 08:07:16 PM

I call that a bug. It should populate every email field associated with the administrator account. The admin account should also be configurable via your UI, and it is not. I would not be here if it was.

I beg to differ, it certainly is if you download and install our version. Instead you choose to install a version of our code wrecked by your host to meet their needs, they may not want the user to edit certain things so they regain more control. We don't know what they have done to the code which is another reason we cannot suppor their work. As you dont want to upgrade to a genuine copy I will leave you to edit the tables as you see fit.

As for you calling the support poor, why should we a) Support code modified others that we don't know and b) put up with the attitude you display. We don't owe you anything. Had you simply upgraded to a copy of our code as requested you might have got a different response.
It is a mistake to think you can solve any major problems just with potatoes.

Joachim Müller

Let's just say that Mr. Nagy's attitude will shine back on him, as this thread remains premanently. Let's leave it to those who will come across this thread to judge about his attitude. Locking and marking thread as closed, as nice Mr. Nagy failed to resolve his thread although he was told to do so.

For the sake of completeness I'm attaching his hotlinked images to my posting here.