<![CDATA[ upgradeMODX 'Versions Empty -check github_username...' - My Forums]]> https://forums.modx.com/thread/?thread=104584 <![CDATA[upgradeMODX 'Versions Empty -check github_username...']]> https://forums.modx.com/thread/104584/upgrademodx-versions-empty--check-github-username?page=4#dis-post-562515 Versions Empty - check github_username and github_token System Settings.

I created a github token an inserted the username and token to the system-settings, cleared the cache, but the result is still the error message.

What can I do?

Thank you for helping!]]>
telebube Nov 03, 2018, 08:53 PM https://forums.modx.com/thread/104584/upgrademodx-versions-empty--check-github-username?page=4#dis-post-562515
<![CDATA[Re: upgradeMODX 'Versions Empty -check github_username...']]> https://forums.modx.com/thread/104584/upgrademodx-versions-empty--check-github-username?page=4#dis-post-563056
It's insecure to have that setting off permanently. One possible fix is to download a current SSL cert file (in .pem format) and put its full path in the ugm_cert_path System Setting.
]]>
BobRay Dec 03, 2018, 07:57 AM https://forums.modx.com/thread/104584/upgrademodx-versions-empty--check-github-username?page=4#dis-post-563056
<![CDATA[Re: upgradeMODX 'Versions Empty -check github_username...']]> https://forums.modx.com/thread/104584/upgrademodx-versions-empty--check-github-username?page=4#dis-post-563055
]]>
BobRay Dec 02, 2018, 09:32 PM https://forums.modx.com/thread/104584/upgrademodx-versions-empty--check-github-username?page=4#dis-post-563055
<![CDATA[Re: upgradeMODX 'Versions Empty -check github_username...']]> https://forums.modx.com/thread/104584/upgrademodx-versions-empty--check-github-username?page=4#dis-post-563053 Quote from: BobRay at Dec 02, 2018, 03:44 AM
Wait, here's a question I should have asked a while ago. Are you on a localhost XAMPP install where this path would make sense:

VersionListPath: C:/xampp/htdocs/modx/core/cache/upgrademodx/

On a http://ccj.wat.edu.pl/modx/index.php?id=1039

VersionListPath: C:/xampp/htdocs/modx/core/cache/upgrademodx/
TempDirPath: C:/xampp/htdocs/modx/ugmtemp/

On a http://localhost/modx/index.php?id=1039

VersionListPath: C:/xampp/htdocs/modx/core/cache/upgrademodx/
TempDirPath: C:/xampp/htdocs/modx/ugmtemp/

?]]>
gkarol Dec 02, 2018, 07:13 PM https://forums.modx.com/thread/104584/upgrademodx-versions-empty--check-github-username?page=4#dis-post-563053
<![CDATA[Re: upgradeMODX 'Versions Empty -check github_username...']]> https://forums.modx.com/thread/104584/upgrademodx-versions-empty--check-github-username?page=4#dis-post-563048
VersionListPath: C:/xampp/htdocs/modx/core/cache/upgrademodx/
]]>
BobRay Dec 02, 2018, 03:44 AM https://forums.modx.com/thread/104584/upgrademodx-versions-empty--check-github-username?page=4#dis-post-563048
<![CDATA[Re: upgradeMODX 'Versions Empty -check github_username...']]> https://forums.modx.com/thread/104584/upgrademodx-versions-empty--check-github-username?page=4#dis-post-563047

]]>
BobRay Dec 02, 2018, 03:13 AM https://forums.modx.com/thread/104584/upgrademodx-versions-empty--check-github-username?page=4#dis-post-563047
<![CDATA[Re: upgradeMODX 'Versions Empty -check github_username...']]> https://forums.modx.com/thread/104584/upgrademodx-versions-empty--check-github-username?page=4#dis-post-563046 Quote from: BobRay at Dec 01, 2018, 10:53 PM
I can't for the life of me figure out where that local xampp path is coming from. That's clearly the problem, but it's not coming from the System Setting and the only other way it should appear at all is if the devMode system setting is on. And I'm not getting it at Bob's Guides where the current version of UGM is running. It's a puzzler.

One thing left to try.

In the core/components/upgrademodx/model/upgrademodx/upgrademodx.class.php file add these lines at the end of the init() function (just before the closing brace near line 157):

$cm = $modx->getCacheManager();
$this->versionListPath = $cm->getCachePath() . 'upgrademodx/;


You might want to re-install UGM first to get your other system settings back.

1) Re-install;
2) add this line;
$cm = $this->modx->getCacheManager();
$this->versionListPath = $cm->getCachePath().'upgrademodx/';

3) Error: Versions Empty - check github_username and github_token System Settings


]]>
gkarol Dec 01, 2018, 11:21 PM https://forums.modx.com/thread/104584/upgrademodx-versions-empty--check-github-username?page=4#dis-post-563046
<![CDATA[Re: upgradeMODX 'Versions Empty -check github_username...']]> https://forums.modx.com/thread/104584/upgrademodx-versions-empty--check-github-username?page=3#dis-post-563044
One thing left to try.

In the core/components/upgrademodx/model/upgrademodx/upgrademodx.class.php file add these lines at the end of the init() function (just before the closing brace near line 157):

$cm = $modx->getCacheManager();
$this->versionListPath = $cm->getCachePath() . 'upgrademodx/;


You might want to re-install UGM first to get your other system settings back.]]>
BobRay Dec 01, 2018, 10:53 PM https://forums.modx.com/thread/104584/upgrademodx-versions-empty--check-github-username?page=3#dis-post-563044
<![CDATA[Re: upgradeMODX 'Versions Empty -check github_username...']]> https://forums.modx.com/thread/104584/upgrademodx-versions-empty--check-github-username?page=3#dis-post-563043 Quote from: BobRay at Dec 01, 2018, 10:21 PM
Do you have a ugm.devMode System Setting in either the core namespace or the upgrademodx namespace? If so, what is it set to?

BTW, I just meant to blank out that one ugm_version_list_path setting.

I don't have ugm.devMode in the core namespace and the upgrademodx namespace.]]>
gkarol Dec 01, 2018, 10:38 PM https://forums.modx.com/thread/104584/upgrademodx-versions-empty--check-github-username?page=3#dis-post-563043
<![CDATA[Re: upgradeMODX 'Versions Empty -check github_username...']]> https://forums.modx.com/thread/104584/upgrademodx-versions-empty--check-github-username?page=3#dis-post-563042
BTW, I just meant to blank out that one ugm_version_list_path setting.]]>
BobRay Dec 01, 2018, 10:21 PM https://forums.modx.com/thread/104584/upgrademodx-versions-empty--check-github-username?page=3#dis-post-563042