searchen
Member
Posted 3 years ago #
I tried activating Exec-PHP in WP 2.5.1, and got this error message:
"Warning: main(/mnt/web1/10/51/5389751/htdocs/red07/wp-content/plugins/exec-php/includes/manager.php) [function.main]: failed to open stream: No such file or directory in /mnt/web1/10/51/5389751/htdocs/red07/wp-content/plugins/exec-php/exec-php.php on line 11
Fatal error: main() [function.require]: Failed opening required '/mnt/web1/10/51/5389751/htdocs/red07/wp-content/plugins/exec-php/includes/manager.php' (include_path='.:/opt/RZphp4/includes') in /mnt/web1/10/51/5389751/htdocs/red07/wp-content/plugins/exec-php/exec-php.php on line 11"
Can someone point me in the right direction?
Thanks
searchen
Member
Posted 3 years ago #
Duh!
An incomplete upload was the cause!
Sigh!
Anonymous
Unregistered
Posted 3 years ago #
I have a similar problem and I have retried several times. Did you make any changes to the files?
thanks
@gmarwick: Are you also getting a No such file or directory error message?
Anonymous
Unregistered
Posted 3 years ago #
Gmarwick: Copy/Paste your exact error.
Here it is, thanks
Warning: require_once(/home/nocellu/public_html/wp-content/plugins/Exec Php/includes/manager.php) [function.require-once]: failed to open stream: No such file or directory in /home/nocellu/public_html/wp-content/plugins/Exec Php/exec-php.php on line 11
Fatal error: require_once() [function.require]: Failed opening required '/home/nocellu/public_html/wp-content/plugins/Exec Php/includes/manager.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/nocellu/public_html/wp-content/plugins/Exec Php/exec-php.php on line 11
Thanks for posting your error message. Firstly, it tells you that manager.php is missing.
However, (of more concern) is the fact that your folder name for the plugin is is Exec Php, when it should be something like exec-php, so are you sure it has been installed properly?
This is a really helpful video tutorial about installing plugins by whooami.
The developer of Exec-PHP is also extremely detailed with his installation and usage information as well.
The name of the folder where Exec-PHP resides in is not hardcoded and can be changed to any arbitrary name. Nevertheless I am not sure how it works if the folder name contains spaces. That's probably the error here.
Anonymous
Unregistered
Posted 3 years ago #
Thanks all for your help. I now have it working
I renamed the folder in the plugin section