Results 1 to 10 of 10
  1. #1
    Join Date
    Jan 2010
    Posts
    70
    Plugin Contributions
    0

    Default HELP! Admin Interface is off after changing mySQL password.

    I changed my database password for mySQL and edited both configure.php files. At first i was getting errors because somehow my editor left spaces behind the closing PHP tag. Now that I finally figured out what the deal was The admin interface has completely changed. All the links are listed all the way down the page with their sub-catagoires and completely ineficient.

    For example:

    Configuration
    ...
    ...
    Catalog
    ....
    ....

    What happend to the old interface? I never edited the index.php in the admin folder I may have accidently changed permisions one of the directories. Please help me figure this out soon I would grealy aprechiate it.

  2. #2
    Join Date
    Jan 2010
    Posts
    70
    Plugin Contributions
    0

    Default Re: HELP! Admin Interface is off after changing mySQL password.

    [scr]http://www.eazy-computers.com/admin_interface.jpg[/scr]
    [scr]http://www.eazy-computers.com/admin_login.jpg[/scr]

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: HELP! Admin Interface is off after changing mySQL password.

    Looks like your .htaccess is blocking access to your stylesheets, or the stylesheets don't exist.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Jan 2010
    Posts
    70
    Plugin Contributions
    0

    Default Re: HELP! Admin Interface is off after changing mySQL password.

    Where is the style sheets file? I checked the .htaccesss and the only thing that's in it is the 301 redirect that has always been there. Everything seems fine on the front end.

  5. #5
    Join Date
    Jan 2010
    Posts
    70
    Plugin Contributions
    0

    Default Re: HELP! Admin Interface is off after changing mySQL password.

    I'm looking at /cart/admin/includes/ there are a few files whichi i never touched: nde-basic.css, sytlesheet.css, and stylesheet_print.css. The only thing i messed with was the configure.php in both admin and /cart/includes/. I alsoe changed the directory permisions on a couple directories becaue for some reason it wasn't letting me access any files. I just don't remember which directories they were

  6. #6
    Join Date
    Jan 2010
    Posts
    70
    Plugin Contributions
    0

    Default Re: HELP! Admin Interface is off after changing mySQL password.

    Any ideas ?? =/

  7. #7
    Join Date
    Jan 2010
    Posts
    70
    Plugin Contributions
    0

    Default Re: HELP! Admin Interface is off after changing mySQL password.

    I'm pretty sure it's an issue with CSS like you said. Would a permision change cause it to load like this? When I load all the files for login.php into dreamweaver the table shows how its supposd to. If I load the login.php without loading dependent files it shows up just like the picture above.

  8. #8
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: HELP! Admin Interface is off after changing mySQL password.

    1. You CANNOT use Dreamweaver as a test to prove your PHP-driven site is right. DW is for HTML and CSS, and does NOT run PHP so therefore can't give you a proper visualization of what a PHP page should look like when all its dependencies are loaded.
    You can use DW to edit the PHP text if it's your editor of choice. Its FTP / file-manager is pretty nice, but is NOT reliable for large quantities of files. It's ideal for one-off updates whilst working on troubleshooting and updating things, but should NOT be relied up on for mass-uploads/downloads nor for permissions-handling. Use a real FTP program for those operations.

    2. Yes, changing permissions on folders can seriously mess up functionality of your site.

    3. You can test whether your stylesheets can be accessed via a browser by visiting:
    "www.your_domain.com/yourStoreFolder/yourAdminFolderName/includes/stylesheet.css"
    If your browser gives you a Not Found or a Forbidden error then your permissions are too low either on the files or the folders or via .htaccess rules you've added.

    4. If the test in #3 above actually shows you the CSS within the stylesheet, then the reason for your admin area not showing you the CSS is because you incorrectly edited the paths in your admin configure.php file when you were messing with it earlier, and thus your admin is being told to look in a non-existent place to find the stylesheets, and thus cannot use them to properly render your display.
    You can use your browser's properties inspectors to view the list of media resources the page is trying to load.
    And/or you can study the page source rendered to the browser to inspect the paths/urls it's trying to load.



    Perhaps it may be appropriate for you to go back to your last backup which you made just before breaking things, and then work your way forward again either until you break it again or until it works as desired.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Jan 2010
    Posts
    70
    Plugin Contributions
    0

    Default Re: HELP! Admin Interface is off after changing mySQL password.

    Thanks a lot for your help. I am getting a 403 forbidden. I've completely disabled .htaccess. I'm not sure what I should change to get this back up. I tried to do a CHMOD on the stylesheets which doesn't do any good. Everything else appears to be working fine.


    Forbidden
    You don't have permission to access /cart/admin/includes/stylesheet.css on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

  10. #10
    Join Date
    Jan 2010
    Posts
    70
    Plugin Contributions
    0

    Default Re: HELP! Admin Interface is off after changing mySQL password.

    I got it! I figured all the directories were using 755 and files were 644. I noticed the /admin/includes directory was 754, made the change to 755, that fixed my problems. Thanks so much for guiding me in the right direction!

 

 

Similar Threads

  1. v151 Can't access admin section after changing DB password
    By lidlchris in forum Basic Configuration
    Replies: 34
    Last Post: 6 Oct 2015, 04:36 PM
  2. Replies: 1
    Last Post: 1 Feb 2015, 03:12 PM
  3. Replies: 18
    Last Post: 8 Feb 2010, 08:23 PM
  4. phpmyadmin access denied 1045 after changing mysql password
    By kosetid.no in forum Installing on a Windows Server
    Replies: 2
    Last Post: 8 Nov 2008, 07:35 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