hi.....
Now I am try to be compitible Eventr plug in with wordpress 2.8.4
But when I clikc "create new event",it show " You do not have sufficient permissions to access this page".
I know this is because of "function user_can_access_admin_page() " wordpress\wp-admin\includes\plugin.php".
Because eventr\events.php redirect the edit.php in wordpress.
I think I have to do something before I redirect the page to edit.php.
But I don't have any idea yet.
Pls kindly help me.
Compitible for wordpress 2.8.4(HELP ME PLS )
(3 posts) (3 voices)-
Posted 2 years ago #
-
I have same the problem.
Does anyone have idea to solve it?
It is a great plugin.Posted 2 years ago # -
I had the same problem. I solved this issue by changing the following. Please note that I am running on a Windows Server, so I haven't tested this fix in a Linux environment.
In the wpframe.php file beginning line 17, there is a hack to register pages in versions of WordPress 2.8.1+.
I changed line 19 from:
foreach($pages as $p) wpf_register_page($folder . DIRECTORY_SEPARATOR . $p);
to:
foreach($pages as $p) wpf_register_page($folder . "/" . $p);And now everything seems to be working great!
Posted 2 years ago #
Reply
You must log in to post.