I wrote a custom plugin and I created a test wordpress installation to develop it on. I got it working and moved it to my live site. It displays just fine using my custom template files for the pages I needed. But all of the administration functionality I created is not working properly.
They are on the same version of wordpress so I don’t understand what is going on.
When I activate the plugin it correctly creates the database tables, makes an administration menu for the plugin under options, and when I click the administration menu it displays the administration screen.
However, when I try to add new records through the admin interface it fails. I don’t understand what is going wrong.
I am running the database inserts and deletes through wp_ajax
in the admin page the submit button is this:
It works in the test setup, but does not work on my live site. Any help is greatly appreciated, it is driving me up the wall.
- The topic ‘Plugin not working when moved to new site’ is closed to new replies.