Zen Cart Logo
Forums / Basic Configuration / HELP! Admin Interface is off after changing mySQL password.

HELP! Admin Interface is off after changing mySQL password.

Locked

Views: 1,098

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
11 Apr 2010, 5:48 AM
#1
eazy avatar

eazy

New Zenner

Join Date:
Jan 2010
Posts:
70
Plugin Contributions:
0

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.

11 Apr 2010, 5:57 AM
#2
eazy avatar

eazy

New Zenner

Join Date:
Jan 2010
Posts:
70
Plugin Contributions:
0

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

http://www.eazy-computers.com/admin_interface.jpg
http://www.eazy-computers.com/admin_login.jpg
11 Apr 2010, 11:47 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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.

11 Apr 2010, 6:42 PM
#4
eazy avatar

eazy

New Zenner

Join Date:
Jan 2010
Posts:
70
Plugin Contributions:
0

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.

11 Apr 2010, 6:47 PM
#5
eazy avatar

eazy

New Zenner

Join Date:
Jan 2010
Posts:
70
Plugin Contributions:
0

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 :unsure:

11 Apr 2010, 10:22 PM
#6
eazy avatar

eazy

New Zenner

Join Date:
Jan 2010
Posts:
70
Plugin Contributions:
0

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

Any ideas ?? =/

11 Apr 2010, 11:03 PM
#7
eazy avatar

eazy

New Zenner

Join Date:
Jan 2010
Posts:
70
Plugin Contributions:
0

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.

12 Apr 2010, 12:01 AM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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.

12 Apr 2010, 12:48 AM
#9
eazy avatar

eazy

New Zenner

Join Date:
Jan 2010
Posts:
70
Plugin Contributions:
0

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.

12 Apr 2010, 1:00 AM
#10
eazy avatar

eazy

New Zenner

Join Date:
Jan 2010
Posts:
70
Plugin Contributions:
0

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!