It's not in the package. The widget snippet creates it on the fly using the upgradeMODXScriptSource chunk and the settings from the widget snippet properties.
You might be able to replace all the placeholders in the chunk with the appropriate values and save the result to upgrade.php, but it would be a pain.
You should definitely see an error message in the Widget itself when it fails to write that file. You might make sure that the MODX root directory can be written to.
Quote from: BobRay at Aug 27, 2018, 08:52 PMIt's not in the package. The widget snippet creates it on the fly using the upgradeMODXScriptSource chunk and the settings from the widget snippet properties.
You might be able to replace all the placeholders in the chunk with the appropriate values and save the result to upgrade.php, but it would be a pain.
You should definitely see an error message in the Widget itself when it fails to write that file. You might make sure that the MODX root directory can be written to.
Not seeing any errors that jump out at me. I was thinking I could just change the code to write the upgrade.php to /tmp and then manually copy it to modx root. But php is not my first language (I'm a java guy). So I would probably cause more harm than good. I guess I will just follow your manual upgrade notes. ugh...
Thanks for your help,
James
Quote from: jxarms3 at Aug 27, 2018, 10:50 PMQuote from: BobRay at Aug 27, 2018, 08:52 PMIt's not in the package. The widget snippet creates it on the fly using the upgradeMODXScriptSource chunk and the settings from the widget snippet properties.
You might be able to replace all the placeholders in the chunk with the appropriate values and save the result to upgrade.php, but it would be a pain.
You should definitely see an error message in the Widget itself when it fails to write that file. You might make sure that the MODX root directory can be written to.
Not seeing any errors that jump out at me. I was thinking I could just change the code to write the upgrade.php to /tmp and then manually copy it to modx root. But php is not my first language (I'm a java guy). So I would probably cause more harm than good. I guess I will just follow your manual upgrade notes. ugh...
Thanks for your help,
James
OK, some good news. I thought MODX_BASE_PATH was ../modx. Apparently it is ../html. I opened it up and now I am seeing upgrade.php. I am running 2.4.2-pl. I click on 2.5.0-pl and your tool says it was successful. I go back to the manager and the version is still 2.4.2???
What am I doing wrong?
James