Code: Select all
Failed to obtain latest version information.
Re-Check version
Code: Select all
"version-check": {
"host": "github.com",
"directory": "/phpbb-seo/versioncheck",
"filename": "usu.json"
}
Code: Select all
Failed to obtain latest version information.
Re-Check version
Code: Select all
"version-check": {
"host": "github.com",
"directory": "/phpbb-seo/versioncheck",
"filename": "usu.json"
}
Code: Select all
"version-check": {
"host": "versioncheck.hifikabin.me.uk",
"directory": "/310",
"filename": "/aprilfalls__versions.json"
}
}
}
not workingHiFiKabin wrote: ↑Fri May 03, 2019 8:53 am You forgot the leading slash on the filemane. EG
Code: Select all
"version-check": { "host": "versioncheck.hifikabin.me.uk", "directory": "/310", "filename": "/aprilfalls__versions.json" } } }
i created a page and put my json on it...this is my new code and still not workingAbaddonOrmuz wrote: ↑Fri May 03, 2019 9:17 am If I remember correctly, it doen't work if you use the GitHub repository directly, or at least it didn't work for me back then.
I think it's because it's served as text not as JSON, it works however, using GitHub Pages.
https://pages.github.com/
Code: Select all
"version-check": {
"host": "phpbb-seo.github.io",
"directory": "/",
"filename": "usu.json"
}
Code: Select all
{
"stable": {
"0.0": {
"current": "1.0.0-RC2",
"announcement": "https://phpbb.hifikabin.me.uk/viewtopic.php?p=645#p645",
"download": "https://phpbb.hifikabin.me.uk/download/file.php?id=986",
"eol": null,
"security": false
}
}
}
YAML files, tabs are ok for the JSON ones instead.MarkDHamill wrote: ↑Sat May 04, 2019 5:11 pm Are you using tab characters in the file? JSON files should not have them.
i changed it but still not workingVSE wrote: ↑Sat May 04, 2019 3:54 pm His version-check is fine. The problem is probably the usu.json file:
https://phpbb-seo.github.io/usu.json
404 Not found
Also when I looked at the other one he linked to, the stable branch version is wrong. Should be 1.0:Code: Select all
{ "stable": { "0.0": { "current": "1.0.0-RC2", "announcement": "https://phpbb.hifikabin.me.uk/viewtopic.php?p=645#p645", "download": "https://phpbb.hifikabin.me.uk/download/file.php?id=986", "eol": null, "security": false } } }
Because many things are still wrong. Just do this:Meis2M wrote: ↑Sat May 04, 2019 7:01 pmi changed it but still not workingVSE wrote: ↑Sat May 04, 2019 3:54 pm His version-check is fine. The problem is probably the usu.json file:
https://phpbb-seo.github.io/usu.json
404 Not found
Also when I looked at the other one he linked to, the stable branch version is wrong. Should be 1.0:Code: Select all
{ "stable": { "0.0": { "current": "1.0.0-RC2", "announcement": "https://phpbb.hifikabin.me.uk/viewtopic.php?p=645#p645", "download": "https://phpbb.hifikabin.me.uk/download/file.php?id=986", "eol": null, "security": false } } }
https://phpbb-seo.github.io/versions/usu.json
Code: Select all
{
"unstable": {
"2.0": {
"current": "2.0.0-b3",
"announcement": "http://www.phpbb-seo.org/community/announcements-f2",
"download": "https://github.com/phpbb-seo/usu/archive/beta-3.zip",
"eol": null,
"security": false
}
}
}
Code: Select all
"version-check": {
"host": "phpbb-seo.github.io",
"directory": "/versions",
"filename": "usu.json"
}
i'm still errorVSE wrote: ↑Sun May 05, 2019 12:46 amBecause many things are still wrong. Just do this:Meis2M wrote: ↑Sat May 04, 2019 7:01 pmi changed it but still not workingVSE wrote: ↑Sat May 04, 2019 3:54 pm His version-check is fine. The problem is probably the usu.json file:
https://phpbb-seo.github.io/usu.json
404 Not found
Also when I looked at the other one he linked to, the stable branch version is wrong. Should be 1.0:Code: Select all
{ "stable": { "0.0": { "current": "1.0.0-RC2", "announcement": "https://phpbb.hifikabin.me.uk/viewtopic.php?p=645#p645", "download": "https://phpbb.hifikabin.me.uk/download/file.php?id=986", "eol": null, "security": false } } }
https://phpbb-seo.github.io/versions/usu.jsonCode: Select all
{ "unstable": { "2.0": { "current": "2.0.0-b3", "announcement": "http://www.phpbb-seo.org/community/announcements-f2", "download": "https://github.com/phpbb-seo/usu/archive/beta-3.zip", "eol": null, "security": false } } }
Also the tabs and spacing on all your JSON files is a mess. you need to get that sorted and under control.Code: Select all
"version-check": { "host": "phpbb-seo.github.io", "directory": "/versions", "filename": "usu.json" }
Code: Select all
{
"name": "phpbbseo/usu",
"type": "phpbb-extension",
"description": "This Extension will URL rewrite phpBB URLs in various manners, injecting, or not, forums and topic titles in their URLS, each URL being rewritten once, no matter the number of links using it on the page.",
"homepage": "http://www.phpbb-seo.org",
"version": "2.0.0-b1",
"keywords": ["phpbbSEO", "extension", "seo", "Friendly User"],
"time": "2017-12-20",
"license": "GPL-2.0",
"authors": [
{
"name": "Meis@M",
"email": "[email protected]",
"homepage": "http://www.phpbb-seo.org/",
"role": "Lead Developer"
},
{
"name": "dcz",
"role": "Previous Developer"
},
{
"name": "Carlo",
"email": "[email protected]",
"homepage": "http://www.phpbbitalia.net/",
"role": "Previous Developer"
}
],
"require": {
"php": ">=5.4.2"
},
"require-dev": {
"phpbb/epv": "dev-master"
},
"extra": {
"display-name": "Ultimate phpBB SEO Friendly URL",
"soft-require": {
"phpbb/phpbb": "3.2.*@dev"
},
"version-check": {
"host": "phpbb-seo.github.io",
"directory": "/versions",
"filename": "usu.json"
}
}
}
It works, if you use the subdomainAbaddonOrmuz wrote: ↑Fri May 03, 2019 9:17 am If I remember correctly, it doen't work if you use the GitHub repository directly, or at least it didn't work for me back then.
raw.
and with a small change in the URL. My LFWWH ext demonstrates how this works.composer.json
:Code: Select all
"version-check": {
"host": "phpbb-seo.github.io",
"directory": "/versions",
"filename": "usu.json",
"ssl": true
composer.json
with tabs and spaces.