Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Error 404 Not found after update
Hi,
After I have updated Textpattern to version 4.7.2 on my website (assuraes.be) I get a 404 error saying ‘Unknown section’. When I want to go to assuraes.be/textpattern I get this error: Fatal error: Class ‘Textpattern\Admin\Theme’ not found in /customers/8/3/b/assuraes.be/httpd.www/textpattern/lib/txplib_theme.php on line 44
What is going wrong?
Offline
Re: Error 404 Not found after update
sibokker wrote #316581:
After I have updated Textpattern to version 4.7.2 on my website (assuraes.be) I get a 404 error saying ‘Unknown section’. When I want to go to assuraes.be/textpattern I get this error: Fatal error: Class ‘Textpattern\Admin\Theme’ not found in /customers/8/3/b/assuraes.be/httpd.www/textpattern/lib/txplib_theme.php on line 44
What is going wrong?
Did you login on the admin side first? I think otherwise the update script does not run.
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
phiw13 on Codeberg
Offline
Re: Error 404 Not found after update
sibokker wrote #316581:
When I want to go to assuraes.be/textpattern I get this error: Fatal error: Class ‘Textpattern\Admin\Theme’ not found in /customers/8/3/b/assuraes.be/httpd.www/textpattern/lib/txplib_theme.php on line 44
I have tried to but assuraes.be/textpattern gives an error, see above.
Offline
Re: Error 404 Not found after update
Hi,
please make sure that you have uploaded the whole package. Check in particular that /textpattern/vendors/Textpattern/Admin
directory contains Theme.php
file.
Offline
Re: Error 404 Not found after update
Thanks. I will check again.
Theme.php was uploaded in the correct directory.
Offline
Re: Error 404 Not found after update
In txplib_theme.php line 44 says ‘abstract class theme extends \Textpattern\Admin\Theme’ but I don’t find the directory Textpattern\Admin\Theme, only Textpattern\admin-themes and Textpattern\theme are present…
Can this cause the problem?
Offline
Re: Error 404 Not found after update
sibokker wrote #316586:
In txplib_theme.php line 44 says ‘abstract class theme extends \Textpattern\Admin\Theme’ but I don’t find the directory Textpattern\Admin\Theme, only Textpattern\admin-themes and Textpattern\theme are present…
Can this cause the problem?
Absolutely, you need to upload all 4.7 directories.
Offline
Re: Error 404 Not found after update
I understand but that is the problem.
In version 4.7.2 Textpattern\lib\txplib_theme.php mentions ‘\Textpattern\Admin\Theme’ (line 44) but in the install pack I only find the directory ‘Textpattern\admin-theme’ and not ‘Textpattern\Admin\Theme’.
Last edited by sibokker (2019-02-14 10:39:52)
Offline
Re: Error 404 Not found after update
It is in vendors
subdirectory, but you shouldn’t upload files selectively anyway. Try to reupload the whole package.
Offline
Re: Error 404 Not found after update
Ok, but can I do this without breaking anything?
The documentation says I only have to change specific files (https://docs.textpattern.com/installation/upgrading-textpattern).
Offline
Re: Error 404 Not found after update
Unless you have heavily customized your setup, you should be able to safely update (merge) the entire textpattern
folder. Actually, 99% of new code go there, so keeping an old version is hazardous.
Offline
Re: Error 404 Not found after update
etc wrote #316596:
Unless you have heavily customized your setup, you should be able to safely update (merge) the entire
textpattern
folder. Actually, 99% of new code go there, so keeping an old version is hazardous.
+1 on what Oleg recommended.
What you will have to look out for the the config.php
file which should remain as is.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Pages: 1