Jump to content

Admin error - solved


5SA CEO

Recommended Posts

Hi guys,

I have made a school boy error today.

I wanted to change my callsign to match with the one I would normally use, i.e. from 5SA0001 (admin) to 5SA389 (which I use) however I saw that I could it on the admin page and just didit with thinking then, I cannot get back into the admin pages, where can I change the settings to accept my new callsign as the admin for the site?

Thanks

Deano

5SA389

5 STAR VIRTUAL AVIATION CEO

http://5starvirtualaviation.com/

Link to comment
Share on other sites

thanks James,

I dont know a thing about all this so must do some reading soon.

I found the file in mysql but when I changed it to 1 I get the following

SQL query:

UPDATE`fivstar6_phpvms`.`phpvms_pilots`SET`pilotid`='1' WHERE`phpvms_pilots`.`pilotid`=389

MySQL said:

#1451 - Cannot delete or update a parent row: a foreign key constraint fails (`fivstar6_phpvms`.`phpvms_groupmembers`, CONSTRAINT `phpvms_groupmembers_ibfk_2` FOREIGN KEY (`pilotid`) REFERENCES `phpvms_pilots` (`pilotid`) ON DELETE CASCADE)

so what next?

Now I went to look at the site and all I am getting is a blank page, I think I may have to re-install and start again, at least I saved the schedules, eh!!

thanks for the support guys

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...