Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Textpattern install 4.7.0-error: problem_connecting_update_server
I had a crazy thought. Bear with me.
Is the update server check file on GitHub, now?
If so, maybe GitHub is rate-limiting with non-authenticated users? it stands to reason that if a load of requests come in from a single (shared hosting) IP, then it might trigger rate-limiting.
I’ve had this before with GitHub with Raspberry Pi firmware updates – update too many in a given timeframe (not logged in) and it chokes.
Offline
Re: Textpattern install 4.7.0-error: problem_connecting_update_server
gaekwad wrote #312371:
Is the update server check file on GitHub, now? If so, maybe GitHub is rate-limiting with non-authenticated users?
Interesting. Maybe. I think we try textpattern.com first, then GitHub. But since this is the first time this has been used in the wild, we may see such teething problems.
Thing is, it shouldn’t even be trying and failing to contact the update server except to check for a new version – which should only happen (at most) once per 24 hours per install. It should be a ‘soft check’ and not care if something’s awry. So my gut feeling is that something host-related is going on here. Or locale- or language-related.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
Re: Textpattern install 4.7.0-error: problem_connecting_update_server
Bloke wrote #312374:
So my gut feeling is that something host-related is going on here. Or locale- or language-related.
I’m tending to agree. Also, possibly unrelated, I raised this last night – unparsed gTxt that is in the Textpack, but something’s preventing it from being shown.
Are these both considered errors? If so, it’s a leap, is there something locale-related that’s preventing some/most/all error-level messages being displayed?
Offline
#19 2018-06-06 10:47:38
- singaz
- Member
- Registered: 2017-03-12
- Posts: 150
Re: Textpattern install 4.7.0-error: problem_connecting_update_server
Bloke wrote #312374:
So my gut feeling is that something host-related is going on here.
Probably it is so.
Probably, hosting prohibits doing any request (I do not know how to check).
Because yesterday I’m upgrade another site on another hosting (vimexx.eu), and this error does not exist.

