Forums / Installing on a Windows Server / Installation problem - Can't get into the admin

Installation problem - Can't get into the admin

Locked

Started by deemurphy on 20 Nov 2009, 10:17 PM · Views: 6,538

Results 1 to 20 of 30
This thread is locked. New replies are disabled.
20 Nov 2009, 10:17 PM
#1
deemurphy avatar

deemurphy

Zen Follower

Join Date:
Jul 2007
Posts:
324
Plugin Contributions:
0

Installation problem - Can't get into the admin

I am running Windows 7 Ultimate and xampp. My installation completed but I can not get into the admin page. Can some one please help?

Thank you
Ladydee:huh:

21 Nov 2009, 11:28 AM
#2
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

Re: Installation problem - Can't get into the admin

What version of XAMPP are you using? If it's the one running PHP 5.3, then you'll need to apply a patch to Zen Cart 1.3.8a to make it work.

Goh Koon Hoek, author of "e-Start Your Web Store with Zen Cart".
Printed book: www.lulu.com/content/10576284
Electronic book and Errata: www.cucumbermedia.com/store

21 Nov 2009, 11:32 AM
#3
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

Re: Installation problem - Can't get into the admin

Goh Koon Hoek, author of "e-Start Your Web Store with Zen Cart".
Printed book: www.lulu.com/content/10576284
Electronic book and Errata: www.cucumbermedia.com/store

22 Nov 2009, 12:33 AM
#4
deemurphy avatar

deemurphy

Zen Follower

Join Date:
Jul 2007
Posts:
324
Plugin Contributions:
0

Re: Installation problem - Can't get into the admin

I tried everything including the package fix install and I am still getting the following:

Internet Explorer cannot display the webpage

I have used Zen Cart before and never had this problem.

Thank you
LadyDee

22 Nov 2009, 6:56 PM
#5
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

Re: Installation problem - Can't get into the admin

What version of XAMPP are you using?

Have you started your Apache and MySQL in the XAMPP Control Panel before attempting to connect to your local Zen Cart store?

Finally, have you checked that your Windows firewall (or some other firewall on your PC) could be blocking the access to your XAMPP? You can do this by checking which ports are holding on to port 80 on your PC by going to your Start menu > apachefriends > xampp > port checking.

Goh Koon Hoek, author of "e-Start Your Web Store with Zen Cart".
Printed book: www.lulu.com/content/10576284
Electronic book and Errata: www.cucumbermedia.com/store

28 Nov 2009, 4:16 AM
#6
deemurphy avatar

deemurphy

Zen Follower

Join Date:
Jul 2007
Posts:
324
Plugin Contributions:
0

Re: Installation problem - Can't get into the admin

I am using Xampp Version 1.7.0. My apache and Mysql are running and are set to start with the system boot up. Since I am also running IIS because I program in ASP.NET as well apache is running on port 90 and IIS on port 80. All my other applications are running.

Thank you
LadyDee

28 Nov 2009, 4:23 AM
#7
deemurphy avatar

deemurphy

Zen Follower

Join Date:
Jul 2007
Posts:
324
Plugin Contributions:
0

Re: Installation problem - Can't get into the admin

Do you feel I need to upgrade Xampp, if so can it be done without changing my current settings?

LadyDee

28 Nov 2009, 8:06 AM
#8
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

Re: Installation problem - Can't get into the admin

XAMPP 1.7.0 runs with the following software versions so the default Zen Cart 1.3.8a should work fine:

  • Apache 2.2.11
  • MySQL 5.1.30 (Community Server)
  • PHP 5.2.8

Have you tried appending a port number to your URL when running Zen Cart in your Apache since your Apache is configured to run on port 90? Here are 2 examples; adjust the "store"and "admin" folder according to your local setup.

Goh Koon Hoek, author of "e-Start Your Web Store with Zen Cart".
Printed book: www.lulu.com/content/10576284
Electronic book and Errata: www.cucumbermedia.com/store

28 Nov 2009, 12:46 PM
#9
deemurphy avatar

deemurphy

Zen Follower

Join Date:
Jul 2007
Posts:
324
Plugin Contributions:
0

Re: Installation problem - Can't get into the admin

Since I am running Windows 7 Ultimate and not using Windows Security I did not feel I had to because everything else is working. I am using Trend Micro which is about to expire, so how do I open the port. I knew how to do so when I used Norton, but no longer use it and have not for years. As stated this is the first time I had problems getting into the admin. I created a site earlier this year using the same applications except I was not using Windows 7. Everthing worked fine and I could get into the admin, As of now I can few the store, but not get into the admin.

Thank you
LadyDee

29 Nov 2009, 6:08 AM
#10
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

Re: Installation problem - Can't get into the admin

You may want to try this approach to narrow down the problem.

  1. Turn off your XAMPP Apache and reset the port to 80 instead of 90.
  2. Turn off your IIS and verify that you can no longer connect to port 80 on your computer.
  3. Turn on your XAMPP Apache and access your Store and Admin (without the port number).
    If the Admin shows up fine, then there's a system configuration problem. Possible reasons could be the firewall or some other conflict.

