Not happy with upgrade to J4.x Topic is solved

Need help upgrading your Joomla! website or converting to Joomla! 4.x?

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
Johan Jonker
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Sun Mar 03, 2013 9:34 pm
Location: Houten, Netherlands
Contact:

Not happy with upgrade to J4.x

Post by Johan Jonker » Fri Mar 24, 2023 11:03 am

For a long time I am a happy Joomla user. But over the years my websites have become more and more complex. I made my own templates and installed a lot of components and plugins to perform special functions. So I hesitate a little to upgrade to J4.x. It would mean evenings of work to tune the J4.x template and find and configure the plugins that I need. At first I was happy with the way the first upgrade went. That went almost without a problem.

But now I really have a problem or a series of problems. I am afraid it is caused by a damaged J3.10. version. The question is how to solve it:

1) The Joomla update check does not work
* I selected Joomla Next, but it still reports I am up to date. No J4 checklist appears
2) I tried to configure error reporting, now it reports configuration.php is not writeable (even when I set it to 777).
3) When I force the upgrade with a new upload it goes wrong. Is does not want to store the file (and the max upload size is sufficient.
( I removed/disabled all the extensions with id => 10000)

Are these known problems? It already took me houres. I am afraid it is more secure to do a clean install of j4 and import all data in the database.

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24985
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: Not happy with upgrade to J4.x

Post by pe7er » Fri Mar 24, 2023 12:03 pm

I would:
  • install that J3 website locally in a web environment,
  • install a clean J3 website next to it (in another database but with the same database prefix)
  • copy only tables that you need in the news site (categories, content, menus, users) from the old to the new J3 website
  • same goes for the extensions
  • backup that new J3 website
  • install it in another folder with another database
  • do the Joomla upgrade with that 3rd Joomla 3 instance
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

Johan Jonker
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Sun Mar 03, 2013 9:34 pm
Location: Houten, Netherlands
Contact:

Re: Not happy with upgrade to J4.x

Post by Johan Jonker » Fri Mar 24, 2023 1:05 pm

Sorry, I gave it up.
So I installed a fresh version of Joomla 4 and imported the following in phpadmin:
* the categories - just export the csv or sql from J3 and import in J4
* the articles - make a copy in phpadmin of the J3 content, remove the index xreference and the import to J4

I succeeded in import over 300 articles. I see them in the database but not in de Joomla backend.
Even after checking in the content they do not appear.

For content csv did not work wel because of all the special characters in the text.

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24985
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: Not happy with upgrade to J4.x

Post by pe7er » Fri Mar 24, 2023 2:06 pm

If you check Content > Categories, you'll see that they are counted correctly in the Categories overview.

The imported articles are not shown in the Content > Articles
because the references in the workflow table "#__workflow_associations" are missing.
See viewtopic.php?t=993253&p=3658313#p3658054
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

Johan Jonker
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Sun Mar 03, 2013 9:34 pm
Location: Houten, Netherlands
Contact:

Re: Not happy with upgrade to J4.x

Post by Johan Jonker » Fri Mar 24, 2023 3:31 pm

Thank you Pe7er, I am much happier now!

User avatar
pe7er
Joomla! Master
Joomla! Master
Posts: 24985
Joined: Thu Aug 18, 2005 8:55 pm
Location: Nijmegen, Netherlands
Contact:

Re: Not happy with upgrade to J4.x

Post by pe7er » Fri Mar 24, 2023 3:49 pm

Good to hear that you've solved it!
Kind Regards,
Peter Martin, Global Moderator
Company website: https://db8.nl/en/ - Joomla specialist, Nijmegen, Netherlands
The best website: https://the-best-website.com

Johan Jonker
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Sun Mar 03, 2013 9:34 pm
Location: Houten, Netherlands
Contact:

Re: Not happy with upgrade to J4.x

Post by Johan Jonker » Sun Mar 26, 2023 12:37 pm

The next that was not perfect yet were the categories. The category lists did not show the articles.
I had to do the following:

* go to the Menu's and select the main menu and choose rebuild (in dutch 'opnieuw opbouwen')
* go to the categories and open each category and save it.
* go to the article menu and open and save each article.

Johan Jonker
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Sun Mar 03, 2013 9:34 pm
Location: Houten, Netherlands
Contact:

Re: Not happy with upgrade to J4.x

Post by Johan Jonker » Sun Mar 26, 2023 12:48 pm

Maybe I continu with all the obstacles I meet when upgrading to J4.x.

I continued with the following:

* positioned all modules on the cassiopeoia positions (easy when you know what to do, what helps is that functional names are used) for instance position a new main menu module in the menu section.
* started tweaking cassiopeia using this: https://magazine.joomla.org/all-issues/ ... navigation

But then the next obstacle was there:
I wanted to create a user.css to make template overrides. But as soon as I try to create a new file or edit a file in /templates/cassiopeia/html the system reports:
* Er heeft zich een fout voorgedaan.
* 3 arguments are required, 2 given
And show a button to return to the control panel


^$E%*&!U^FWKUQ

User avatar
Jaydot
Joomla! Guru
Joomla! Guru
Posts: 651
Joined: Sun Jun 04, 2017 12:11 pm
Location: The Netherlands
Contact:

Re: Not happy with upgrade to J4.x

Post by Jaydot » Sun Mar 26, 2023 2:57 pm

Johan Jonker wrote:
Sun Mar 26, 2023 12:48 pm
a file in /templates/cassiopeia/html
Another indispensable article for you to read:
https://magazine.joomla.org/all-issues/ ... ips-tricks
Scroll down about an inch to section 0.2 .
The fact that an opinion is widely held is no evidence whatsoever that it is not utterly absurd.
Personal website: https://jaydot.nl

Johan Jonker
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Sun Mar 03, 2013 9:34 pm
Location: Houten, Netherlands
Contact:

Re: Not happy with upgrade to J4.x

Post by Johan Jonker » Sun Mar 26, 2023 6:55 pm

Thanks for the suggestion jaydot.
When I make a new file user.css in /media/templates/site/cassiopeia/css.
It is made but I am not able to edit the file an get the same error.

User avatar
Jaydot
Joomla! Guru
Joomla! Guru
Posts: 651
Joined: Sun Jun 04, 2017 12:11 pm
Location: The Netherlands
Contact:

Re: Not happy with upgrade to J4.x

Post by Jaydot » Sun Mar 26, 2023 7:56 pm

Did you clear all cache (Joomla and browser)?
The fact that an opinion is widely held is no evidence whatsoever that it is not utterly absurd.
Personal website: https://jaydot.nl

Johan Jonker
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Sun Mar 03, 2013 9:34 pm
Location: Houten, Netherlands
Contact:

Re: Not happy with upgrade to J4.x

Post by Johan Jonker » Fri Mar 31, 2023 3:26 pm

Jaydot wrote:
Sun Mar 26, 2023 7:56 pm
Did you clear all cache (Joomla and browser)?
Thanks, that fixed it.

Johan Jonker
Joomla! Intern
Joomla! Intern
Posts: 50
Joined: Sun Mar 03, 2013 9:34 pm
Location: Houten, Netherlands
Contact:

Re: Not happy with upgrade to J4.x

Post by Johan Jonker » Fri Mar 31, 2023 3:31 pm

So to finish the description a last tip:

It is a good idea to make an temparary copy from the Joomla 3 site that is accessable too. It is nice when you can show the old and new site together and compare the css codes with the Inspection tool in Chrome of Edge.

When you are familiar with css you can identify the relevant blocks on the old site and copy them to the user.css and rename the class names to the J4 classes. Most of that was possible with my site.


Locked

Return to “Migrating and Upgrading to Joomla! 4.x”