I'm talking about going through the dashboard not editing tables.
if you can edit categories and save each category it should update your permissions. and you should then be able to go into admin and edit categories now within the admin role as well (where you had an error before).
does that fix things up.
how many categories do you have and how many roles do you have.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
3.
can you save everything else you change via dashboard (other permission for roles) but only have a problem with categoriy permission changes saving.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
3.
can you save everything else you change via dashboard (other permission for roles) but only have a problem with categoriy permission changes saving.
Fatal Error in PDOStatement.execute();
PDOStatement::execute(): SQLSTATE[HY093]: Invalid parameter number: parameter was not defined
The error occurred on or near: /home/waeph/public_html/fresh/library/database/class.database.php
you should probably drop the permissions and roles table in the new database, and import the ones from your old live database into the new database and you will be back to where you started.
I don't know know how to solve.
something with your database seems to be not right. because a clean install works.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Can't I just backup my old db (minus role/permission tables) and delete everything, do a clean install of vanilla and then import my db and assign roles from scratch? Will this work?
Comments
I a) emptied the GDN_Permission and GDN_Role (new) and b) Imported the two tables I originally exported in step 1 into the new install (/folder).
I understand now.
can you edit the categories by going into categories.
i didn't think about custom categories which wouldn't have been in the permissions table.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Yes. So I need to do the same with the tables that contain the custom categories? (not sure where they are located exactly)
I'm talking about going through the dashboard not editing tables.
if you can edit categories and save each category it should update your permissions. and you should then be able to go into admin and edit categories now within the admin role as well (where you had an error before).
does that fix things up.
how many categories do you have and how many roles do you have.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Not working, same error. I can edit pretty much everything BUT the custom permissions for each category.
2 custom perm categories and 2 extra roles (besides the standard ones).
only the custom categories you can't edit or the other categories as well?
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
8 total, 2 with custom permissions
only the custom categories you can't edit or the other categories as well?
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
I get an error on all categories whenever I click on "This category has custom permissions" and then "Save".
1.
run this in phpmyadmin
SELECT CategoryID FROM
GDN_Category
and post your results.
2.
also what is the error message you get again.
3.
can you save everything else you change via dashboard (other permission for roles) but only have a problem with categoriy permission changes saving.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Fatal Error in PDOStatement.execute();
PDOStatement::execute(): SQLSTATE[HY093]: Invalid parameter number: parameter was not defined
The error occurred on or near: /home/waeph/public_html/fresh/library/database/class.database.php
Yes. (if that was a question)
ok now can you give me a screenshot of the permissions table.
with these columns PermissionID RoleID JunctionTable JunctionColumn JunctionID
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
ok insert a few more records into the permissions table
try adding records
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
@peregrine
Done.
any luck with custom permissions on any category now?
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Unfortunately not.
sorry, I surrender, and i don't know.
you should probably drop the permissions and roles table in the new database, and import the ones from your old live database into the new database and you will be back to where you started.
I don't know know how to solve.
something with your database seems to be not right. because a clean install works.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
Can't I just backup my old db (minus role/permission tables) and delete everything, do a clean install of vanilla and then import my db and assign roles from scratch? Will this work?
the only other thing to try if you are not tired. is to install new database.
add all the categories (to mimic your old database). ( the 8 with two custom permissions)
add the extra roles as well (to mimic your old database).
then save the role and permissions tables with the above changes.
try editing roles and categories.
then import the old database again.
and then import the two new tables roles and permissions and see if that works.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.