Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Big upgrade jump
Are you sure all files inside /textpattern/
are correctly updated?
the content-type for the css file(s) is set in /textpattern/publish.php
I think.
Maybe try to do a ”fresh” install – delete all files inside /textpattern/
except config.php
, and eventually a .htaccess
file.
Upload all files from the downloaded textpattern 4.7.3 (or higher): index.php
. css.php
and all files inside /textpattern/
Access skewray.com/textpattern/
, login to finish the updating.
Access the public side, all should work correctly.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: Big upgrade jump
It looks like you got it working again. Well done! If you can, though, try updating right up to the current textpattern version and a more recent PHP. If the css is not quite right, I’m sure we at the forum can assist in getting it working. I suspect cbs_category_list can be replaced with txp:category_list if it’s not compatible with more recent textpattern versions. A lot of the core tags have become more powerful and flexible over the years thanks to the dev’s efforts.
phiw13 wrote #336844:
Maybe try to do a ”fresh” install – delete all files inside
/textpattern/
exceptconfig.php
, and eventually a.htaccess
file.
That’s correct for the older versions. Newer versions of txp also make a /textpattern/plugin/
directory that should also be retained.
TXP Builders – finely-crafted code, design and txp
Offline
Re: Big upgrade jump
jakob wrote #336850:
That’s correct for the older versions. Newer versions of txp also make a
/textpattern/plugin/
directory that should also be retained.
Sure, but that did not apply in this case (that /textpattern/plugin/
folder is 4.8). And with recentish Textpattern versions, the /textpattern/admin-themes/
could contain user configuration – alternative admin theme, custom.css or custom.js files. At least with the plugins folder, the content is re-generated after the user logs in.
Glad to see that the site is now up in full glory!
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: Big upgrade jump
I had a brainwave – if CSS broke on upgrade, just change the site to use a static CSS file instead of css.php. So, I did that before the upgrade to 4.7.3. The result is that the public website works great, but the admin side is broken; the pull-downs on the top menu bar don’t appear when clicked. The admin site still looks the same, so it is using css.php fine. There must be some other problem.
Any suggestions?
Last edited by skewray (2024-04-09 02:09:27)
Offline
Re: Big upgrade jump
First thought: log out, clear all browser caches, and try again. Or force reload maybe.
Can you access the diagnostics panel: domain.tld/textpattern/index.php?event=diag
and report any unexpected warning our error ?
(if necessary, copy the last part of that URL above, after the ?
, and replace the existing in the browser location bar)
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: Big upgrade jump
Not a cache issue – I tried with a completely cleaned fresh version of Opera, just to be different, and got the same behaviour. Diagnostic Info:
Textpattern version: 4.7.3 (7c46d1f4c8ac79e62a7d5e54a9ddac53)
Last update: 2024-04-09 16:47:01/2024-04-09 16:46:42
Textpattern path: __TXP-ROOT/textpattern
Article URL pattern: section_title
Production status: live
Temporary directory path: __TXP-ROOT/textpattern/tmp
PHP version: 7.3.33
GD Graphics Library: bundled (2.1.0 compatible); Supported formats: GIF, JPEG, PNG, WebP.
Server timezone: UTC
Server local time: 2024-04-09 16:48:33
Daylight Saving Time enabled?: 1
Automatically adjust Daylight Saving Time setting?: 1
Time zone (GMT offset in seconds): America/Los_Angeles (-28800)
MySQL: 5.5.5-10.6.17-MariaDB-cll-lve-log (MariaDB Server)
Database server time: 2024-04-09 09:48:33
Database server time offset: 0 s
Database server timezone: SYSTEM
Database session timezone: SYSTEM
Locale: en_US.UTF-8
Site / Admin language: en-us / en-us
Web server: LiteSpeed
PHP server API: litespeed
RFC 2616 headers:
Server OS: Linux 3.10.0-962.3.2.lve1.5.83.el7.x86_64
Admin-side theme: hive 4.7.3
Active plugins:
cbs_category_list-0.9
hpw_admincss-0.1
rah_nocache-0.4.0
Pre-flight check:
------------------------
New Textpattern version 4.8.8 available for download.
Theme directory is not writable: __TXP-ROOT/themes.
------------------------
Last update check: 2024-04-09 16:47:38, New Textpattern version 4.8.8 available for download.
Charset (default/config): latin1/utf8
character_set_client: utf8mb3
character_set_connection: utf8mb3
character_set_database: latin1
character_set_filesystem: binary
character_set_results: utf8mb3
character_set_server: latin1
character_set_system: utf8mb3
character_sets_dir: /usr/share/mysql/charsets/
collation_connection: utf8mb3_general_ci
collation_database: latin1_swedish_ci
collation_server: latin1_swedish_ci
18 database tables: OK
10 custom fields: custom_1, custom_2, custom_3, custom_4, custom_5, custom_6, custom_7, custom_8, custom_9, custom_10 (10)
Apache modules: mod_rewrite, mod_mime, mod_headers, mod_expires, mod_auth_basic
/admin-themes/classic/classic.php:
22d3c19a723175abfcaf0bba669af95c
/admin-themes/hive/assets/js/main.js:
ac04c501a65858d97d0c0ef8b561e169
/admin-themes/hive/hive.php:
ccc996a0543e30f1622a6c27c07f866a
/admin-themes/hiveneutral/assets/js/main.js:
ac04c501a65858d97d0c0ef8b561e169
/admin-themes/hiveneutral/hiveneutral.php:
8d2e258a812ebae2359983dd02a942f8
/include/txp_admin.php:
192492c5d6fc47cece83ff77a4f1e3eb
/include/txp_article.php:
de22352ec9ae3dd3a617ea2e574c27e7
/include/txp_auth.php:
0b1ee0d625570446a5c6e17cbeba9a8e
/include/txp_category.php:
dad3ff5deee1c5e631231339ce579048
/include/txp_css.php:
8a4cffcf45681a639256a496c5a4a7f7
/include/txp_diag.php:
5509b32be22e4cf35c42556d4b1f87b7
/include/txp_discuss.php:
3e89935633d28800d7bdfdda28e3a3f9
/include/txp_file.php:
466ed8aff62e339c2bc622757ebfab46
/include/txp_form.php:
44eae7956c9c9eab298858d5a800de7f
/include/txp_image.php:
3277abe5a1dc74fcca146d326be454ff
/include/txp_lang.php:
bb9d36e1daed51ff67081de0195f124b
/include/txp_link.php:
97a2b180a180d8689efcf24a6faca689
/include/txp_list.php:
48eb37a860589d155b9d237c101dba57
/include/txp_log.php:
d60bd3aac91a3fc38302097be76f6e80
/include/txp_page.php:
db55948f12fe8153f4db82d255481186
/include/txp_pane.php:
2f77b1d0040e4da01d02a3d63e3bfafe
/include/txp_plugin.php:
44b207db167587a286e9d1fc460d3d6a
/include/txp_prefs.php:
503dc0ce0303ae3acfeea3644cb2e96a
/include/txp_section.php:
fd5770ec4781222bb5c8d67218fe684d
/include/txp_skin.php:
fa719e00dbea63ea2ba9f4a4bd8b7f3e
/include/txp_tag.php:
536481f00350f86fa1337befc28e44bb
/index.php:
0b5fb517891df3fb9f41e23742d31399
/lib/admin_config.php:
de990b3bad7345a8411569e26eea2638
/lib/class.thumb.php:
6eae7d0b705769962596ae5a8e3eeac0
/lib/class.trace.php:
055e3bc1f8d3217aec152fa7e6216b1d
/lib/classTextile.php:
5e2bd854e8f27488f7b21772f80a2127
/lib/constants.php:
e4ed8d3360d2f442a428f6fd0a38b90a
/lib/IXRClass.php:
a1b525b4a9ed12dcb5677d5232a3d92e
/lib/PasswordHash.php:
66a8aa4b2d6e0527877a797907efc035
/lib/taglib.php:
a502ea4f9a864ea84d570932b75ed7a4
/lib/txplib_admin.php:
55fddd69342c4575220bc728309ce124
/lib/txplib_db.php:
3e3e98faccb33d4d6697e8e17eead691
/lib/txplib_forms.php:
4425aad5da907ba5a2caa7ce533f8857
/lib/txplib_head.php:
624c69bcae11f81586381439ea5ef970
/lib/txplib_html.php:
fc6bcdf1c80c24fda407ddc987957623
/lib/txplib_misc.php:
6b132a30cad67cda24d437b2e0bb0881
/lib/txplib_publish.php:
de0222dba4ac85acce4dfc8f9d828a4d
/lib/txplib_theme.php:
e2cea0c5e7e61a8d8e35772376b2629a
/lib/txplib_update.php:
83176dfe938da5cbfb306c85096c6dea
/lib/txplib_validator.php:
cd66a8c4687374b925690434c17bb7dd
/lib/txplib_wrapper.php:
999ff8b06925c21439d825d673bd1a6a
/publish/atom.php:
2d14111383d7a955f3e7711a24414bbf
/publish/comment.php:
3001bd8c2d69555f8ab6e2e01db62745
/publish/log.php:
4f0a4f47f9545050970331e6a8536829
/publish/rss.php:
758428c65760b5e2a948aae602375f4a
/publish/search.php:
3bda337be2e2be4202630516535cfc31
/publish/taghandlers.php:
ce9ae3c542bb631f84eecc25d58b1326
/publish.php:
4ba75afd517ded854ac4693afadede06
/textpattern.js:
b274cde5613ae6e5267e078cd476dd4c
/update/_to_4.0.3.php:
1eb1d65224e6720617909b187d38536a
/update/_to_4.0.4.php:
a5f9972d4b12f5b42e376a7436e94995
/update/_to_4.0.5.php:
4e75519b1af99475561484a7fda01591
/update/_to_4.0.6.php:
d0460a2b6ebcedc06a37ffe903807215
/update/_to_4.0.7.php:
2e45717fb76d902948d0c0aa234e9021
/update/_to_4.0.8.php:
3903e6d4e61c28c020ba2c523ac9e371
/update/_to_4.2.0.php:
0a533e281dacb5fc129d0bffc3491b75
/update/_to_4.3.0.php:
405641e125938e7080db4827080d4084
/update/_to_4.5.0.php:
d02c09bf389267ea90addb1b5371b0fc
/update/_to_4.5.7.php:
e79eb5451e13e0b22b1e8506e6648996
/update/_to_4.6.0.php:
8150a661d127a963fd7181d1327473a8
/update/_to_4.7.0.php:
42b6ffcf44b597e8b456da8c67f7174b
/update/_to_4.7.2.php:
8a9802a22cb741c3d66733a8adc03997
/update/_update.php:
a793529f77123107b615348b87c31c9c
/vendors/blueimp/fileupload/jquery.fileupload.js:
4413ac97907103d4b570f9b9988b10f2
/vendors/jquery/jquery/jquery.js:
a09e13ee94d51c524b7e2a728c7d4039
/vendors/jquery/jquery-ui/jquery-ui.js:
c15b1008dec3c8967ea657a7bb4baaec
/vendors/Netcarver/Textile/DataBag.php:
67ab988e7ab1d072937acbbcb023a288
/vendors/Netcarver/Textile/Parser.php:
d6f9b63a458d8b3038d981c98a6ba656
/vendors/Netcarver/Textile/Tag.php:
25162c1720f10e6bd1bd50a4ea95761c
/vendors/PrismJS/prism/prism.js:
20ad36b691229c5bf6b6cd590713f089
/vendors/Textpattern/Adaptable/AdapterInterface.php:
952eb6d3e02af168b91dc60801f6708e
/vendors/Textpattern/Adaptable/Providable.php:
d711ae0b0ce53b82d76e096b4291f985
/vendors/Textpattern/Adaptable/ProvidableInterface.php:
98707a134d2c9ca09ea719a002bce55d
/vendors/Textpattern/Admin/Paginator.php:
e973a0b0ce7bbb3ea3378d2a715c82f2
/vendors/Textpattern/Admin/Table.php:
61ea0872c240331efcc35f10a1916272
/vendors/Textpattern/Admin/Theme.php:
c81bcede46b3cbe701ee68a27109f1dd
/vendors/Textpattern/Admin/Tools.php:
eb90671b3aca016fa7751f8e2e43f130
/vendors/Textpattern/Container/Container.php:
207801a9ed4529a35759f9f2957df85a
/vendors/Textpattern/Container/ContainerInterface.php:
ab86f4bf6aa7c468147d2eb8847194e2
/vendors/Textpattern/Container/FactorableInterface.php:
82ca53ba28a79281e8bdc28f9a2535f6
/vendors/Textpattern/Container/FactoryInterface.php:
3eb1da7f0a9703ef95b6a85aba595112
/vendors/Textpattern/Container/ReusableInterface.php:
574b6d7df1c6221b3ab904b8a4ba2e51
/vendors/Textpattern/Date/Timezone.php:
b9bc771e9712037c8195b5e1fac345b8
/vendors/Textpattern/DB/Core.php:
eacefab165c05ada8ec2a671ae2a6afb
/vendors/Textpattern/Filter/Exception.php:
4f634dda8bdee6be64c19ca20e97ab44
/vendors/Textpattern/Filter/FilterCallable.php:
52f36906acc27168930ba0bd003eb73a
/vendors/Textpattern/Filter/StringFilter.php:
26606efe2a2269a14be675b010c1e08d
/vendors/Textpattern/Http/Request.php:
9bf697c488c7e142071efe704a04da29
/vendors/Textpattern/Import/TxpXML.php:
916a184cd6503e62f287472357c9980e
/vendors/Textpattern/Iterator/FileIterator.php:
dee7038c9a00b6fa75b48505cfc92cac
/vendors/Textpattern/Iterator/RecDirIterator.php:
0fed6f61f292ed8c6532266a972594ce
/vendors/Textpattern/Iterator/RecFilterIterator.php:
8bb4d36d83a10123d18607f797a55a9e
/vendors/Textpattern/Iterator/RecIteratorIterator.php:
23d22e236d3b99d65129a79042b1add5
/vendors/Textpattern/L10n/Lang.php:
4332865b8c5ee08ea1afab8ec4d31292
/vendors/Textpattern/L10n/Locale.php:
7672222c8572ef06f3e9cf75698e8938
/vendors/Textpattern/Loader.php:
e0c062f560b38b18f9197c01fbd24243
/vendors/Textpattern/Mail/Adapter/Mail.php:
77bd23cd6add70e8b3084c22f3a20622
/vendors/Textpattern/Mail/AdapterInterface.php:
49a3dfc325bafc4f7e57926fe199145c
/vendors/Textpattern/Mail/Compose.php:
7e4c13381e0e21f163ddea19e998ca5c
/vendors/Textpattern/Mail/Encode.php:
967ed969a0c31af9be29ae6dcb22f988
/vendors/Textpattern/Mail/Exception.php:
a69bad3be1bc3ae1744f2b2488947f2c
/vendors/Textpattern/Mail/Message.php:
0452018581766f6134ebcd2e8cfef975
/vendors/Textpattern/Module/Help/HelpAdmin.php:
8a71a5d9c80c4d683f5f4c93d8bcf46f
/vendors/Textpattern/Password/Adapter/PasswordHash.php:
95ea9346892ab09b62dd883cc7cfee62
/vendors/Textpattern/Password/AdapterInterface.php:
5ce5978f33eec575a64fd88609bbe337
/vendors/Textpattern/Password/Generator.php:
22edc90b366e619b9512df02b80b5e02
/vendors/Textpattern/Password/Hash.php:
e0e82972140ad7570ed209fcb0fd4ecd
/vendors/Textpattern/Password/Random.php:
06b4542d2a54c9cd536058277d6679b8
/vendors/Textpattern/Plugin/Plugin.php:
ec7f1528de08bd0459d3a83898420629
/vendors/Textpattern/Search/Filter.php:
23043bd3b0821bc52b1f04e985ef10d7
/vendors/Textpattern/Search/Method.php:
fcabc3759a883564f04b6ea5cbc8bfef
/vendors/Textpattern/Security/Exception.php:
ce377bdbcd837b002c4c423301a6bc78
/vendors/Textpattern/Security/Filter.php:
997caac41f3c5485b3f6b61289913387
/vendors/Textpattern/Server/Config.php:
8439ba84f71960cd8ce8f21dd40a2cd0
/vendors/Textpattern/Server/Files.php:
ae75e01fd81def32a4c6eca03f8c87c0
/vendors/Textpattern/Skin/AssetBase.php:
ec17bc300a40238d12c371e2dd57b61f
/vendors/Textpattern/Skin/AssetInterface.php:
e185f36d19655baba5f8faa058869f8b
/vendors/Textpattern/Skin/CommonBase.php:
70b45f4780150ab74d02ec18881671d7
/vendors/Textpattern/Skin/CommonInterface.php:
f4b13593a32577927b1e671a902ff7ac
/vendors/Textpattern/Skin/Css.php:
67bfd234a0d376ac00f68f8742664939
/vendors/Textpattern/Skin/CssInterface.php:
2ccfc15a31f228891fa457e7c62fcbbd
/vendors/Textpattern/Skin/Form.php:
bafa4d6f2fb10da2305f7004ea1c41eb
/vendors/Textpattern/Skin/FormInterface.php:
f7b795cc756d9df91c5cc3d198a27d1c
/vendors/Textpattern/Skin/Page.php:
2cc93abb58527cb84c306dc0b1df1308
/vendors/Textpattern/Skin/PageInterface.php:
51b80d5b81be2eeac759293f7c4759da
/vendors/Textpattern/Skin/Skin.php:
47716d2072ce77214d3ca9314c45b4c9
/vendors/Textpattern/Skin/SkinInterface.php:
13e8dc66a94a92b14c0c2a49eff80a08
/vendors/Textpattern/Tag/Registry.php:
772ae8370b84ada3b47c889cc9979560
/vendors/Textpattern/Tag/Syntax/Authors.php:
c1d8695102f1a034462833ee40bcb766
/vendors/Textpattern/Tag/Syntax/File.php:
27d2661712a413e1a2ab2d112ee7ce37
/vendors/Textpattern/Tag/Syntax/Image.php:
c7e9106a6ba6fc884e4eb1a9e26dd489
/vendors/Textpattern/Tag/Syntax/Link.php:
aa2c0f8213111ce1e31c426722da8014
/vendors/Textpattern/Tag/Syntax/Partial.php:
bacfe9997de9ce0ac88271803fb1c872
/vendors/Textpattern/Textfilter/Base.php:
d94378005812312df8fa638c48ff4592
/vendors/Textpattern/Textfilter/Constraint.php:
4b01848ca4d221f1ff93211a9b4dc394
/vendors/Textpattern/Textfilter/Nl2Br.php:
28d284e49bbdac4fd6c3b0b792e2d895
/vendors/Textpattern/Textfilter/Plain.php:
9e926ec02e0b09dcaa1e9e94c0b78d84
/vendors/Textpattern/Textfilter/Registry.php:
1cefa9ff950c7b9fdcdcec9366041831
/vendors/Textpattern/Textfilter/TextfilterInterface.php:
f91848cc602b580a25fb7203ea536dae
/vendors/Textpattern/Textfilter/Textile.php:
c4f5834c7cbb13afb8c5210ccd1697a6
/vendors/Textpattern/Textile/Parser.php:
807c32989dcc1675fb2c90453b65d309
/vendors/Textpattern/Textile/RestrictedParser.php:
620dcae9785c06beaa351329bb329353
/vendors/Textpattern/Textpack/Parser.php:
c7d4d964f388bc5f3aed0453693d45e4
/vendors/Textpattern/Textpack/String/Iterator.php:
46ad8c048be0e3f1adef5805d71042fc
/vendors/Textpattern/Textpack/StringInterface.php:
4bad39d098eefb0ed68b83eb78db3355
/vendors/Textpattern/Type/StringType.php:
407c063e99d5a031a88afbe8f11db33f
/vendors/Textpattern/Type/TypeCallable.php:
d8643cb41d9e3b1b638eaedbb38eb490
/vendors/Textpattern/Type/TypeInterface.php:
49fcae64df79f784d9d5565a78f6ab23
/vendors/Textpattern/Validator/BlankConstraint.php:
c8a70eb6347338f0f6926fed4468d0b8
/vendors/Textpattern/Validator/CategoryConstraint.php:
9c7bbdaa3ac9fcd8c613bff8dbadedb1
/vendors/Textpattern/Validator/ChoiceConstraint.php:
1a063b9f42e187220479180baf6f6e0f
/vendors/Textpattern/Validator/Constraint.php:
bf7d4fb4a4e44b632f87329cf52685bc
/vendors/Textpattern/Validator/FalseConstraint.php:
46f0fcf4303e59dcb125d3de610f025d
/vendors/Textpattern/Validator/FormConstraint.php:
01d0910cb464bb6d6d41cdebd595fe87
/vendors/Textpattern/Validator/SectionConstraint.php:
d997ef405ccb8ab36b079ec2a5a177dc
/vendors/Textpattern/Validator/TrueConstraint.php:
5eae24ba00e72a5fc660fe0bd1440643
/vendors/Textpattern/Validator/Validator.php:
69b5baf4502c591b15746f1fbaef380d
/vendors/Txp.php:
e82abdd19d9e998cdee9a6ac382d3ade
/../css.php:
a82eada048123f67adcd3db4f2cd9086
/../index.php:
055ec0ec16c52cb44a71505fc8c91309
------------------------
Offline
Re: Big upgrade jump
Does disabling the plugin hpw_admincss-0.1
help at all?
If your installation is a stock v4.7.3 version, then it also accesses a regular .css file from the respective /admin-themes/{theme-name}/assets/css/textpattern.css
folder. The plugin, however, uses css.php to serve the css file, which was the problem you were having on the front end.
If you want to still have your admin css changes, copy what you have in your admin
stylesheet in the Presentation › Styles pane and save it in a file called custom.css
. Put that next to the textpattern.css
in the admin-theme you are using and they should be used automatically. That certainly works in more recent versions. Should it not work automatically in 4.7.3, then follow the instructions written here. You shouldn’t need how_admincss at all after that.
TXP Builders – finely-crafted code, design and txp
Offline
Re: Big upgrade jump
The admin site looks like it always has, so it must be getting CSS like it always has. The only issue is that the three pull-down menus don’t pull down. Consequently, I have no way to disable plugins, or even see them. The admin panel opens up with my article list, and I can’t go to another admin section.
Offline
#21 2024-04-09 21:30:39
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,310
Re: Big upgrade jump
skewray wrote #337059:
The admin panel opens up with my article list, and I can’t go to another admin section.
In the URL bar, just add the following to your TLD:
/textpattern/index.php?event=plugin
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Big upgrade jump
Cool – if I knew all the events, I could awkwardly navigate without the pull-downs.
I disabled the hpw-admincss plugin and refreshed the screen. No change, as far as I can tell. Pull-downs are still inoperative.
I am glad that I wrote (functioning) scripts to quickly upgrade and reverse.
Update: I just did the above – looked up the event for each pull-down item and made a set of links. I guess this issue is, um, mitigated?
Onward to higher levels of php and TP 4.8….
Last edited by skewray (2024-04-09 22:40:37)
Offline
Re: Big upgrade jump
When I try php 7.4 & tp 4.7.3, I get an error message on the home page:
Deprecated: Function get_magic_quotes_gpc() is deprecated in <mysite>/textpattern/lib/constants.php on line 136
Update: Just changed the two get_magic_quotes_gpc() to FALSE. Seems to have fixed that…
Last edited by skewray (2024-04-10 00:50:44)
Offline
Re: Big upgrade jump
Your menu bar issue is puzzling… just to be sure: you click on one of the top level items, and nothing happens?
Can you check if the browser console reports any error (in the developer tools) – both when you load the page and when you click on the top level menu items?
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline