Renaming admin.php Issue

3 posts by 2 authors in: Forums > CMS Builder
Last Post: May 22, 2015   (RSS)

By Perchpole - May 21, 2015

Hello, All -

After recently upgrading to the latest version of CMSB I took the advice in the settings window and renamed my admin.php file...

All seemed to work as normal until I tried to change several records at once with the "Save All Changes" advanced command option. When I did this the system threw a wobbly and showed an error message. CMSB was trying to reload admin.php - which no-longer exists. (I have the Permalinks plugin installed so it showed up as a Peramlink error - but it was easy to see what was going on.)

:0/

Perch

By Dave - May 21, 2015

Hi Perch, 

Sounds like you've got a custom plugin that is hardcoded to redirect to admin.php.

If it's the one I'm thinking of search for admin.php to find this line:

header( 'Location: admin.php?bulksave=true&menu=' . $tableName );

And remove the admin.php to leave you with this:

header( 'Location: ?bulksave=true&menu=' . $tableName );

Let me know if that works for you.  Thanks!

Dave Edis - Senior Developer
interactivetools.com