Forums / Installing on a Windows Server / Admin page weird

Admin page weird

Started by destroyer on 6 Nov 2010, 2:12 PM · Views: 2,653

Results 1 to 13 of 13
6 Nov 2010, 2:12 PM
#1
destroyer avatar

destroyer

New Zenner

Join Date:
Nov 2010
Posts:
83
Plugin Contributions:
0

Admin page weird

Hello,

Just installed zencart for the first time and all went well (after changing host). However, when I make the customised changes to the admin files - as requested just after installing - I can only get access to a page which says "index of/name" (where name is the new name of the admin file) and gives me a link to the parent directory - the main domain index page.

I've never yet seen teh admin page so I don't even know what to expect here.

Any help appreciated

6 Nov 2010, 2:24 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Admin page weird

You should see the admin login boxes.

Any time you see the index of ... page, it means you don't have an index file in the directory you pointed your browser to.

I would guess you don't have the right directory name specified in the configure file. Did you change the 'admin' to your new admin folder name in all three places in admin/includes/configure.php ?

6 Nov 2010, 2:28 PM
#3
destroyer avatar

destroyer

New Zenner

Join Date:
Nov 2010
Posts:
83
Plugin Contributions:
0

Re: Admin page weird

I followed the instructions exactly - only changing the three names requested. I've looked over and over in case there is a silly error - but I seem to have done exactly as requested.

6 Nov 2010, 2:30 PM
#4
destroyer avatar

destroyer

New Zenner

Join Date:
Nov 2010
Posts:
83
Plugin Contributions:
0

Re: Admin page weird

I also cahnged the admin directory name to correspond - again as requested.

6 Nov 2010, 2:40 PM
#5
destroyer avatar

destroyer

New Zenner

Join Date:
Nov 2010
Posts:
83
Plugin Contributions:
0

Re: Admin page weird

I found another directory created on the server with the same name but empty - so deleted it.

Now when I direct to the newly named "admin" file I just get "page not found".

Going around in circles here. Wouldn't mind but it's been going on for several hours now.

6 Nov 2010, 2:44 PM
#6
destroyer avatar

destroyer

New Zenner

Join Date:
Nov 2010
Posts:
83
Plugin Contributions:
0

Re: Admin page weird

If I write the complete address (which includes the "/zencart/name/" then I get the following...

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

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

6 Nov 2010, 3:37 PM
#7
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Admin page weird

Just so I understand:

Your Zencart installation is http: //www.yoursite.com/zencart

You changed your admin folder name to, say, newadmin.

You edited admin/includes/configure.php to change the 'admin' to 'newadmin' in three places and uploaded it back to the server. Be sure you're editing the right configure.php file. There are two, one in admin/includes, and one in /includes.

You directed your browser to http: //www.yoursite.com/zencart/newadmin

and you get a 404 Page Not Found ?

Try http: //www.yoursite.com/zencart/newadmin/index.php.

If that doesn't work, your files must not be in that folder.

6 Nov 2010, 4:36 PM
#8
destroyer avatar

destroyer

New Zenner

Join Date:
Nov 2010
Posts:
83
Plugin Contributions:
0

Re: Admin page weird

same error comes up - but that does seem to be the folder!

I remaned it back to admin for now so the full address is
http://www.valproshop.com/zencart/admin/index.php

6 Nov 2010, 5:09 PM
#9
destroyer avatar

destroyer

New Zenner

Join Date:
Nov 2010
Posts:
83
Plugin Contributions:
0

Re: Admin page weird

it's that admin/includes configure file that I edited.

I'm thinking tah perhaps I should just rip it all out and start again - but I can't see anythign that I'd do differently - I just followed the instructions and don't think I did anything different.

6 Nov 2010, 5:39 PM
#10
destroyer avatar

destroyer

New Zenner

Join Date:
Nov 2010
Posts:
83
Plugin Contributions:
0

Re: Admin page weird

I'm goin to give myself a time limit for this - if I still can't get anywhere by next monday morning than I'll give up. I've already spent a week just getting the servers organised to get this far - VERY frustrating.

6 Nov 2010, 6:17 PM
#11
destroyer avatar

destroyer

New Zenner

Join Date:
Nov 2010
Posts:
83
Plugin Contributions:
0

Re: Admin page weird

Well I eventually found out what the problem was - I had to reset the permissions on the files after modifying them - so that they couldnt be written to - before the browser would access them.

I don't think that it mentions this anywhere in the set up instructions. It tell you how to alter permissions for installing and then leaves the issue there - leading to you getting stumped when you try to get into admin.

5 Dec 2010, 3:09 AM
#12
ekunga avatar

ekunga

New Zenner

Join Date:
Dec 2010
Posts:
1
Plugin Contributions:
0

Re: Admin page weird

I am having the same issue. I have followed the instructions word for word but have had not luck.

I have edited the admin/include/configure.php file in the three locations stated.

Renamed the admin directory.

But get a web page does not exists error.

I have deleted the file and re-uploaded a new configure.php file, I have attempted to reinstall from scratch.

I have changed the attributes to read/read only and still not luck.

Can someone explain what I could be doing wrong? Am I missing something that isn't written in the instructions?

5 Dec 2010, 5:45 AM
#13
drbyte avatar

drbyte

Sensei

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

Re: Admin page weird

What exactly is your "same" issue?

A "web page does not exists" error suggests that you're typing a bad URL into your browser ... and nothing to do with a configure.php file setting. But, since your exact issue isn't exactly clear, it seems we need more information about what exactly you're doing and what you're expecting to see happen when you do so, and why, vs what is happening contrary to your expectations.

.
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.