Jump to content

Unable to upgrade.... /admin_xyz/sources/maintenance/index.inc.php - not found.


Recommended Posts

Thanks again. I am fully upgraded, and full-functional.

One last thing, I have a pesky piece of code that is somehow being displayed on the first line of the screen.  It is there on any admin screen, as well as any customer-viewed screen.  The code is shown in the pic

$glob['install_source'] = 'softaculous';

Can I safely remove it?

Promise:Last Question


Link to comment
Share on other sites

Please look in the file /includes/global.inc.php.

It may be the last line of the file.

If so, the problem could be that there is a closing PHP tag, followed by that line. Like as follows:

$glob['safe_mode'] = false; // Set to true to disable hooks and code snippets, 'hooks' to disable code hooks and 'snippets' to disable code snippets
$glob['install_source'] = 'softaculous'; ?>

This is not correct. There must be only one closing PHP tag (which is the two characters ?>) and it must be the very last thing in this file.

Also, this file may be 'read-only', so in order to fix it, you will need to unset the 'read only' flag, remove the ?> that is not at the end of the file, and save it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...