But there was a new problem: when updating php 5.6 to php 7, I get a white screen (maybe a conflict of plug-ins).
I’m checking now.
Sorry my horror English. I’m learning textpattern, I’m learning English
Offline
#20 2018-06-06 11:15:19
- singaz
- Member
- Registered: 2017-03-12
- Posts: 150
Re: Textpattern install 4.7.0-error: problem_connecting_update_server
My suggestion:
This is another “trifle”, which we have not yet determined.
When I moved the site to another hosting, I got such a “trifle” that I and support was looking for two weeks.
This “trifle” was in this. Made changes, and it worked.
Now we are looking for another “trifle”.
Sorry my horror English. I’m learning textpattern, I’m learning English
Offline
Re: Textpattern install 4.7.0-error: problem_connecting_update_server
singaz wrote #312387:
Probably, hosting prohibits doing any request (I do not know how to check).
You can try
<txp:php>
echo file_get_contents('https://textpattern.io/version.json');
</txp:php>
in some article. If it outputs nothing, that must be the case.
Offline
Re: Textpattern install 4.7.0-error: problem_connecting_update_server
Your second site’s diagnostics show apache as the web server, the first as litespeed, so the conditions are not quite the same.
TXP Builders – finely-crafted code, design and txp
Offline
#23 2018-06-07 21:25:41
- singaz
- Member
- Registered: 2017-03-12
- Posts: 150
Re: Textpattern install 4.7.0-error: problem_connecting_update_server
jakob wrote #312393:
Your second site’s diagnostics show apache as the web server, the first as litespeed, so the conditions are not quite the same.
Apache or litespeed, classic MySQL or MariaDB, usually it becomes known after purchasing a hosting.
Almost all hosts are similar, and I forgot check system requirements.
Now it is known that the textpattern works on a litterspec with some minor restrictions.
Last edited by singaz (2018-06-07 21:42:10)
Sorry my horror English. I’m learning textpattern, I’m learning English
Offline
#24 2018-06-07 21:34:46
- singaz
- Member
- Registered: 2017-03-12
- Posts: 150
Re: Textpattern install 4.7.0-error: problem_connecting_update_server
etc wrote #312392:
You can try
<txp:php>...
in some article. If it outputs nothing, that must be the case.
I have 4 different hosting.
I did 4 checks : http://mysite.com/version.json
all 4 times I got a reply : 404 Not Found
And only checking https://textpattern.io/version.json has given the answer:
textpattern-version
release "4.7.0"
prerelease
My sites are small and hostings is cheap
Sorry my horror English. I’m learning textpattern, I’m learning English
Offline
Re: Textpattern install 4.7.0-error: problem_connecting_update_server
gaekwad wrote #312343:
Create a
phpinfo()file in your website directory – here are some example instructions: mediatemple.net/community/products/dv/204643880/how-can-i-create-a-phpinfo.php-pageLoad the page in your browser, and search for all instances of
allow_url_– can you post the results here?
sorry, i was away for working.
Here the both line:
Directive Local Value Master Value
allow_url_fopen Off Off
allow_url_include Off Off
My Website with 4.7.0 is online on Webhosting, not lokal on pc.
Last edited by lythande (2018-06-08 12:47:52)
Offline
Re: Textpattern install 4.7.0-error: problem_connecting_update_server
In the Diagnosis I have changing from “general” to “detailed” and get this Error:
User_Error “You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘(original)’ at line 1”
in /(mydomain-path)/textpattern/lib/txplib_db.php at line 410.adminErrorHandler()
textpattern/lib/txplib_db.php:410 trigger_error()
textpattern/include/txp_diag.php:670 safe_query()
textpattern/include/txp_diag.php:66 doDiagnostics()
textpattern/index.php:254 include()
Diagnosis-windows:
Textpattern version: 4.7.0 (53fc1f9d4acb1026986bf89845c7a95d)
Last update: 1970-01-01 00:00:00/2018-05-22 21:56:40
Textpattern path: __TXP-ROOT/textpattern
Article URL pattern: section_title
Production status: debug
Temporary directory path: __TXP-ROOT/textpattern/tmp
PHP version: 5.6.31
GD Graphics Library: bundled (2.1.0 compatible); Supported formats: GIF, JPEG, PNG.
Server timezone: Europe/Berlin
Server local time: 2018-06-08 14:40:50
Daylight Saving Time enabled?: 1
Automatically adjust Daylight Saving Time setting?: 1
Time zone (GMT offset in seconds): Europe/Berlin (3600)
MySQL: 5.6.19-67.0-log (Source distribution)
Database server time: 2018-06-08 14:40:50
Database server time offset: 0 s
Database server timezone: SYSTEM
Database session timezone: SYSTEM
Locale: de_DE.UTF-8
Web server: Apache/2.4.29
PHP server API: cgi-fcgi
RFC 2616 headers: 0
Server OS: Linux 3.14.79-grsec-pvops-xen-x64
Admin-side theme: hive 4.7.0
Active plugins: com_connect-4.6.0-beta (modified) dtj_obfuscated_email-0.3 (modified) mem_form-0.8.4 mem_simple_form-0.3.1 pap_contact_cleaner-0.1 (modified) rah_external_output-1.1.0 rah_gps-0.1 smd_wrap-0.20 soo_image-1.0.b.9 soo_plugin_pref-0.2.3 soo_toc-0.1.5 soo_txp_obj-1.1.2Pre-flight check:
————————————problem_connecting_update_server
————————————.htaccess file contents:
————————————
- BEGIN Textpattern
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default<IfModule mod_rewrite.c> RewriteEngine On #RewriteBase /relative/web/path/ RewriteBase /
RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]
RewriteCond %{REQUEST_URI} !=/favicon.ico RewriteRule ^(.*) index.php
RewriteCond %{HTTP:Authorization} !^$ RewriteRule .* – [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule><IfModule mod_mime.c> AddType image/svg+xml svg svgz AddEncoding gzip svgz
</IfModule>
- END Textpattern
————————————
Last edited by lythande (2018-06-08 12:42:16)
Offline