Zen Cart Logo
Forums / General Questions / Still can't enter admin area

Still can't enter admin area

Locked

Views: 2,425

Results 1 to 20 of 20
This thread is locked. New replies are disabled.
25 Sep 2006, 6:39 PM
#1
cruiser avatar

cruiser

New Zenner

Join Date:
Aug 2006
Posts:
34
Plugin Contributions:
0

Still can't enter admin area

Here is the link:
http://shop.cruiserparts.net/admin/

Comes up with:
Warning: require(DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php) [function.require]: failed to open stream: No such file or directory in /home/toyota/www/cruiserparts/shop/admin/includes/languages/english.php on line 63

Fatal error: require() [function.require]: Failed opening required 'DIR_FS_CATALOG_LANGUAGESenglish/meta_tags.php' (include_path='.:/usr/share/pear') in /home/toyota/www/cruiserparts/shop/admin/includes/languages/english.php on line 63

25 Sep 2006, 6:53 PM
#2
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: Still can't enter admin area

Seems like the file meta_tags.php is not copied to includes\languages\english
Please copy it again and let us know how it works

OR
The file dist-configure.php placed at
admin\includes\

has this line wrong:

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages');

Please correct it so that it has '/' in the end

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

25 Sep 2006, 7:05 PM
#3
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: Still can't enter admin area

sorry I meant
the file admin\includes\configure.php

25 Sep 2006, 7:51 PM
#4
cruiser avatar

cruiser

New Zenner

Join Date:
Aug 2006
Posts:
34
Plugin Contributions:
0

Re: Still can't enter admin area

Thanks for the help.
Now it says:
Warning: require(/includes/autoload_func.php) [function.require]: failed to open stream: No such file or directory in /home/toyota/www/cruiserparts/shop/admin/includes/application_top.php on line 145

Fatal error: require() [function.require]: Failed opening required '/includes/autoload_func.php' (include_path='.:/usr/share/pear') in /home/toyota/www/cruiserparts/shop/admin/includes/application_top.php on line 145

25 Sep 2006, 8:05 PM
#5
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: Still can't enter admin area

Check out the path for DIR_FS_CATALOG in admin\includes\configure.php

Thanks
San

25 Sep 2006, 8:07 PM
#6
cruiser avatar

cruiser

New Zenner

Join Date:
Aug 2006
Posts:
34
Plugin Contributions:
0

Re: Still can't enter admin area

What should it say? It only has a /

25 Sep 2006, 8:14 PM
#7
cruiser avatar

cruiser

New Zenner

Join Date:
Aug 2006
Posts:
34
Plugin Contributions:
0

Re: Still can't enter admin area

Here is my configure file:

<?php // // +----------------------------------------------------------------------+ // |zen-cart Open Source E-commerce | // +----------------------------------------------------------------------+ // | Copyright (c) 2003 The zen-cart developers | // | | // | <http://www.zen-cart.com/index.php> | // | | // | Portions Copyright (c) 2003 osCommerce | // +----------------------------------------------------------------------+ // | This source file is subject to version 2.0 of the GPL license, | // | that is bundled with this package in the file LICENSE, and is | // | available through the world-wide-web at the following url: | // | <http://www.zen-cart.com/license/2_0.txt>. | // | If you did not receive a copy of the Zen Cart license and are unable | // | to obtain it through the world-wide-web, please send a note to | // | [[email protected]](mailto:[email protected]) so we can mail you a copy immediately. | // +----------------------------------------------------------------------+ // $Id: dist-configure.php 3071 2006-02-27 23:09:54Z drbyte $ // // 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> // HTTP_CATALOG_SERVER is your Main webserver: eg, <http://www.yourdomain.com> // HTTPS_CATALOG_SERVER is your Secure webserver: eg, <https://www.yourdomain.com> /* * URL's 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 */ define('HTTP_SERVER', 'http://shop.cruiserparts.net'); define('HTTPS_SERVER', 'https://shop.cruiserparts.net'); define('HTTP_CATALOG_SERVER', 'http://localhost'); define('HTTPS_CATALOG_SERVER', 'https://localhost'); // secure webserver for catalog module and/or admin areas? define('ENABLE_SSL_CATALOG', 'true'); 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', '/admin/'); define('DIR_FS_CATALOG', '/'); 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', ''); define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty define('DB_SERVER_USERNAME', '-------'); define('DB_SERVER_PASSWORD', '-------------'); define('DB_DATABASE', 'toyotadb'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', 'db'); // leave empty '' for default handler or set to 'db' or optionally 'mysql' in some cases // 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', 'file'); define('DIR_FS_SQL_CACHE', '/home/toyota/www/cruiserparts/shop/cache'); ?>
25 Sep 2006, 8:21 PM
#8
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: Still can't enter admin area

