0

I have the standard joomla .htaccess file installed.

The site is at 3.9.4 and works fine. The pages have no extra modules published other than joomla custom modules - nothing else is published.

When I upgraded from php 7.0.33 to php 7.2 the SEF breaks

The home page shows up fine and the links on it are pointing to the correct urls (i.e. no index.php in the URI)

Does anyone know what in the php upgrade might be affecting the SEF rewriting or where I could start debugging. The other pages (not home which works) just show ERROR and the server logs show 500 error.

When I downgrade to the 7.0.33 php it all works again so I'm assuming it's a php upgrade problem.

thanks

  • 1
    You could try and turn error reporting on for the site in the Global Settings and it might show up which function is missing under PHP 7.2 – Irata Apr 4 at 11:01
  • I tried error reporting and it doesn't show up. The pages just show error. – user1616338 Apr 4 at 11:14
  • I think this question's title is not to the point, considering the body of the question. It should be something like Joomla 3.9.4 site breaks after PHP 7.0.x to 7.2 upgrade. By the way - does the site works with PHP 7.2 if you disable SEF URLs and Rewriting? – FFrewin Apr 4 at 12:35
  • Site doesn't work with anything above 7.0.33 – user1616338 Apr 4 at 15:16
  • Have you tried disabling plugins, like old or non-critical ones that may be in play once you leave the home page? I am with @FFrewin in that I am not quite seeing why you suspect the issue is related to SEF settings. And what level of Error Reporting did you try, Maximum or Developer? – Irata Apr 4 at 21:59
0

Does your PHP 7.2 have all necessary PHP addons installed? https://downloads.joomla.org/technical-requirements

And does Apache has mod_rewrite enabled after you've enabled PHP 7.2?

Could you replace your .htaccess with a clean default Joomla htaccess.txt (that you rename to .htaccess to enable it) ?

0

It's possible that mod_rewrite is not enabled on the PHP version you've moved to. Further I didn't know that Joomla is ready for PHP 7.3 yet.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.