Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Installing Zen Cart / Installing on a Linux/Unix Server / Can't get rid of alert page on new install

Can't get rid of alert page on new install

Started by ssailer on 18 Nov 2011, 11:04 PM · Views: 2,264

Results 1 to 13 of 13
18 Nov 2011, 11:04 PM
#1
ssailer avatar

ssailer

New Zenner

Join Date:
Aug 2011
Posts:
11
Plugin Contributions:
0

Post #1 by ssailer

This is the first time I'm using Zen Cart and I went through the installation without a problem, I can view the site, but when I type in the admin address, it directs me to an alert page with broken images on it and it looks like the home page of my main web site. I did not create this page. It's redirecting to a sub-folder in my store directory called admin, and this directory doesn't even exist! I renamed the admin directory like I was instructed to. There was a previous and incomplete installation of Zen Cart on the web site, but I delted all of the database files and deleted all of the files on the server before starting over again. Any help would be greatly appreciated :)

18 Nov 2011, 11:09 PM
#2
joejoejoe avatar

joejoejoe

Zen Follower

Join Date:
Oct 2011
Location:
AZ
Posts:
383
Plugin Contributions:
0

Post #2 by joejoejoe

You renamed the admin folder. Did you then download the two config files, and rewrite all the lines that needed rewriting, and then upload them?
If you did - when you tried to go back to the admin login page for the first time, did you check to see that the bookmark wasn't directing you to the old /admin/ folder? The first time you may need to go up to the URL bar and replace /admin/ with
/newnameofadminfolder/

19 Nov 2011, 3:33 AM
#3
ssailer avatar

ssailer

New Zenner

Join Date:
Aug 2011
Posts:
11
Plugin Contributions:
0

Post #3 by ssailer

Hhhhhhmmmm... I downloaded both configuration files, but I do not see a reference to the admin directory. It would be the following two files: /includes/configure.php and /newadminfoldername/configuration.php, right?

19 Nov 2011, 3:40 AM
#4
ssailer avatar

ssailer

New Zenner

Join Date:
Aug 2011
Posts:
11
Plugin Contributions:
0

Post #4 by ssailer

I also found references in /newfoldername/includes/configure.php and renamed them as well.

19 Nov 2011, 4:59 PM
#6
ssailer avatar

ssailer

New Zenner

Join Date:
Aug 2011
Posts:
11
Plugin Contributions:
0

Post #6 by ssailer

What I probably didn't do is make the file read-only again. However, once I make the file read-only again in Dreamweaver and upload it to the server, it's no longer marked as read-only on the server, so it's not loading the admin area still.

19 Nov 2011, 6:33 PM
#7
joejoejoe avatar

joejoejoe

Zen Follower

Join Date:
Oct 2011
Location:
AZ
Posts:
383
Plugin Contributions:
0

Post #7 by joejoejoe

It looks like you're confused a bit about file permissions.
Once you've got the new configure file (and saved a copy of the original somewhere) on your computer, ftp in to your store. Then change the permissions of the one already on your store Depending on your ftp program it might be a button that says permissions, or you can right click on the file and select permissions. Change the permissions to 777. Then upload the "new" file on top of it. It should ask you if you want to overwrite it - say Yes. Then once it's been overwritten, right click on it again and reset the permissions to whatever they were originally.

It doesn't matter what the permissions of the new file on your home computer are, if you don't change the permissions of the old one at your store site, you will never be able to overwrite it.

19 Nov 2011, 7:07 PM
#8
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #8 by schoolboy

Don't use DreamWeaver when editing files. (Ony a real GURU in DW and zencart should be using DW...)

You edit files using a PLAIN TEXT EDITOR, such as Crimson Editor.

The configure.php files are the only files you touch.

includes/configure.php
admin/includes/configure.php (where "admin" = whatever name you have called the folder).

Put DW back in its box and resist the temptation to use it to tinker with ZC.

The file permissions should be set in your webhost CPANEL File Manager console, and (before editing) should be at least 644, and after editing, changed to 444.

If you are on a windoze server, you have my most sincere sympathies - change to Linux.

20 years a Zencart User

19 Nov 2011, 11:27 PM
#9
ssailer avatar

ssailer

New Zenner

Join Date:
Aug 2011
Posts:
11
Plugin Contributions:
0

Post #9 by ssailer

Wow - how frustrating! The permissions on the file are 0444 and still it won't show up on the web site. The file I'm referring to is /mynewdirectoryname/includes/configure.php. Also, /includes/configure.php. Is there another one that I'm missing as well?

19 Nov 2011, 11:30 PM
#10
joejoejoe avatar

joejoejoe

Zen Follower

Join Date:
Oct 2011
Location:
AZ
Posts:
383
Plugin Contributions:
0

Post #10 by joejoejoe

What do you mean by "It won't show up on the website"?
What happens when you go to the URL bar in your browser and type in:
http://www.nameofyourdomain.com/nameofnewadminfolder/login.php

well I type a fake URL and it gets hidden. I'm trying to say this (without the spaces)

http: // https://www.nameofyourdomain.com / nameofyournewadminfolder / login.php

19 Nov 2011, 11:32 PM
#11
ssailer avatar

ssailer

New Zenner

Join Date:
Aug 2011
Posts:
11
Plugin Contributions:
0

Post #11 by ssailer

I'm taking to this page: http://www.heroofficesystems.com/store/admin/alert_page.php and this directory /admin/ doesn't even exist on the server! I see what appears to be a poorly formed version of the site's home page, with no CSS or graphics included. Definitely not the admin area I'm looking for.

19 Nov 2011, 11:35 PM
#12
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Post #12 by barco57

Use the file manager in the hosting control panel to set the permissions on the configure.php files to 0777 first, then edit, then set the permissions back to 0444

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

19 Nov 2011, 11:40 PM
#13
ssailer avatar

ssailer

New Zenner

Join Date:
Aug 2011
Posts:
11
Plugin Contributions:
0

Post #13 by ssailer

FINALLY! OMG ... talk about hand-holding an application! Thank you for your help.

:clap:

What a monumental pain in the ######!!!