| Kingsley |
|
|---|---|
|
Warning: Missing argument 4 for sed_rights_parseline(), called in /home/ecutionerz/domains/x-ecutionerz.com/public_html/site/plugins/faq/faq.admin.rights.end.php on line 43 and defined in /home/ecutionerz/domains/x-ecutionerz.com/public_html/site/system/core/admin/admin.rights.inc.php on line 143
Until a couple of days ago, this plug-in worked fine. Suddenly I get the error mentioned above, with the result that no one, not even admins can use this plugin. Can get in the plugin settings, but when I try to open the front-end I get: You're not allowed to do this. Redirecting... any ideas? |
| tensh |
|
|---|---|
|
Yep, it has a bit of typos in code.
Edit the file faq.admin.rights.end.php and replace at the end:
while ($row = sed_sql_fetcharray($sql_t3faq))
{
$link = "admin.php?m=tools&p=faq";
$title = $faq_cat[$row['auth_option']]['tpath'];
$adminmain .= sed_rights_parseline($row, $title, $link, $name);
}
It did the trick, but I don't know if it's 100% correct. $name is not defined. Added 6 minutes later: There was also a typo somewhere that didn't display the "rights" icon... but I don't remember where, check out the code. The link to icon is old, and so it's broken, system icons in Seditio were somewhere else. Dit bericht is bewerkt door tensh (2010-08-02 15:38, 15 jaren ago) |
| Kingsley |
|
|---|---|
|
Thx tensh.
I can now access it when I am logged out. But when logged in as admin, I can do everything but look at the front end.. go figure.. But it works again, and that's what counts. you the man! ![]() |
| tensh |
|
|---|---|
|
Hmm, maybe try to reinstall it, and check the access rights...
|