Zen Cart Logo
Forums / All Other Contributions/Addons / Admin Login disappeared after installing Ultimate SEO

Admin Login disappeared after installing Ultimate SEO

Locked

Views: 2,482

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
2 Sep 2008, 6:49 PM
#1
infebious avatar

infebious

New Zenner

Join Date:
Sep 2008
Posts:
7
Plugin Contributions:
0

Admin Login disappeared after installing Ultimate SEO

Someone please help me out here. I was trying to install the "ultimate seo" addon and after I was done I tried to goto the admin/admin.php page to set it up further, and I got an error message. It kept happening, it was late, I didn't write it down or take a screenshot but it was telling me something on line 230 of a file in the admin directory was to blame. I thought it would still be that way today when I had time to work on it, but now when I goto the mystore.com/admin/admin.php or admin/login.php it dumps me out into the generic customer login page! Site is deluxesurvivalkits.com I tried to go back a step and upload a backup of the site, but it still isn't working. What am I doing wrong and how do I fix this?? I have tried on two different computers, cleared cookies, cache, etc. Still doesn't work. I'm actively looking through the forums to see if I can find the answer but maybe someone knows?

2 Sep 2008, 9:07 PM
#2
stevesh avatar

stevesh

Black Belt

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

Re: Admin Login disappeared after installing Ultimate SEO

Any chance you mixed up (or overwrote) your includes/configure.php and admin/includes/configure.php ?

2 Sep 2008, 10:35 PM
#3
infebious avatar

infebious

New Zenner

Join Date:
Sep 2008
Posts:
7
Plugin Contributions:
0

Re: Admin Login disappeared after installing Ultimate SEO

Stevesh - thanks for helping. I checked both files and they exist, and appear to be the same and all setup.... So I don't think that is the problem... I have no idea what to do.

3 Sep 2008, 12:15 AM
#4
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Admin Login disappeared after installing Ultimate SEO

infebious:

Stevesh - thanks for helping. I checked both files and they exist, and appear to be the same and all setup.... So I don't think that is the problem... I have no idea what to do.
They cant be the same you know, those 2 files are similar but the content are a bit different.

3 Sep 2008, 2:10 AM
#5
infebious avatar

infebious

New Zenner

Join Date:
Sep 2008
Posts:
7
Plugin Contributions:
0

Re: Admin Login disappeared after installing Ultimate SEO

Yes I know, they aren't identical but they are both appearing to be configured as they would need to be with the store's url and directories.

3 Sep 2008, 11:10 AM
#6
stevesh avatar

stevesh

Black Belt

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

Re: Admin Login disappeared after installing Ultimate SEO

I can't see how you could get a ZenAdminID on a catalog page if those configure files were right. Can you post the contents (without db login and password)?

3 Sep 2008, 6:32 PM
#7
infebious avatar

infebious

New Zenner

Join Date:
Sep 2008
Posts:
7
Plugin Contributions:
0

Re: Admin Login disappeared after installing Ultimate SEO

