permission error on /wp/wp-admin/post.php
-
Have installed php_everywhere on a WP 4.6.1 test site (hosted by Vidahost) and found it to work well for allowing me to run some php code in a page to extract data from a self created database.
However, the live site is with another ISP (uk2.net) and there, whilst I can run some basic php, I find that when saving a page update with all the php code in, WP throws an error and tells me I’m not authorised to access /wp/wp-admin/post.php.
Both WP versions and php_everywhere versions are the same. So given its just with the page save, anyone any idea where else would my problem be coming from?I’ve tried removing bits of the php code and can get it to save OK on the uk2 WP, until I add the following
echo ‘<div style=”height:200; overflow-y:scroll;”>’;
echo ‘</div>’;(of course I want some code in here really but even without it, the error appears – though I can’t see whats wrong)
I’ve tried removing the plugin and re-installing
I did wonder if it was database (MySQL) version.Are there any limits to what php_everywhere can handle.
My original code on the live site (non-WP) – uses mysql_query whereas the working version on the test site is using mysqli_query, but for creeating the DB connection and opening I can use either in the new WP site.
Any thoughts appreciated.
- The topic ‘permission error on /wp/wp-admin/post.php’ is closed to new replies.