Please reupload the whole module and try again.
-
This reply was modified 8 years ago by
gm_alex.
Thread Starter
impeka
(@impeka)
Hi Alex,
I added an edit on my initial ticket that to make sure I covered all bases I downloaded a fresh version of the plugin and overwrote the current one.
What else could cause this?
Sorry didn’t noticed you answered me. If you have a look at the main plugin file (https://github.com/GM-Alex/user-access-manager/blob/master/user-access-manager.php) there is a
require_once 'init.php';
So I can only guess that the file init.php is corrupted or has wrong file permissions. Seems really strange, because normally the require_once should fail, if the files isn’t loaded. Could you double check if the file is there and has the missing function defined?
-
This reply was modified 8 years ago by
gm_alex.
Thread Starter
impeka
(@impeka)
Hi Alex,
The require_once ‘init.php’; was there but it would never load that file. I added some error logs before the init.php (and it would get there) and an error log inside the init.php file and it wouldn’t.
There was also some error logs
PHP Warning: require_once(): failed to open stream: No such file or directory in plugins/user-access-manager/user-access-manager.php on line 65
So for now, as a temporary fix I change the require_once ‘init.php’; to the full path on my server.
Can you have a look at that and maybe in your next version add the plugin path directive?
Any ideas why it would do that?
Thank you
Only idea I have is that you are using windows. But anyway I changed it to full paths for the next release. Thanks for figuring that out!