If the Admin fails to show up, then there's a problem with your Zen Cart installation and you might want to re-do your installation again.

I do not have Trend Micro or Windows 7 so if you have problems with either when running XAMPP, it might be better post at the XAMPP forums instead.

Goh Koon Hoek, author of "e-Start Your Web Store with Zen Cart".
Printed book: www.lulu.com/content/10576284
Electronic book and Errata: www.cucumbermedia.com/store

29 Nov 2009, 5:10 PM
#11
deemurphy avatar

deemurphy

Zen Follower

Join Date:
Jul 2007
Posts:
324
Plugin Contributions:
0

Re: Installation problem - Can't get into the admin

I tried what was stated and now can not get xampp to run. I should not have done that because I program in .NET and php and I am about to take some more testing in .NET. I need to get XAMPP back up and running, so I will see if installing the lastest version will work. I need to get Zen Cart work for a site I am doing for a client. If I continue to have problems with the zen cart admin then I will still need assistance on this.

Thank you
LadyDee

29 Nov 2009, 7:38 PM
#12
deemurphy avatar

deemurphy

Zen Follower

Join Date:
Jul 2007
Posts:
324
Plugin Contributions:
0

Re: Installation problem - Can't get into the admin

I re-installed XAMMP the latest version, now I can not get into the store, just get a blank page and for the admin I am getting the following:

Deprecated: Function ereg() is deprecated in D:\Program Files\xampp\htdocs\Lighting\zen-cart\includes\classes\db\mysql\query_factory.php on line 177

and

Deprecated: Function ereg() is deprecated in D:\Program Files\xampp\htdocs\Lighting\zen-cart\includes\classes\db\mysql\query_factory.php on line 412

Thank you
LadyDee

29 Nov 2009, 8:04 PM
#13
deemurphy avatar

deemurphy

Zen Follower

Join Date:
Jul 2007
Posts:
324
Plugin Contributions:
0

Re: Installation problem - Can't get into the admin

The error has something to do with the following:

if (!ereg('^[0-9]', $key)) {
$this->fields[$key] = $value;

My apache and mysql are both runing.

Thank you

30 Nov 2009, 4:35 AM
#14
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

Re: Installation problem - Can't get into the admin

The latest version of XAMPP runs PHP 5.3 which is incompatible with a default Zen Cart 1.3.8a installation.

To make your Zen Cart installation work with PHP 5.3, follow this thread.

Goh Koon Hoek, author of "e-Start Your Web Store with Zen Cart".
Printed book: www.lulu.com/content/10576284
Electronic book and Errata: www.cucumbermedia.com/store

30 Nov 2009, 4:40 AM
#15
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

Re: Installation problem - Can't get into the admin

Btw, when you indicated that you had problems running XAMPP after making the changes. It doesn't seem to be a problem with Zen Cart. More likely it indicates a configuration conflict on your system; probably with the IIS. You might thus want to start your troubleshooting by looking into that area instead.

Goh Koon Hoek, author of "e-Start Your Web Store with Zen Cart".
Printed book: www.lulu.com/content/10576284
Electronic book and Errata: www.cucumbermedia.com/store

30 Nov 2009, 5:09 AM
#16
deemurphy avatar

deemurphy

Zen Follower

Join Date:
Jul 2007
Posts:
324
Plugin Contributions:
0

Re: Installation problem - Can't get into the admin

I tried this and still can not get into the admin.

Thank you
LadyDee

30 Nov 2009, 5:11 AM
#17
drbyte avatar

drbyte

Sensei

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

Re: Installation problem - Can't get into the admin

deemurphy,
You'll need to apply the PHP 5.3 patch mentioned above.
If, after applying that patch, you still have errors, you'll need to include them in your next "I can't" reply.

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

30 Nov 2009, 5:13 AM
#18
deemurphy avatar

deemurphy

Zen Follower

Join Date:
Jul 2007
Posts:
324
Plugin Contributions:
0

Re: Installation problem - Can't get into the admin

I installed the patch, read the directions, deleted my old install even through no changes had been made and it still will not let in into the admin area. I can get into the store, but not the admin.

Thank you
LadyDee

30 Nov 2009, 6:17 AM
#19
drbyte avatar

drbyte

Sensei

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

Re: Installation problem - Can't get into the admin

I assume you're using IE8? What happens if you click the Compatibility Mode button in IE8? Just in case that's causing some not-yet-discovered issue?

Also, you're saying "can't get into the admin". Does that mean you can't access the login page? or you can't login after entering your username and password?
What happens if you point your browser to your /admin/login.php page directly?

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

30 Nov 2009, 6:30 AM
#20
deemurphy avatar

deemurphy

Zen Follower

Join Date:
Jul 2007
Posts:
324
Plugin Contributions:
0

Re: Installation problem - Can't get into the admin

I never can get to the login page. I know the username and password. Also how do I get into the compability for IE8 and that is what I am using.

Thank you
LadyDee