here is admin/includes/configure.php ```
<code>

<?php /** * @package Configuration Settings circa 1.3.8 * @copyright Copyright 2003-2007 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license [url]http://www.zen-cart.com/license/2_0.txt[/url] GNU Public License V2.0 */ /*************** NOTE: This file is similar, but DIFFERENT from the "store" version of configure.php. ***********/ /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/ // Define the webserver and path parameters // Main webserver: eg-http://www.your_domain.com - // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.com /* * URLs for your site will be built via: * HTTP_SERVER plus DIR_WS_ADMIN or * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or * HTTP_SERVER plus DIR_WS_CATALOG or * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG * ...depending on your system configuration settings * * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following: */ define('HTTP_SERVER', 'http://deluxesurvivalkits.com'); define('HTTPS_SERVER', 'https://deluxesurvivalkits.com'); define('HTTP_CATALOG_SERVER', 'http://deluxesurvivalkits.com'); define('HTTPS_CATALOG_SERVER', 'https://deluxesurvivalkits.com'); // Use secure webserver for catalog module and/or admin areas? define('ENABLE_SSL_CATALOG', 'false'); define('ENABLE_SSL_ADMIN', 'false'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_ADMIN', '/admin/'); define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_ADMIN', '/admin/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/'); define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_ADMIN', '/home/pitbell8/public_html/admin/'); define('DIR_FS_CATALOG', '/home/pitbell8/public_html/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_CATALOG_TEMPLATES', DIR_FS_CATALOG . 'includes/templates/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', 'xxxxx'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'xxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxx'); define('DB_DATABASE', 'xxxxxx'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'database'); define('DIR_FS_SQL_CACHE', '/home/pitbell8/public_html/cache'); // EOF </code> ``` and here is **includes/configure.php** ``` <?php /** * @package Configuration Settings circa 1.3.8 * @copyright Copyright 2003-2007 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 */ /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/ /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/ // Define the webserver and path parameters // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com define('HTTP_SERVER', 'http://deluxesurvivalkits.com'); define('HTTPS_SERVER', 'https://deluxesurvivalkits.com'); // Use secure webserver for checkout procedure? define('ENABLE_SSL', 'false'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/'); define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/'); define('DIR_WS_PHPBB', '/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_CATALOG', '/home/pitbell8/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/'); define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/'); // define our database connection define('DB_TYPE', 'mysql'); define('DB_PREFIX', 'xxxx'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'xxxxx'); define('DB_SERVER_PASSWORD', 'xxxxx'); define('DB_DATABASE', 'xxxxxx'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'db'); // use 'db' for best support, or '' for file-based storage // The next 2 "defines" are for SQL cache support. // For SQL_CACHE_METHOD, you can select from: none, database, or file // If you choose "file", then you need to set the DIR_FS_SQL_CACHE to a directory where your apache // or webserver user has write privileges (chmod 666 or 777). We recommend using the "cache" folder inside the Zen Cart folder // ie: /path/to/your/webspace/public_html/zen/cache -- leave no trailing slash define('SQL_CACHE_METHOD', 'database'); define('DIR_FS_SQL_CACHE', '/home/pitbell8/public_html/cache'); // EOF ```
4 Sep 2008, 6:57 AM
#8
jvss avatar

jvss

New Zenner

Join Date:
Sep 2006
Posts:
12
Plugin Contributions:
0

Re: Admin Login disappeared after installing Ultimate SEO

I had this mod installed a long time ago and I recently turned it back on, and I could not gain access to my admin as well, so whatever the problem is... it is definitely not the configuration files on how everything is accessed, I even turned Ultimate SEO off and everything went back to normal...

I only could turn it off because I have not logged out of the admin to begin with....

4 Sep 2008, 5:18 PM
#9
infebious avatar

infebious

New Zenner

Join Date:
Sep 2008
Posts:
7
Plugin Contributions:
0

Re: Admin Login disappeared after installing Ultimate SEO

How can I save all my product descriptions and information and just wipe the zencart installation clean and reinstall it? Is that possible?

4 Sep 2008, 10:48 PM
#10
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Admin Login disappeared after installing Ultimate SEO

You dont have to, but this module is annoying because it's so smart :p

It automatically reinstall itself if it found the required fields in database are not there. So you have to remove all the files first, then remove the database entries after that.

11 Sep 2008, 7:40 PM
#11
infebious avatar

infebious

New Zenner

Join Date:
Sep 2008
Posts:
7
Plugin Contributions:
0

Re: Admin Login disappeared after installing Ultimate SEO

I reinstalled everything and cleared the seo database - I still can't log in to admin... any help? Why won't my admin login work and how do I fix it? sigh.

here is the error I got right after installing it when I would goto deluxesurvivalkits.com/admin/login.php it said:

PHP Fatal error: Call to undefined function zen_catalog_href_link() in /home/pitbell8/public_html/admin/includes/header.php on line 230

Now I have reinstalled everything and when you goto the login.php page it comes up now, but when you login as admin it shoots you out to the generic customer login..

11 Sep 2008, 8:28 PM
#12
infebious avatar

infebious

New Zenner

Join Date:
Sep 2008
Posts:
7
Plugin Contributions:
0

Re: Admin Login disappeared after installing Ultimate SEO

Nevermind, I fixed it after reinstalling again and reading a recently posted comment on another thread like this: i accidentally put the html_output.php file in the /admin/includes/functions/ file in addition to the /includes/function file. When I put the original zen cart html_output file in the /admin/inc/fun/ it works.. user error sorry.