Forums / General Questions / Help Help Help! I cannot login to Admin

Help Help Help! I cannot login to Admin

Started by cjayosburn on 3 Aug 2008, 7:22 PM · Views: 5,006

Results 1 to 18 of 18
3 Aug 2008, 7:22 PM
#1
cjayosburn avatar

cjayosburn

New Zenner

Join Date:
Jul 2008
Location:
Emporia, Virginia
Posts:
7
Plugin Contributions:
0

Help Help Help! I cannot login to Admin

I ran into this trouble after installing superorders, and posted it there. I have since began to suspect that the issue is not related to that mod. I have restored everything from a backup, but still get this message when I go to the admin oage


Warning: main(DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php): failed to open stream: No such file or directory in /home/content/c/j/a/cjayosburn1/html/Retail/admin/includes/languages/english.php on line 50

Warning: main(DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php): failed to open stream: No such file or directory in /home/content/c/j/a/cjayosburn1/html/Retail/admin/includes/languages/english.php on line 50

Fatal error: main(): Failed opening required 'DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php' (include_path='.:/usr/local/lib/php') in /home/content/c/j/a/cjayosburn1/html/Retail/admin/includes/languages/english.php on line 50

My login page is here:
http://nwspiceco.com/Retail/admin/login.php

and my store is at http://nwspiceco.com/Retail/index.php?main_page=
The storefront is still apparently operational, and I still get e-mail generated by the system. I have read everything that I can find, and now all of you kind people are my last hope. I would hate to start over.

Thank you all.

**** EDITED *** Never ever post in a forum, email, newsletter etc. the zenid or zenAdminID or you will be doomed!!** :eek:

4 Aug 2008, 2:24 AM
#2
fourbit avatar

fourbit

Zen Follower

Join Date:
Sep 2004
Location:
MONTANA!!!
Posts:
97
Plugin Contributions:
0

Re: Help Help Help! I cannot login to Admin

I would say that line 50 is missing a character or two. Retail/admin/includes/languages/english.php

THis should be what is there.
require(DIR_FS_CATALOG_LANGUAGES . $_SESSION['language'] . '/' . $template_dir_select . 'meta_tags.php');

Note the .'/' . part.

Beeee the space between the drops!
[email protected]
Hosting Duo - We're in this together!

4 Aug 2008, 4:04 PM
#4
fourbit avatar

fourbit

Zen Follower

Join Date:
Sep 2004
Location:
MONTANA!!!
Posts:
97
Plugin Contributions:
0

Re: Help Help Help! I cannot login to Admin

OK. Is DIR_FS_CATALOG_LANGUAGES defined in your config file? Should be something like this.
define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

Also, check to see if DIR_FS_CATALOG is defined correctly.

Beeee the space between the drops!
[email protected]
Hosting Duo - We're in this together!

4 Aug 2008, 4:05 PM
#5
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: Help Help Help! I cannot login to Admin

Look at the files named in your error message - make sure there are no blank lines or spaces after the closing tags.

Tina

11 Aug 2008, 11:40 PM
#6
cjayosburn avatar

cjayosburn

New Zenner

Join Date:
Jul 2008
Location:
Emporia, Virginia
Posts:
7
Plugin Contributions:
0

Re: Help Help Help! I cannot login to Admin

Thank You Both-

Sorry to not get back to this, but have had several other projects working. I did as you suggested, fourbit, and did finally get a login box on the admon page, but with the following errors...

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/content/c/j/a/cjayosburn1/html/Retail/admin/includes/configure.php:137) in /home/content/c/j/a/cjayosburn1/html/Retail/includes/functions/sessions.php on line 108

Warning: Cannot modify header information - headers already sent by (output started at /home/content/c/j/a/cjayosburn1/html/Retail/admin/includes/configure.php:137) in /home/content/c/j/a/cjayosburn1/html/Retail/admin/includes/init_includes/init_templates.php on line 36

My eyes have crossed from reading all that code, but will be back tomorrow.

Thanks Again

9 Sep 2008, 3:56 PM
#7
cjayosburn avatar

cjayosburn

New Zenner

Join Date:
Jul 2008
Location:
Emporia, Virginia
Posts:
7
Plugin Contributions:
0

Re: Help Help Help! I cannot login to Admin

