Fixed it. Accidentally unselected admin_control and had to reinsert it using SQL Query.
Printable View
Can you please tell me which SQL commands you used to fix it ?
Another way to make database repairs like this is to go into your SQL server console, if you have one. A common one for MySQL is phpMyAdmin. As part of that, there is an ability to browse a database and perform hand edits. There are different ways to get there, but many site will have it under the "CPanel" web site control console.
The first time I installed Profiles, I knew I needed the user with ID = 1 to be an Admin level user, and I was ready for that. What I didn't know was, they'd changed the password on that account! Everything was locked out! I went into phpMyAdmin and rearranged the user IDs to change the user ID on my account to 1. Problem solved!
I have installed profiles before and it works. However now I have an issue where the interface comes up, I can tick the boxes and save but next time I visit the user's permissions nothing is ticked.
Logging on as the user, nothing shows up in the menus either.
I did enact the security recommendations some time back to change the admin folder name. So, I renamed it back to admin (with the app cfg changes) but profiles still does not work.
Any ideas?
hey you guys.I could not find a new thread button so i will put my store here.
I uploaded the adminprofile package and now i get this error:
Parse error: syntax error, unexpected '}' in /admin/includes/boxes/modules_dhtml.php on line 46.
my line 46 is totally blank.
Can anybody help me out.?
thanks
This works great. But how can I do this with the orders, to prevent the users from deleting orders, go to packing slip and invoice.
It is about this code in orders.php
The red code I want to secureCode:$contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=edit', 'NONSSL') . '">' . zen_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . zen_href_link(FILENAME_ORDERS, zen_get_all_get_params(array('oID', 'action')) . 'oID=' . $oInfo->orders_id . '&action=delete', 'NONSSL') . '">' . zen_image_button('button_delete.gif', IMAGE_DELETE) . '</a>');
$contents[] = array('align' => 'center', 'text' => '<a href="' . zen_href_link(FILENAME_ORDERS_INVOICE, 'oID=' . $oInfo->orders_id) . '" TARGET="_blank">' . zen_image_button('button_invoice.gif', IMAGE_ORDERS_INVOICE) . '</a> <a href="' . zen_href_link(FILENAME_ORDERS_PACKINGSLIP, 'oID=' . $oInfo->orders_id) . '" TARGET="_blank">' . zen_image_button('button_packingslip.gif', IMAGE_ORDERS_PACKINGSLIP) . '</a>');
$contents[] = array('text' => '<br />' . TEXT_DATE_ORDER_CREATED . ' ' . zen_date_short($oInfo->date_purchased));
$contents[] = array('text' => '<br />' . $oInfo->customers_email_address);
$contents[] = array('text' => TEXT_INFO_IP_ADDRESS . ' ' . $oInfo->ip_address);
if (zen_not_null($oInfo->last_modified)) $contents[] = array('text' => TEXT_DATE_ORDER_LAST_MODIFIED . ' ' . zen_date_short($oInfo->last_modified));
$contents[] = array('text' => '<br />' . TEXT_INFO_PAYMENT_METHOD . ' ' . $oInfo->payment_method);
$contents[] = array('text' => '<br />' . ENTRY_SHIPPING . ' ' . $oInfo->shipping_method);
I have a zencart 1.38a .it have be set admin profiles, install ok. I can enter admin control home,but i can'nt set any .enter :tool/ admin setting.(there is one user of admin)/permission, all item have be select.but i can'nt change it. why ,how to get admin permission ,pl help!