cruiser:

What should it say? It only has a /
It should have the path for your shop
something like

define('DIR_FS_CATALOG', 'C:/Program Files/Apache Group/Apache2/htdocs/zencart/');

Seems like the path to your shop is not the same as path defined in the configure.php

Can you pos the complete configure.php file here?
admin\includes\configure.php

And also tell me where do you have your cart?

25 Sep 2006, 8:23 PM
#9
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: Still can't enter admin area

Do you have this file?
/includes/autoload_func.php

25 Sep 2006, 8:26 PM
#10
cruiser avatar

cruiser

New Zenner

Join Date:
Aug 2006
Posts:
34
Plugin Contributions:
0

Re: Still can't enter admin area

Yes, that file is in there.

25 Sep 2006, 8:35 PM
#11
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: Still can't enter admin area

Try this
define('DIR_FS_CATALOG', '');

25 Sep 2006, 8:50 PM
#12
cruiser avatar

cruiser

New Zenner

Join Date:
Aug 2006
Posts:
34
Plugin Contributions:
0

Re: Still can't enter admin area

didn't seem to help. What about line 145 on application_top.php?

require(DIR_FS_CATALOG . 'includes/autoload_func.php');

That is what mine says.

25 Sep 2006, 8:53 PM
#13
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: Still can't enter admin area

Can you post the complete path to the file autoload_func.php on your server?

25 Sep 2006, 8:57 PM
#14
cruiser avatar

cruiser

New Zenner

Join Date:
Aug 2006
Posts:
34
Plugin Contributions:
0

Re: Still can't enter admin area

/home/toyota/www/cruiserparts/shop/includes/autoload_func.php

25 Sep 2006, 9:01 PM
#15
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: Still can't enter admin area

define('DIR_FS_CATALOG', '/home/toyota/www/cruiserparts/shop/');

25 Sep 2006, 9:09 PM
#16
cruiser avatar

cruiser

New Zenner

Join Date:
Aug 2006
Posts:
34
Plugin Contributions:
0

Re: Still can't enter admin area

The catalog is working well.

But the admin area I cannot get to the log in screen.

25 Sep 2006, 9:10 PM
#17
cruiser avatar

cruiser

New Zenner

Join Date:
Aug 2006
Posts:
34
Plugin Contributions:
0

Re: Still can't enter admin area

Cool It Works!!

25 Sep 2006, 9:12 PM
#18
ajeh avatar

ajeh

Oba-san

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

Re: Still can't enter admin area

Might also wish to change:

define('DIR_FS_ADMIN', '/admin/');

define('DIR_FS_ADMIN', '/home/toyota/www/cruiserparts/shop/admin/');

25 Sep 2006, 9:13 PM
#19
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: Still can't enter admin area

Make sure that you have the correct paths in the
admin\includes\configure.php

25 Sep 2006, 9:13 PM
#20
cruiser avatar

cruiser

New Zenner

Join Date:
Aug 2006
Posts:
34
Plugin Contributions:
0

Re: Still can't enter admin area

Thank you very very much!!