Page 1 of 3 123 LastLast
Results 1 to 10 of 22
  1. #1
    Join Date
    Mar 2016
    Location
    Norcatur, Kansas, USA
    Posts
    80
    Plugin Contributions
    3

    help question Deleted admin/includes Folder now error 500 on admin home

    Hi,

    I installed this crappy, no-working "Viral Social Media Buttons by UP" plugin and I hadn't had enough coffee this morning, so I wasn't thinking.

    I had copied the admin/includes over to install the plugin, so I went in and deleted the admin/includes to uninstall <slaps forhead>. My last backup is about two weeks ago, so I tried copying that folder back in and still error 500. I even made sure the configure.php is right.

    So, I tried copying the fresh admin/includes from the installation zip and still gets the same way. What do I need to do to make the admin part run again? The store side works fine.

  2. #2
    Join Date
    Mar 2016
    Location
    Norcatur, Kansas, USA
    Posts
    80
    Plugin Contributions
    3

    Default Re: Deleted admin/includes Folder now error 500 on admin home

    chmod and chown on the folders doesn't have any effect.

  3. #3
    Join Date
    Jul 2012
    Posts
    16,748
    Plugin Contributions
    17

    Default Re: Deleted admin/includes Folder now error 500 on admin home

    Have you checked your logs directory off of the store? Might see a myDebug-adm file or more that contains both your admin's directory and some indication of what the issue is. Or perhaps your server log folder to identify what is causing the 500 issue.

    Otherwise, would consider reviewing the file and folder permissions to ensure that they are supported by your host and set as necessary to operate. ZC recommends 777 for writeable directories though some hosts only allow up to 755. Files tend to be 644 unless locking them down. Not sure what is meant by chmod/chown not having an "effect". Does this mean that no matter what is done, the applicable item's status doesn't change, or is that once attempted the problem isn't solved?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Mar 2016
    Location
    Norcatur, Kansas, USA
    Posts
    80
    Plugin Contributions
    3

    Default Re: Deleted admin/includes Folder now error 500 on admin home

    It would be nice to know which folders should be writable and which ones are not. I used the following command

    Code:
    chown -R root admin/includes
    chmod -R 0777 admin/includes

  5. #5
    Join Date
    Mar 2016
    Location
    Norcatur, Kansas, USA
    Posts
    80
    Plugin Contributions
    3

    Default Re: Deleted admin/includes Folder now error 500 on admin home

    Okay, my Apache access.log is showing
    "GET /store/admin/index.php HTTP/1.1" 500 366 "-"

    The Apache error.log doesn't give any indication of a problem.

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,595
    Plugin Contributions
    88

    Default Re: Deleted admin/includes Folder now error 500 on admin home

    Have you checked the /logs folder to see if there's a PHP issue being reported?

  7. #7
    Join Date
    Jul 2012
    Posts
    16,748
    Plugin Contributions
    17

    Default Re: Deleted admin/includes Folder now error 500 on admin home

    Quote Originally Posted by Fjolsvith View Post
    It would be nice to know which folders should be writable and which ones are not. I used the following command

    Code:
    chown -R root admin/includes
    chmod -R 0777 admin/includes
    See section 5 of the ZC docs. There are multiple "sections" that address folder settings based on status of the site and current/future need.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #8
    Join Date
    Mar 2016
    Location
    Norcatur, Kansas, USA
    Posts
    80
    Plugin Contributions
    3

    Default Re: Deleted admin/includes Folder now error 500 on admin home

    Quote Originally Posted by lat9 View Post
    Have you checked the /logs folder to see if there's a PHP issue being reported?
    I have php 7.0 and cannot find where it puts its log.

  9. #9
    Join Date
    Jul 2012
    Posts
    16,748
    Plugin Contributions
    17

    Default Re: Deleted admin/includes Folder now error 500 on admin home

    Quote Originally Posted by Fjolsvith View Post
    I have php 7.0 and cannot find where it puts its log.
    ZC puts logs (ZC php related) in the catalog/logs folder. It's "adjacent" to say your images, pub, includes, etc... folders.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #10
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,700
    Plugin Contributions
    11

    Default Re: Deleted admin/includes Folder now error 500 on admin home

    fjolsvith,
    couple of things. chown and chmod always have an effect. they may not have the DESIRED effect; but assuming the command runs without errors, they effect something, and specifically what you told them to do.

    i'm guessing you are in a shared hosting environment. if you successfully changed the ownership of all your files to root, that would be a problem. whether that operation is permitted is another story; i tried it on my workstation and i was unsuccessful, but that does not mean your host does not allow it. if you are on a shared sever, i would never recommend you changing the ownership to root. i just can not see when you would ever need it. nor can i see why a hosting company on a shared server would allow a user to do that.... although i can see a hosting company allowing it due to not having the server properly configured.

    with regards to the apache error log, we have some more interesting things to examine. first, apache is not serving up your admin page. that's a problem. it should get logged into the apache error log. if it does not, then there is a problem with the configuration of the error log, or more likely you are not looking in the right place. again, if you are on a shared host, it's tough to find a host that properly filters the error_log to only show you the errors related to your site(s).

    in my experience with ZC, the ZC error logging function is an excellent tool to start your troubleshooting and getting a 500 error in general will provide a error_log in the logs directory, and that is always the first place i start. if there are no error logs, that could mean your problem is starting before the ZC error log function gets loaded. and then the troubleshooting gets more involved.

    good luck.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Recently uploaded a backup admin folder now admin section is missing
    By Robert Thomas Kirby in forum General Questions
    Replies: 2
    Last Post: 23 May 2013, 10:20 AM
  2. v150 Deleted Includes Folder
    By AlexSC in forum Upgrading to 1.5.x
    Replies: 4
    Last Post: 22 Jun 2012, 12:04 PM
  3. php files won't execute in admin folder (500 server error)
    By woody100 in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 15 Mar 2010, 04:25 PM
  4. Replies: 2
    Last Post: 11 Nov 2009, 12:07 PM
  5. Error 500 on home page / Redirected to Admin Login
    By trails202 in forum Installing on a Windows Server
    Replies: 2
    Last Post: 24 Jun 2008, 04:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR