Solved Templates

Upgrading my website from 3.10.11 to 4 results in a mess...! (URGENT, please)

Asked by Jean-Marie Putz 3 years ago Last activity 3 years ago

Many webmasters know that a migration, even called a "mini-migration", is a long and difficult journey, especially when you are not a hyper-qualified programmer, which is the case for many website owners. .
After many setbacks of various origins, I finally manage to access (locally) my site under Joomla4.
Huge frustration...!
I use SP Page Builder and the Travelia template. I'm using the latest version I could find for both products. For the template, Travelia 2.0.
The display looks like nothing, and for good reason... I think the system is unable to load the template. An error 0 "Class "JRequest"not found.
From what I have read on the subject, JRequest is absolutely no longer supported under Joomla 4 for security reasons. So normal if my template crashes...!
In the php file /templates/shaper_travelia/html/layouts/joomla/content/rating.php, the instruction at line 15 is: $layout = JRequest::getCmd('view', 'article');

No wonder my site isn't working. I found this after 2 days of work...! I remind you that I am not an experienced programmer, but also that I need my site to display correctly as soon as possible...

Accepted answer

Marked as the solution
Jean-Marie Putz Asked this

Hi Toufiq,

Thanks for your reply, but I solved the problem in the meanwhile.
Lke I said, in the php file /templates/shaper_travelia/html/layouts/joomla/content/rating.php, the instruction at line 15 is: $layout = JRequest::getCmd('view', 'article');

I suppose this kept my template to load. So I had to spend many hours to fine tune my site under Helix Ultimate template, but now it is working.

2 more replies

Toufiq Senior Staff

Hi there,

Thanks for contacting us. Sorry for the inconvenience. Will you please provide me the Joomla administrator access to check the issue? I will check & get back to you soon. 

Before update you should create an staging site.

https://drive.google.com/file/d/1ms8hPQfM3xfF4XUO0W4pUZAhzGUqxBwD/view

  1. Create a subdomain from your cPanel
  2. Export your existing site Database from PHPMyAdmin
  3. Create a new Database
  4. Import the existing Database to the new Database
  5. Update configuration.php file
  6. Go to the administrator of the staging site

-Thanks

Toufiq Senior Staff

Glad to know that your problem has been solved. Thanks

Log in to reply.