All is fixed now, thanks to fourbit! :clap:

Thank you both for all of your help. My store is up and running again.

Jay

10 Mar 2010, 9:09 PM
#8
netnuts avatar

netnuts

New Zenner

Join Date:
Mar 2010
Posts:
4
Plugin Contributions:
0

Re: Help Help Help! I cannot login to Admin

I have the same problem too.. I know this is an old post but I really need help. This is a fresh installation so I dont mind reinstalling... I have installed the app like 4 times already trying to get rid of the error.. deleted the original DB and folder and recopied the original package. Funny thing is the first time I installed it, it worked... and I do not know why its not working anymore.

This is my error. Can anyone help please?

Warning: require(DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php) [function.require]: failed to open stream: No such file or directory in /hermes/bosweb/web027/b278/ipg.belovedstarsconnect/earthensprings/admin/includes/languages/english.php on line 50

Fatal error: require() [function.require]: Failed opening required 'DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php' (include_path='.:/usr/local/lib/php-5.2.12/lib/php') in /hermes/bosweb/web027/b278/ipg.belovedstarsconnect/earthensprings/admin/includes/languages/english.php on line 50

12 Mar 2010, 12:13 AM
#9
fourbit avatar

fourbit

Zen Follower

Join Date:
Sep 2004
Location:
MONTANA!!!
Posts:
97
Plugin Contributions:
0

Re: Help Help Help! I cannot login to Admin

netnuts:

Warning: require(DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php) [function.require]: failed to open stream: No such file or directory in /hermes/bosweb/web027/b278/ipg.belovedstarsconnect/earthensprings/admin/includes/languages/english.php on line 50

Howdy,

Yep. this is an old one. Anyhow, the "DIR_FS_CATALOG_LANGUAGES" part shouldn't be showing. It is indicating that that variable is not defined at all. Check your admin config and compare it with the dis-configure.php in the admin/includes folder. Make sure you are looking at the admin folder.

Also, don't forget to rename that folder to something totally unguessable for security purposes.

Paul

Beeee the space between the drops!
[email protected]
Hosting Duo - We're in this together!

12 Mar 2010, 2:17 AM
#10
netnuts avatar

netnuts

New Zenner

Join Date:
Mar 2010
Posts:
4
Plugin Contributions:
0

Re: Help Help Help! I cannot login to Admin

Thanks for responding Paul... Apparently it either had to do with how my computer unzipped the package... I think something went wrong... because i reinstalled with a download I had from the day before and it works perfectly... I was relieved as I wasn't in the mood to dig into the code... Thanks for all your help tho... 'ppreciate it.

12 Mar 2010, 10:34 AM
#11
maximon_solutions avatar

maximon_solutions

New Zenner

Join Date:
Jun 2009
Posts:
5
Plugin Contributions:
0

Re: Help Help Help! I cannot login to Admin

I've got a similar problem as well. I reinstalled my shop from a backup and now I get this error when I try to go to the admin page:

Fatal error: Cannot redeclare zen_href_link() (previously declared in /home/myUsername/public_html/shop/admin/includes/functions/html_output.php:28) in /home/myusername/public_html/shop/admin/includes/functions/extra_functions/html_output.php on line 31

line 31 in functions/html_output is

