Joomla-cms: HTTP ERROR 500 after updating joomla 3.8

Created on 20 Sep 2017  Â·  43Comments  Â·  Source: joomla/joomla-cms

Since i have updated to joomla 3.8 i cannot acces my joomla dashboard. I get the error:

HTTP ERROR 500

How can i fix this.

Please help.

Expected result

Actual result

System information (as much as possible)

Additional comments

No Code Attached Yet

Most helpful comment

from the information provided it is impossible to help.

What version of Joomla did you upgrade from?
How did you upgrade?
What version of php? (there is no version called latest)
What extensions (and template) do you have installed?
If you set error reporting to maximim or development in configuration.php what error is displayed on the screen and/or in your error logs?

All 43 comments

from the information provided it is impossible to help.

What version of Joomla did you upgrade from?
How did you upgrade?
What version of php? (there is no version called latest)
What extensions (and template) do you have installed?
If you set error reporting to maximim or development in configuration.php what error is displayed on the screen and/or in your error logs?

Hello! I have the same problem.

Version PHP: 5.5.31
Version Pre Update: 3.7
Version Post Update: 3.8
Fatal error: Cannot redeclare class JInput in /website/public_html/libraries/fof/input/jinput/input.php on line 39
I updated after login from the panel of administrator

There was a message for update version at 3.8, I clicked the button and after then the bar went to 100%.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18025.

@romocetra Check if you have /libraries/joomla/input/input.php file.

I've just checked.
No folder input and no file input.php


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18025.

Same problem. HTTP ERROR 500, for administration only. The site is working.
Updated from 3.7.4 to 3.8.0.
It seems some PageBuilder problem:
[Thu Sep 21 16:06:56 2017] [error] PHP Fatal error: Call to undefined method JAdminCssMenu::addChild() in /home/*/public_html/administrator/modules/mod_sppagebuilder_admin_menu/tmpl/default_enabled.php on line 16

@polux1 Rename public_html/administrator/modules/mod_sppagebuilder_admin_menu then update sppagebuilder.

@wojsmol Thanks. It worked.

Sorry but I don't have this folder, how can I find it?

@romocetra https://github.com/joomla/joomla-cms/issues/18025#issuecomment-331168007 is applicable when you are using sppagebuilde component.

@romocetra

  1. Make sure you have a backup of your site (files and database).
  2. Download this package
  3. Upload it to your site root and extract it with file manager.
  4. Remove installation folder.
  5. Then use this file as described here.

HTTP ERROR 500

No folder input and no file input.php

I have a similar problem after update from Joomla 3.7.5 to Joomla 3.8. What's happening?

php 7.0

I did all steps but I have this error when I execute https://website/administrator/postupdate.php

Fatal error: Call to undefined method JVersion::refreshMediaVersion() in /website/public_html/libraries/src/Application/WebApplication.php on line 1064

@romocetra Please check if files /libraries/src/Version.php and libraries/classmap.php exists

@wojsmol Yes, there are both files.

Another datapoint. Running postupdate.php brings up:
Call to undefined method JVersion::refreshMediaVersion()

but then clicking on any of the menu items gets:
"Undefined class constant 'PRODUCT'"

@romocetra @wkumari Please see https://github.com/joomla/joomla-cms/issues/18020#issuecomment-331279572

Hi

A bit off topic.
I get HTTP ERROR 500 before updating from 3.7.5 to 3.8 just after clicking on 'Install the Update' button.
I don't have any issues in admin area after that but I can't go to 3.8. Framework is Gantry 5.
Any idea?

Thanks

@tritongr have you asked at Gantry?

Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/18025

closing this Issue, please comment at #18020


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18025.

@franz-wohlkoenig
No I didn't ask there as I don't know if the issue is realated to them.
I will do so if there is no other solution.

my case:
fresh installed joomla 3.8 (local install with custom hosts file)
php-fpm 5.6.30
nginx 1.10.3

PHP script execution mode:
FPM mode give 500 error
FCGId mode works

No errors logged on error log file.

the problem is that the site needs a database fix...

Since you cannot get into admin you need to do it manually by code.
So first of all backup.
Then open your index.php (not in the administrator, the normal one)

between

require_once JPATH_BASE . '/includes/framework.php';

and

// Set profiler start time and memory usage and mark afterLoad in the profiler. JDEBUG ? JProfiler::getInstance('Application')->setStart($startTime, $startMem)->mark('afterLoad') : null;

place

require(JPATH_ADMINISTRATOR.DIRECTORY_SEPARATOR.'components'.DIRECTORY_SEPARATOR.'com_installer'.DIRECTORY_SEPARATOR.'models'.DIRECTORY_SEPARATOR.'database.php');
$model = new InstallerModelDatabase();
$model->fix();

run the main site page.

Then delete the inserted code and refresh the site.

You are ready.

@kintaro1981 Preferred method is described below

  1. Make sure you have a backup of your site (files and database).
  2. Download this package
  3. Upload it to your site root and extract it with file manager.
  4. Remove installation folder.
  5. Remove /libraries/cms/version/ folder.
  6. Then use this file as described here.

I have the same problem but this will appear if I turned to OFFLINE YES my site setting. I want to set this as my website is under maintenance but sad to say that after updating to 3.8 this happened.

I found the reason for not updating properly and doing a ajax error. (the error above appears when you use the unzip update method).

It appears that for security reasons some servers delete the file

/public_html/administrator/components/com_joomlaupdate/restore.php

So, when we do it manually (by extracting the zip file), the database is not fixed.
This is why we need one of the above fixes.

You mean we will delete this file? /public_html/administrator/components/com_joomlaupdate/restore.php

@juriemancia Check if /public_html/administrator/components/com_joomlaupdate/restore.php exist. If you wont you can disable offline mode by changing public $offline = '1'; to public $offline = '0'; in configuration.php.

I mean that in my hosting environment deletes it and we had to add it to the whitelist in order not to do so.

I have the same issue. On my localhost (MAMP), I was building a new site, and updated it from 3.7.5 and have lost everything. I normally backup using AKEEBA, but this one time I have stuffed up and didn't back up. I am on a MAC, so I tried using Time Machine to go back a week and recall the site and database, but I have tried several ways including deleting my MAMP folder in Applications and bringing back last week folder... but MySQL stops working. After I delete the ib_logfile0,ib_logfile0,ibdata1 in MAMP I can get MYSQL to start, and I can install a new test site and everything worked, but with the site I was build I get 'Error displaying the error page'. I did get HTTP ERROR 500 after updating joomla 3.8 at one stage, but after recalling the older version of the site back... I now get 'Error displaying the error page'.
I am desperate to get this fixed.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18025.

Turn on error reporting to maximum (open configuration.php and set error reporting to 'maximum';)
Then check for error_log file using your file manager.

The error you get, if I can recall correctly is that your template cannot handle and show you the error.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/18025.

@kalimati Please ask help on the forums - Migrating and Upgrading to Joomla! 3.x. This repository concerns Joomla coding.

Can I make a comment on a closed topic? I will try

I had also a 500 error.

Not so long ago I changed from php 5.6 to php 7.0
I forgot to change the upload_max_files in the php.ini for the php 7.0 version.

After changing that the update went right!

That was the solution for me too indeed. I did though change back to PHP 5.6 and then did the upgrade. After upgrade (to 3.8.2 by now) I went back to PHP 7.0 and all good.

Not sure how to update the upload_max_files but will try to find it. At least with the tip of Rolf123 I got the upgrade done, thanks!

Hello

I checked solutions but it is not working for me http://lavetatrails.org/ can you help me out from this.

I attempted to update my Joomla! site and lost my internet connection midway. Now there are errors related to component. src showing up.

I think when you lost your internet connection midway you can try to do the
update again using an ftp-program to the server. The internet connection
has to be stable otherwise there will be a risk off losing files.

please us the forum for support httpd://forum.joomla.org

@ggauravbhandari Please ask help on the forums - Migrating and Upgrading to Joomla! 3.x.

Okay Thank you

On 10 Dec 2017 1:58 am, "Rolf Kuilder" notifications@github.com wrote:

I think when you lost your internet connection midway you can try to do the
update again using an ftp-program to the server. The internet connection
has to be stable otherwise there will be a risk off losing files.

Rolf Kuilder

IamOK - Internettoepassingen en websites

Middingstraat 1
https://maps.google.com/?q=Middingstraat+1+%0D+5371+EJ+Ravenstein&entry=gmail&source=g
5371 EJ Ravenstein

06 5112 46 45
www.iamok.nl
[email protected] info@iamok.nl

BTW Nr: NL124097686B01
KvK: 9168440
Bankrek: 1324.33.427

De algemene voorwaarden zijn van toepassing op alle aanbiedingen,
rechtsbetrekkingen en overeenkomsten waarbij "I am OK" goederen en/of
diensten van welke aard ook levert.

ALGEMENE VOORWAARDEN INFORMATIETECHNOLOGIE* Gedeponeerd bij de Griffie van
de Arrondissementsrechtbank te Den Haag op 3 juni 2003 onder nummer
60/2003.

2017-12-09 19:26 GMT+01:00 ggauravbhandari notifications@github.com:

Hello

I checked solutions but it is not working for me
http://lavetatrails.org/
can you help me out from this.

I attempted to update my Joomla! site and lost my internet connection
midway. Now there are errors related to component. src showing up.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
issuecomment-350496075>,
or mute the thread
fXeN2HHQPHn4MsWdv7ks5s-tDsgaJpZM4PegaA>
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/joomla/joomla-cms/issues/18025#issuecomment-350503384,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEhFNOAOChZveciRaUcZyOJ48TbT0GZlks5s-u1YgaJpZM4PegaA
.

Hello,
I am a bit late with noticing the problem after the update in November.. I have been busy lately and I am also not best programmer ever..

So I also have this error 500 and checking on the error log it shows problems in the src folder.
I tried to copy paste the src folder from another website which did fix the problem for backend and frontend for the welcome page, but then I could not open any other page.

Does the src folder contain information about a certain website and I can't copy paste from somewhere else? Or it did fix something and the new errors come from somewhere else?

Would a manual update help in this case or not necessarily?

Thank you for your attention and hoping for solutions
Alqua

Give me details i will fix it for you

On Sun, Jan 21, 2018 at 4:03 AM, Alqua notifications@github.com wrote:

Hello,
I am a bit late with noticing the problem after the update in November.. I
have been busy lately and I am also not best programmer ever..

So I also have this error 500 and checking on the error log it shows
problems in the src folder.
I tried to copy paste the src folder from another website which did fix
the problem for backend and frontend for the welcome page, but then I could
not open any other page.

Does the src folder contain information about a certain website and I
can't copy paste from somewhere else? Or it did fix something and the new
errors come from somewhere else?

Would a manual update help in this case or not necessarily?

Thank you for your attention and hoping for solutions
Alqua

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/joomla/joomla-cms/issues/18025#issuecomment-359207357,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEhFNPyyqHYO0ggSQXyTWohCWAo4vf5lks5tMmmcgaJpZM4PegaA
.

--
Thanks and Regards

Er. Gaurav Bhandari
Technical Team Lead *
*Indore(M.P.)

What other details do you need?
Can you answer my question about the src folder?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Shazrina1994 picture Shazrina1994  Â·  4Comments

aDaneInSpain picture aDaneInSpain  Â·  4Comments

brianteeman picture brianteeman  Â·  6Comments

MartijnMaandag picture MartijnMaandag  Â·  6Comments

joomleb picture joomleb  Â·  3Comments