Results 1 to 8 of 8
  1. #1
    Join Date
    Jan 2008
    Location
    london
    Posts
    55
    Plugin Contributions
    0

    Default Admin folder not visible

    I had been running a very out of date version of zencart (1.3.8). I know that I should have updated it ages ago, but..

    Although very out of date, it worked, that is up until my hosting company upgraded their php engine. As soon as it fell over I asked them to downgrade it. Whilst the site still worked, it is no longer possible to log into the back end.

    When I go to the admin folder nothing is visible, no log in prompt, nothing. The files are still visible via FTP, I can view the php files via the cpanel file explorer, nothing is jumping out at me as being amiss.

    I have installed v1.5.0 in another folder on the server, transferred over the database and then run the database upgrade. Customer orders etc are all as they should be but I would like to be able to access the old admin pages so that I get things like the settings for the payment gateway and so on

    Any suggestions? Is it possible that this is a .htaccess corruption rather than anything to do with the php?

    Thanks

  2. #2
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Admin folder not visible

    Quote Originally Posted by imaginarynumber View Post
    I had been running a very out of date version of zencart (1.3.8). I know that I should have updated it ages ago, but..

    Although very out of date, it worked, that is up until my hosting company upgraded their php engine. As soon as it fell over I asked them to downgrade it. Whilst the site still worked, it is no longer possible to log into the back end.
    In theory, the downgrade should have gotten the site to work again.

    Quote Originally Posted by imaginarynumber View Post
    When I go to the admin folder nothing is visible, no log in prompt, nothing. The files are still visible via FTP, I can view the php files via the cpanel file explorer, nothing is jumping out at me as being amiss.
    Have you checked the zencart log files for any clues? If not, that'll be the 1st place to start.

    Quote Originally Posted by imaginarynumber View Post
    I have installed v1.5.0 in another folder on the server, transferred over the database and then run the database upgrade. Customer orders etc are all as they should be but I would like to be able to access the old admin pages so that I get things like the settings for the payment gateway and so on

    Any suggestions? Is it possible that this is a .htaccess corruption rather than anything to do with the php?

    Thanks
    The contents of the .htacess files can cause all sorts of problems, but since ZenCart doesn't *need* and .htaccess file in its top level folders (for any given store), if they do exist, you can simply delete/rename them to see if the problems resolve themselves.

    Also take careful note of the configure.php files. There are two of these for each store/installation that will have slightly different settings for each of your two stores.

    Is it only the original site that you can no longer access the admin sections, or are you having the same problem with the newly installed site?

    Hopefully the log files will provide a clue.

    Cheers
    RodG

  3. #3
    Join Date
    Jan 2008
    Location
    london
    Posts
    55
    Plugin Contributions
    0

    Default Re: Admin folder not visible

    Quote Originally Posted by RodG View Post
    In theory, the downgrade should have gotten the site to work again.



    Have you checked the zencart log files for any clues? If not, that'll be the 1st place to start.



    The contents of the .htacess files can cause all sorts of problems, but since ZenCart doesn't *need* and .htaccess file in its top level folders (for any given store), if they do exist, you can simply delete/rename them to see if the problems resolve themselves.

    Also take careful note of the configure.php files. There are two of these for each store/installation that will have slightly different settings for each of your two stores.

    Is it only the original site that you can no longer access the admin sections, or are you having the same problem with the newly installed site?

    Hopefully the log files will provide a clue.

    Cheers
    RodG
    Thanks for the prompt reply Rod.

    The new "mirror" site is fine.

    The only log files for the old site, that I can find are in the extras folder

    [10-Apr-2014 21:41:48] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/application_top.php' (include_path='.:/usr/local/php52/lib:/usr/lib/php:/usr/local/lib/php') in /home/****/public_html/shop/extras/ipn_test_return.php on line 14

    [10-Apr-2014 21:41:48] PHP Warning: require(includes/application_top.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/*****/public_html/shop/extras/ipn_test_return.php on line 14

    As you can see the dates are from same time ago though.
    Where can I find the other log files?

    Regarding the php downgrade- I guess that it is possible that they did down grade but not as far as the old/original version?

  4. #4
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Admin folder not visible

    If you have done what you said, copied over your database and done a database upgrade, then the settings that you are/were looking for are still in the database... Just have to find them, which is typically in the configuration table, but then have to narrow down to the setting(s) that you wanted to copy. You can get to these tables through myphpAdmin on your cPanel. Once there you can copy down the applicable settings that are likely to be reset when you say add a payment module into the cart.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Admin folder not visible

    Your settings as previously mentioned should have automatically come across

    anyway
    When you went to your old admin folder what did you enter?

    just

    example.com/admin/

    or

    have you tried aiming for a file

    example.com/admin/index.php

    I had some weird issue ages ago, where it wasn't finding the index.php file automatically in my admin section after a php update,
    Last edited by nigelt74; 4 Aug 2014 at 01:42 AM. Reason: senility
    Webzings Design
    Semi retired from Web Design

  6. #6
    Join Date
    Jan 2008
    Location
    london
    Posts
    55
    Plugin Contributions
    0

    Default Re: Admin folder not visible

    Quote Originally Posted by nigelt74 View Post
    Your settings as previously mentioned should have automatically come across

    anyway
    When you went to your old admin folder what did you enter?

    just

    example.com/admin/

    or

    have you tried aiming for a file

    example.com/admin/index.php

    I had some weird issue ages ago, where it wasn't finding the index.php file automatically in my admin section after a php update,
    I have tried both paths. I even get blank pages when trying, for example, example.co.uk/shop/admin/login.php

  7. #7
    Join Date
    Jan 2008
    Location
    london
    Posts
    55
    Plugin Contributions
    0

    Default Re: Admin folder not visible

    Quote Originally Posted by nigelt74 View Post
    Your settings as previously mentioned should have automatically come across

    anyway
    When you went to your old admin folder what did you enter?

    just

    example.com/admin/

    or

    have you tried aiming for a file

    example.com/admin/index.php

    I had some weird issue ages ago, where it wasn't finding the index.php file automatically in my admin section after a php update,
    I have tried both paths, I have even tried example.com/admin.login.php

  8. #8
    Join Date
    Jan 2008
    Location
    london
    Posts
    55
    Plugin Contributions
    0

    Default Re: Admin folder not visible

    Quote Originally Posted by mc12345678 View Post
    If you have done what you said, copied over your database and done a database upgrade, then the settings that you are/were looking for are still in the database... Just have to find them, which is typically in the configuration table, but then have to narrow down to the setting(s) that you wanted to copy. You can get to these tables through myphpAdmin on your cPanel. Once there you can copy down the applicable settings that are likely to be reset when you say add a payment module into the cart.
    I guess that I will have to try that way. Tnx

 

 

Similar Threads

  1. v151 Paypal payments modules not visible in admin
    By EricRas in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 6 Sep 2013, 11:20 PM
  2. v151 Order List Suddenly Not Visible from Admin
    By koerce in forum Managing Customers and Orders
    Replies: 12
    Last Post: 30 Sep 2012, 06:14 PM
  3. Orders not visible in the admin page
    By Laszlo in forum Upgrading from 1.3.x to 1.3.9
    Replies: 6
    Last Post: 21 Jan 2011, 10:58 PM
  4. Can't Edit Admin Fields Not visible
    By mariasims in forum Basic Configuration
    Replies: 2
    Last Post: 23 Nov 2010, 02:22 AM

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