if ($connection == 'NONSSL') {

Any ideas on what I should do?

18 Mar 2011, 2:15 AM
#12
eevert avatar

eevert

New Zenner

Join Date:
Mar 2011
Posts:
4
Plugin Contributions:
0

Re: Help Help Help! I cannot login to Admin

Hey!

I have very similar problem as the other people had in this thred.

When I try to load the admin login page I get this error

Warning: require(DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php) [function.require]: failed to open stream: No such file or directory in /home/deborah/public_html/hallintaDeborah1999/includes/languages/english.php on line 50

Warning: require(DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php) [function.require]: failed to open stream: No such file or directory in /home/deborah/public_html/hallintaDeborah1999/includes/languages/english.php on line 50

Fatal error: require() [function.require]: Failed opening required 'DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/deborah/public_html/hallintaDeborah1999/includes/languages/english.php on line 50

I have added to admin/includes/configure.php deffinition for LANGUAGES but the I still have the same problem. Can someone see whats wrong? (admin is actually hallintaDeborah1999)

here is part of the configure.php
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
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_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');
define('DIR_WS_PHPBB', '/');

18 Mar 2011, 1:14 PM
#13
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Help Help Help! I cannot login to Admin

That looks like the configure.php file for the Catalog rather than the Admin ...

Check that you have not mixed up the two files ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

20 Mar 2011, 8:50 AM
#14
eevert avatar

eevert

New Zenner

Join Date:
Mar 2011
Posts:
4
Plugin Contributions:
0

Re: Help Help Help! I cannot login to Admin

Hey!

Thank you for spotting that mistake I had mixed up those two configuration files. I corrected that but now I get only this when I'm trying to login:

/home/deborah/public_html/includes/languages/english//meta_tags.php

20 Mar 2011, 1:17 PM
#15
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Help Help Help! I cannot login to Admin

Looks like you may still have errors in the:
/your_secret_admin_dir/includes/configure.php

You are showing double // in that ...

If you can post, from the server, without your secret admin directory and database password the file:
/your_secret_admin_dir/includes/configure.php

we could look at it and see if we spot anything ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

20 Mar 2011, 2:51 PM
#16
eevert avatar

eevert

New Zenner

Join Date:
Mar 2011
Posts:
4
Plugin Contributions:
0

Re: Help Help Help! I cannot login to Admin

Hey!

I reinstalled and I got rid of the problem, but I couldn't copy all files back (I didn't try to overwrite two configure files). Otherwise the problem came back. When tried to ovewrite admin/includes/languages folder the problem came back. So maybe the problem is there. Here is stilll my admin/includes configure file

<?php /** * @package Configuration Settings circa 1.3.9 * @copyright Copyright 2003-2009 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * File Built by zc_install on 2011-03-20 04:24:16 */ /*************** 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://www.hidden.com'); define('HTTPS_SERVER', 'http://www.hidden.com'); define('HTTP_CATALOG_SERVER', 'http://www.hidden.com'); define('HTTPS_CATALOG_SERVER', 'https://www.hidden.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', '/hidden/'); define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_ADMIN', '/hidden/'); 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/deborah/public_html/hidden/'); define('DIR_FS_CATALOG', '/home/deborah/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', 'zen_'); define('DB_SERVER', 'localhost'); define('DB_SERVER_USERNAME', 'hidden'); define('DB_SERVER_PASSWORD', 'hidden'); define('DB_DATABASE', 'hidden'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'db'); // for STORE_SESSIONS, 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', 'none'); define('DIR_FS_SQL_CACHE', '/home/deborah/public_html/cache'); // EOF
20 Mar 2011, 2:53 PM
#17
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Help Help Help! I cannot login to Admin

What new debug logs are created in the:
/cache

directory now?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

21 Mar 2011, 3:52 PM
#18
eevert avatar

eevert

New Zenner

Join Date:
Mar 2011
Posts:
4
Plugin Contributions:
0

Re: Help Help Help! I cannot login to Admin

There doesn't come anything new when I copy old admin/includes/language folder over new ones. Admin login just gaves the same /home/deborah/public_html/includes/languages/english//meta_tags.php

I quess I can go around this by reinstalling languages.

This is error I found from the log. But I think it is because I reinstalled without owerwriting the language folder.

[20-Mar-2011 05:05:35] PHP Warning: include_once(includes/languages/french.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory in /home/hidden/public_html/includes/init_includes/init_templates.php on line 72
[20-Mar-2011 05:05:35] PHP Warning: include_once() [<a href='function.include'>function.include</a>]: Failed opening 'includes/languages/french.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hidden/public_html/includes/init_includes/init_templates.php on line 72
[20-Mar-2011 05:05:35] PHP Warning: require(includes/languages/french/html_includes/define_main_page.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/hidden/public_html/includes/templates/theme197/templates/tpl_index_default.php on line 45
[20-Mar-2011 05:05:35] PHP Warning: require(includes/languages/french/html_includes/define_main_page.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/hidden/public_html/includes/templates/theme197/templates/tpl_index_default.php on line 45
[20-Mar-2011 05:05:35] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'includes/languages/french/html_includes/define_main_page.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hidden/public_html/includes/templates/theme197/templates/tpl_index_default.php on line 45