Phục hồi web lỗi 500 do update joomla 2.5

this specific error is because i deleted my entries and installed the sample data.. but on my data i get the same error. i even get the same error when i try to bring up the shopping cart or my account information.

so do i not have something set up correctly? or is there a misconfiguration?

i did a clean install of vm 2.0.16 and the aio ... and i would like to get my store front up soon so i can start to promote it.

thanks fo your help. Adam

Logged

Quite often these are SEF problems, so turn off SEF and if you have a .htaccess file then rename it to htaccess.txt to disable it.

I recently dragged a website I built with joomla out of a subdirectory and now the whole website just shows a 500 internal error, can't even log into the backend. I've already tried changing the log and tmp path variables in the configuration.php file with no luck. any help as to what could be causing this?

asked Jun 29, 2012 at 16:15

You haven't specified a Joomla! version but this is our current check list for migrating a Joomla! 2.5.x websites to a live location:

  1. fix the configuration.php file settings for tmp & log directories.
  2. Clean out the cache directories
  3. check the permissions on:
    1. .htaccess
    2. index.php and /administrator/index.php
    3. make sure folders are 755 and files 644 or lower

We do these steps on any move not just ones where we end up with a server error.

If those steps don't rectify [usually do for 99% of 500 errors] check the Apache error log to see if there are any clues to the root cause of the problem.

If you find something in the log you're not clear on add it to your question so people can provide further help.

answered Jun 30, 2012 at 0:15

CraigCraig

1484 bronze badges

I also have the same issue on my site backend. Finally I solved it. Add these lines to /etc/httpd/conf.d/mod_secuirity.conf


SecRuleEngine Off

Save it and restart apache. It works fine for me.

Adding these lines disable mod_secuirity engine off. I don't know if it causes secuirity problems in future.

j0k

4119 silver badges16 bronze badges

answered Feb 18, 2013 at 10:31

When you do a backup of the site while it's in the old place and unpack with the script in the new place, the userrights are good to go.

I have installed new site in Joomla 1.7 and its working fine, but when i checked its back-end [administrator] got 500 Internal Server Error.

Note: Site is working fine in Local server.

Please suggestion me any solution.

Thanks in advance.

nfechner

17.4k7 gold badges46 silver badges64 bronze badges

asked Nov 22, 2011 at 10:05

Dheeraj AgrawalDheeraj Agrawal

2,33711 gold badges46 silver badges64 bronze badges

5

First you have change folder permission to 775 for the following folders:

cache, logs, tmp & administrator/cache

then go to: configuration.php

find code:

$log_path = 'XXXXXXXXXXXXX';
$tmp_path = 'XXXXXXXXXXXXX';

and change code into:

$log_path = './logs';
$tmp_path = './tmp';

problem solved :]

answered Jan 28, 2012 at 21:29

5

I had this problem, but none of your advices didn't help. I fixed a problem only after I switched off all modules via PhpMyAdmin [PMA].

Table modules, changed parameter "published" to 0 for all and then enabled only few modules with these types:

  • mod_login
  • mod_menu
  • mod_sumbenu
  • mod_toolbar
  • mod_title

After this I entered admin page and used top menu to enable all needed modules one by one. After admin page started to give me 500 error again I knew what module is faulty and I disabled it again via PMA.

answered Nov 19, 2012 at 10:30

DreyDrey

3793 silver badges10 bronze badges

May be some files are not uploded.Check failed transfer of your FTP server.Make sure all the files are uploded online

answered Nov 22, 2011 at 12:22

sumisumi

4173 silver badges14 bronze badges

2

Check your error logs and backtrace what is causing the error. It sounds like you have MySQL errors, make sure any of your components/modules/aren't tricking out your site.

Think it's a component?

You can login into PHPMyAdmin and disable/enable modules manually by unpublishing them using the table editor, changing isPublished to 0 .

answered Nov 22, 2011 at 11:57

SMacFadyenSMacFadyen

3,1552 gold badges26 silver badges37 bronze badges

Try reinstalling database with the correct compatibility and also check web.config file on ftp for correct configuration paths !

answered Nov 24, 2011 at 12:25

I experienced something similar on my site. Digging through the log file, /administrator/error_log i saw this error message:

[08-Oct-2012 15:28:59] PHP Fatal error: Call to a member function login[] on a non-object in /home/XXX/public_html/administrator/components/com_login/admin.login.php on line 65 .

Problem was, i had a previous installation of Joomla 1.5.x, and uploaded files for Joomla 1.6 to replace the previous files and upgrade security of the site. Took me almost a month to find a solution for my own case;

Finally found out from this website that I needed to completely delete all previous files in the website root directory before uploading a new version of Joomla.

Hope this helps someone out there who is in the same situation!

answered Oct 10, 2012 at 7:20

kennasoftkennasoft

1,5931 gold badge14 silver badges26 bronze badges

I also have the same issue on my site backend when editing or saving some articles, modules etc...Finally i solved it... Add these lines to /etc/httpd/conf.d/mod_secuirity.conf on your server

SecRuleEngine Off

save it...and restart apache...it works fine for me. Adding these lines disable mod_secuirity engine off.I don't know if it causes secuirity problems in future.. Tnx all...

answered Feb 18, 2013 at 10:40

Change the permission of folder administrator at 775 or 755

answered Feb 18, 2014 at 21:17

I tried all the above ideas. Without avail. For my site [which was an outdated Joomla 1.5.x site- don't ask!!!], where the backend suddenly stopped working, the final solution was switching the servers PHP version from 4 to 5.5 [even 5.4 did not work!].

I then got some strange PHP warnings in the frontend. But I then updated Joomla from the now again working backend to the last 1.5 version and everything worked fine from the on.

Phew! Maybe this helps someone later on...

answered Mar 22, 2014 at 21:26

DerWOKDerWOK

1,0619 silver badges13 bronze badges

In my case there was a single file with bad permissions.

It can be tricky to figure out which file has the problem so just run this to set the permissions for all the files in the directory:

chmod -R ug+rwX .
chmod -R o+rX .

answered Apr 4, 2014 at 18:28

Sarel BothaSarel Botha

12.5k7 gold badges55 silver badges60 bronze badges

Change the permissions of all of your files/directories.

  • Files should be 755
  • Directories should be 644

answered Jan 30, 2015 at 10:06

EoinEoin

1,4092 gold badges18 silver badges32 bronze badges

This is my case and my solution:

I have changed my server and got this error. I have protected my administrator folder using password protection method. So I have checked my new server and found that my protection information are not saved in control panel. also my .htaccess file [in administrator folder] is not compatible to my new server.

Chủ Đề