Getting asked to register in the BACKEND!

14 years 8 months ago #106970 by carlosleon0615
Replied by carlosleon0615 on topic Re:Getting asked to register in the BACKEND!
NEWLY FOUND INFO:
I just noticed that this issue happens when I'm not logged in (as a superadmin) in the frontend. Whenever I'm logged in the frontend, then I can execute anything in the backend.
And this happens for any superadmins. In my previous test, I must have been logged in the frontend with the new superadmin I had created and that's why it was working in the backend.

This is an odd behavior but at least there's a workaround. There were other things not working in the backend for the hwdvideoshare component that were due to this same problem. For example, if when I'm not logged in the frontend, I can't watch videos in the backend.

Although there is this workaround, what worries me is that there may be some "automatic" tasks that hwdvideoshare does from time to time that might get blocked by CBSubs. For example, hwdvideoshare automatically regenerates from time to time the "Most Viewed" playlist. It is currently not working on my site but other users (not using CBSubs) have this working.
I wonder now if CBSubs is causing this, what do you think? Is it possible that CBSubs might be blocking some functionality that gets done automatically from time to time?

Now to your questions/suggestions:

You may want to inspect your database if this is the case. It looks like something went wrong with a plan.

I'd be happy to do it but I need some guidance. What would I be looking for?

Did you delete a plan or subscription by chance? Have you tried deleting all information pertaining to this users plans/subscriptions?

I might have already done all this. Let me explain.
Before I made my site live, I had done tons of testing with CBSubs. For every test, I would create a new "test" user and subscribe to a plan.
When I was satisfied, I deleted about 45 "test" users. After doing that, the "Subscriptions" table was empty. However, I noticed that there were lots of entries in the History Logs, Notifications and (if I remember correctly) the Baskets. Since you can't delete any of these entries from the backend I used phpMyAdmin to empty those tables.
I did this to ensure I would make my site live with everything being clean (clean tables and no unexistent users pointing to any subscription plans or notifications).

I never created a subscription for my superadmin account though. So, I'm still surprised there was recently a notification about my superadmin's subscription being expired.

I just re-read your post and you mention:
[code:1]
CBSubs -> Settings -> Integration -> Content/Extension -> Full Access granted for = Administrator
[/code:1]
Did you make sure to select Administrato AND Super Administrator? It doesn't auto assign to higher up access. You need to hold ctrl and multi-select all usertypes that ignore protection. This could be the problem. B)

Indeed the super administrator was Not selected. However, I was able to login with my super admin account through the frontend without any problem and I have access to the hwdvideoshare component (protected by my plans). So, there might not be need to select the Super Administrator.
Regardless, I just selected both, the "Administrator" and "Super Administrator" in this setting but it made No difference.

Regards,

Carlos

Please Log in to join the conversation.

14 years 8 months ago #106983 by krileon
Replied by krileon on topic Re:Getting asked to register in the BACKEND!
Due to your large amount of testing and deleting you likely corrupted your installation. Never perform tests on a soon to be live setup. Always rebuild entirely with what you've selected. I suggest starting over as it could be any number of things, but likely database corruption.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

14 years 8 months ago #106986 by carlosleon0615
Replied by carlosleon0615 on topic Re:Getting asked to register in the BACKEND!

Due to your large amount of testing and deleting you likely corrupted your installation.

This sounds odd to me. In the life of a live website, there will be lots of users subscribed and deleted among many other things. I certainly wouldn't expect these typical actions to corrupt the database and have to start from scratch.
My tests were simply real scenarios, but only fictitious users.

I suggest starting over as it could be any number of things, but likely database corruption

Well, my site is now live and has some subscribers. I can't simply delete those users' subscriptions.
Or maybe I'm misunderstanding, what do you mean by "starting over"?
Also, what from what I mentioned could have corrupted the database?

Thanks,

Carlos

Please Log in to join the conversation.

14 years 8 months ago #106989 by krileon
Replied by krileon on topic Re:Getting asked to register in the BACKEND!

...Since you can't delete any of these entries from the backend I used phpMyAdmin to empty those tables.


You made direct changes to the database, if the feature to delete isn't provided then you are not meant to delete. CBSubs is a very complex and powerful plugin, there are reasons some features aren't provided.

It is not ideal for 45 users to be deleted, including their subscriptions, and all records of them. This is not a real situation, all information should be kept for your records as CBSubs intended, you simply only needed to delete the users and their subscriptions would cancel (or cancel the subscriptions then delete users as this is preferred).

I suggest making a new install in a subfolder to see if issue is able to be duplicated. If not then it is the installation, if so there it's likely a host related issue. This is the best test to perform in order to help narrow it down for further troubleshooting.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

14 years 8 months ago #106995 by carlosleon0615
Replied by carlosleon0615 on topic Re:Getting asked to register in the BACKEND!
krileon wrote:

I suggest making a new install in a subfolder to see if issue is able to be duplicated. If not then it is the installation, if so there it's likely a host related issue. This is the best test to perform in order to help narrow it down for further troubleshooting.

Ok. I'll try this. Before I do this though, what is it that we are trying to prove with this?

Do we agree that it's odd I should login in the frontend to be able to access some of hwdvideoshare's functionality in the backend?
Or is this "expected" for those tasks that hwdvideoshare executes "frontend code" in the backend?
Or is it that being a superadmin, I shouldn't run into this (i.e. being asked to login in the backend when I'm not logged in into the frontend)?

Because if I am able to reproduce it and the answer will be that all of the above is "expected", then I would have simply wasted my time performing a brand new installation.

Thanks,

Carlos

Please Log in to join the conversation.

14 years 8 months ago #107051 by krileon
Replied by krileon on topic Re:Getting asked to register in the BACKEND!
A fresh install will prove if it's host related, component related, or if it's your current installation that is corrupt.

If this is the only component doing this then it's likely component related. If your other super admins are working fine. Then your super admin account may have been messed up by you deleting directly from the database. You can try creating a new super admin, delete your previous super admin, edit your new super admin, change the new super admins userid back to 62 and that should correct the issue, but ALWAYS make backups of your database before doing anything like this.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.214 seconds

Facebook Twitter LinkedIn